|
@ -276,7 +276,7 @@ public class EpmetUserServiceImpl implements EpmetUserService { |
|
|
formDTO.setPatrolStartTime(DateUtils.getBeforeMonthDate(formDTO.getTime(), "yyyyMMdd")); |
|
|
formDTO.setPatrolStartTime(DateUtils.getBeforeMonthDate(formDTO.getTime(), "yyyyMMdd")); |
|
|
List<CustomerStaffDTO> staffList = new ArrayList<>(); |
|
|
List<CustomerStaffDTO> staffList = new ArrayList<>(); |
|
|
//2-1.按名字检索时先查询人员基础信息
|
|
|
//2-1.按名字检索时先查询人员基础信息
|
|
|
if (StringUtils.isEmpty(formDTO.getStaffName())) { |
|
|
if (!StringUtils.isEmpty(formDTO.getStaffName())) { |
|
|
staffList = customerStaffDao.selectByStaffIds(null, formDTO.getStaffName()); |
|
|
staffList = customerStaffDao.selectByStaffIds(null, formDTO.getStaffName()); |
|
|
if (!CollectionUtils.isEmpty(staffList)) { |
|
|
if (!CollectionUtils.isEmpty(staffList)) { |
|
|
formDTO.setStaffId(staffList.get(0).getUserId()); |
|
|
formDTO.setStaffId(staffList.get(0).getUserId()); |
|
|