diff --git a/src/main/java/com/biutag/supervision/service/SupPoliceService.java b/src/main/java/com/biutag/supervision/service/SupPoliceService.java index 78017fe..df2aca1 100644 --- a/src/main/java/com/biutag/supervision/service/SupPoliceService.java +++ b/src/main/java/com/biutag/supervision/service/SupPoliceService.java @@ -45,7 +45,7 @@ public class SupPoliceService extends ServiceImpl { .like(StrUtil.isNotBlank(param.getName()), "p.name", StrUtil.trim(param.getName())); queryWrapper.like(StrUtil.isNotBlank(param.getIdCode()), "p.id_code", StrUtil.trim(param.getIdCode())); queryWrapper.like(StrUtil.isNotBlank(param.getEmpNo()), "p.emp_no", StrUtil.trim(param.getEmpNo())); - queryWrapper.like(StrUtil.isNotBlank(param.getPhone()), "p.phone", StrUtil.trim(param.getPhone())); + queryWrapper.like(StrUtil.isNotBlank(param.getPhone()), "p.mobile", StrUtil.trim(param.getPhone())); if (StrUtil.isNotBlank(param.getDepartId())) { if (Objects.nonNull(param.getDepartBranch()) && param.getDepartBranch()) { List orgIds = departService.getAllNodeIds(param.getDepartId()); @@ -90,7 +90,7 @@ public class SupPoliceService extends ServiceImpl { .like(StrUtil.isNotBlank(param.getName()), "p.name", StrUtil.trim(param.getName())); queryWrapper.like(StrUtil.isNotBlank(param.getIdCode()), "p.id_code", StrUtil.trim(param.getIdCode())); queryWrapper.like(StrUtil.isNotBlank(param.getEmpNo()), "p.emp_no", StrUtil.trim(param.getEmpNo())); - queryWrapper.like(StrUtil.isNotBlank(param.getPhone()), "p.phone", StrUtil.trim(param.getPhone())); + queryWrapper.like(StrUtil.isNotBlank(param.getPhone()), "p.mobile", StrUtil.trim(param.getPhone())); if (StrUtil.isNotBlank(param.getDepartId())) { if (Objects.nonNull(param.getDepartBranch()) && param.getDepartBranch()) { List orgIds = departService.getAllNodeIds(param.getDepartId());