提交 b935e9ce 编写于 作者: wenhao.qin's avatar wenhao.qin

补充上次

上级 771b0d4e
流水线 #43045 已失败 于阶段
...@@ -150,14 +150,14 @@ public class HospitalSaasUserServiceImpl implements HospitalSaasUserService { ...@@ -150,14 +150,14 @@ public class HospitalSaasUserServiceImpl implements HospitalSaasUserService {
@Override @Override
public HospitalSaasUserResp listByPage(HospitalSaasUserListReq req) { public HospitalSaasUserResp listByPage(HospitalSaasUserListReq req) {
String mobileEncrypt = " ";
if (StringUtils.isNotBlank(req.getMobile())) {
mobileEncrypt = AESUtil.encryptV0(req.getMobile());
}
Map<String, Object> map = new HashMap<>(5); Map<String, Object> map = new HashMap<>(5);
map.put("hospitalId", req.getHospitalId()); map.put("hospitalId", req.getHospitalId());
map.put("name", req.getName()); map.put("name", req.getName());
map.put("mobile", mobileEncrypt); if (StringUtils.isBlank(req.getMobile()) && (Objects.nonNull(req.getMobile()) && req.getMobile().length() >= 1)) {
map.put("mobile", req.getMobile());
} else {
map.put("mobile", AESUtil.encryptV0(req.getMobile()));
}
Integer count = accountMapper.listCountByPage(map); Integer count = accountMapper.listCountByPage(map);
if (count < 1) { if (count < 1) {
return new HospitalSaasUserResp(Collections.emptyList(), 0); return new HospitalSaasUserResp(Collections.emptyList(), 0);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册