处理问题
This commit is contained in:
parent
ab63d88141
commit
19326780e3
@ -308,7 +308,7 @@ public class UserExpandServiceImpl extends DefaultBaseService implements IUserEx
|
|||||||
params.put("areaCodeLike", WStringUtil.cutContinuityRepeatCharDesc(areaCode, '0', 3));
|
params.put("areaCodeLike", WStringUtil.cutContinuityRepeatCharDesc(areaCode, '0', 3));
|
||||||
List<UserExpandDTO> userExpandDTOs = list(params);
|
List<UserExpandDTO> userExpandDTOs = list(params);
|
||||||
if (userExpandDTOs.isEmpty()) {
|
if (userExpandDTOs.isEmpty()) {
|
||||||
LOG.debug("area code: {}, user count: 0");
|
LOG.debug("area code: {}, user count: 0", areaCode);
|
||||||
return new ArrayList<>();
|
return new ArrayList<>();
|
||||||
}
|
}
|
||||||
List<String> userIds = ArrayListUtil.listBeanStringIdValue(userExpandDTOs, "userId", UserExpandDTO.class);
|
List<String> userIds = ArrayListUtil.listBeanStringIdValue(userExpandDTOs, "userId", UserExpandDTO.class);
|
||||||
@ -332,7 +332,7 @@ public class UserExpandServiceImpl extends DefaultBaseService implements IUserEx
|
|||||||
params.put("areaCodeLike", WStringUtil.cutContinuityRepeatCharDesc(areaCode, '0', 3));
|
params.put("areaCodeLike", WStringUtil.cutContinuityRepeatCharDesc(areaCode, '0', 3));
|
||||||
List<UserExpandDTO> userExpandDTOs = list(params);
|
List<UserExpandDTO> userExpandDTOs = list(params);
|
||||||
if (userExpandDTOs.isEmpty()) {
|
if (userExpandDTOs.isEmpty()) {
|
||||||
LOG.debug("area code: {}, user count: 0");
|
LOG.debug("area code: {}, user count: 0", areaCode);
|
||||||
return new ArrayList<>();
|
return new ArrayList<>();
|
||||||
}
|
}
|
||||||
List<String> userIds = ArrayListUtil.listBeanStringIdValue(userExpandDTOs, "userId", UserExpandDTO.class);
|
List<String> userIds = ArrayListUtil.listBeanStringIdValue(userExpandDTOs, "userId", UserExpandDTO.class);
|
||||||
|
Loading…
Reference in New Issue
Block a user