feat:通知接口
This commit is contained in:
@@ -56,6 +56,13 @@ public class EnterpriseUserDAO {
|
||||
return enterpriseUserMapper.getUserInfoByUserIds(userIdList);
|
||||
}
|
||||
|
||||
public List<EnterpriseUserDO> getUserInfoByUserMobileList(List<String> mobileList) {
|
||||
if (CollectionUtils.isEmpty(mobileList)) {
|
||||
return Lists.newArrayList();
|
||||
}
|
||||
return enterpriseUserMapper.getUserInfoByUserMobileList(mobileList);
|
||||
}
|
||||
|
||||
public List<EnterpriseUserDO> searchUserByRegionIdsAndKeyword(List<String> regionIds, String keyword, List<String> leaderRegionIds) {
|
||||
if (CollectionUtils.isEmpty(regionIds)) {
|
||||
return Lists.newArrayList();
|
||||
|
||||
@@ -32,6 +32,8 @@ public interface EnterpriseUserMapper {
|
||||
*/
|
||||
List<EnterpriseUserDO> getUserInfoByUserIds( @Param("userIdList") List<String> userIdList);
|
||||
|
||||
List<EnterpriseUserDO> getUserInfoByUserMobileList( @Param("mobileList") List<String> mobileList);
|
||||
|
||||
/**
|
||||
* 根据关键字搜索部门下的用户
|
||||
* @param regionIds
|
||||
|
||||
@@ -82,6 +82,21 @@
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="getUserInfoByUserMobileList" resultMap="BaseResultMap">
|
||||
select
|
||||
<include refid="Base_Column_List"/>,
|
||||
<include refid="Blob_Column_List"/>
|
||||
from
|
||||
enterprise_user_${enterpriseId}
|
||||
<where>
|
||||
<if test="mobileList !=null and mobileList.size>0">
|
||||
<foreach collection="mobileList" item="mobile" open="and mobile in (" close=")" separator=",">
|
||||
#{mobile}
|
||||
</foreach>
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="searchUserByRegionIdsAndKeyword" resultMap="BaseResultMap">
|
||||
select
|
||||
|
||||
Reference in New Issue
Block a user