修改查询条件

main
zhaokai 2026-02-05 17:09:41 +08:00
parent 9e20fc9943
commit 338321194c
1 changed files with 2 additions and 2 deletions

View File

@ -201,10 +201,10 @@ public class FireDeviceE extends BaseE {
UserE user = userEMapByPhone.get(entity.getUserPhone());
List<UserE> usersInDept = userEMap.get(department.getId());
if (user == null) {
errList.add("第" + (i + 2) + "行:未找到名称为“" + entity.getUserPhone() + "”的负责人手机号");
errList.add("第" + (i + 2) + "行:未找到手机号为“" + entity.getUserPhone() + "”的负责人手机号");
continue;
} else if (usersInDept == null || !usersInDept.contains(user)) {
errList.add("第" + (i + 2) + "行:部门“" + departmentName + "”下未找到负责人“" + departmentName + "”。");
errList.add("第" + (i + 2) + "行:部门“" + departmentName + "”下未找到负责人手机号“" + entity.getUserPhone() + "”。");
continue;
}
}