飞书推送事件 优化
This commit is contained in:
@@ -147,7 +147,7 @@ public class EnterpriseUserDAO {
|
||||
return userList.stream().filter(o->!StringUtils.isAnyBlank(o.getMobile(), o.getName())).collect(Collectors.toMap(k -> k.getUserId(), Function.identity()));
|
||||
}
|
||||
|
||||
public String selectByMobile(String mobile) {
|
||||
public EnterpriseUserDO selectByMobile(String mobile) {
|
||||
return enterpriseUserMapper.selectByMobile(mobile);
|
||||
}
|
||||
|
||||
|
||||
@@ -101,7 +101,7 @@ public interface EnterpriseUserMapper {
|
||||
*/
|
||||
List<EnterpriseUserDO> getUserListByRegionIds(@Param("regionIds") List<String> regionIds);
|
||||
|
||||
String selectByMobile(@Param("mobile") String mobile);
|
||||
EnterpriseUserDO selectByMobile(@Param("mobile") String mobile);
|
||||
|
||||
EnterpriseUserDO selectByInvestmentManager(@Param("investmentManager") String investmentManager);
|
||||
|
||||
|
||||
@@ -332,8 +332,8 @@
|
||||
SUBSTR(jobnumber,1,1),
|
||||
CAST(SUBSTR(jobnumber,2) AS UNSIGNED) ASC
|
||||
</select>
|
||||
<select id="selectByMobile" resultType="java.lang.String">
|
||||
SELECT user_id FROM enterprise_user WHERE mobile =#{mobile} and deleted=0 LIMIT 1
|
||||
<select id="selectByMobile" resultMap="BaseResultMap">
|
||||
SELECT <include refid="Base_Column_List"/> FROM enterprise_user WHERE mobile =#{mobile} and deleted=0 LIMIT 1
|
||||
</select>
|
||||
<select id="selectByInvestmentManager" resultMap="BaseResultMap">
|
||||
SELECT
|
||||
|
||||
Reference in New Issue
Block a user