Browse Source

staff分页查询调整

master
zouhantao 1 month ago
parent
commit
39eec0e1b6

+ 2
- 2
zhywpt-app-userw/src/main/java/cn/com/taiji/userw/manager/system/StaffManagerImpl.java View File

@@ -84,11 +84,11 @@ public class StaffManagerImpl extends RedisCacheManager implements StaffManager
copyProperties(dto, queryRequest);
//渠道迷糊查出id
if (hasText(dto.getAgencyName())) {
List<String> agencyIds = agencyRepo.listByName(dto.getAgencyName());
List<String> agencyIds = agencyRepo.listByName(dto.toLikeStr(dto.getAgencyName()));
queryRequest.setAgencyIds(agencyIds);
}
if (hasText(dto.getServiceHallName())) {
List<String> serviceHallIds = qtkServiceHallRepo.listByName(dto.getServiceHallName());
List<String> serviceHallIds = qtkServiceHallRepo.listByName(dto.toLikeStr(dto.getServiceHallName()));
queryRequest.setServiceHallIds(serviceHallIds);
}
return staffRepo.page(queryRequest).convertResult(this::conver);

Loading…
Cancel
Save