|
@@ -90,44 +90,37 @@ public class AdminDoctorUserController extends JeecgController<AdminUser, IAdmin
|
|
adminCompSelectLambdaQueryWrapper.eq("sys_org_code", sysUser.getOrgCode());
|
|
adminCompSelectLambdaQueryWrapper.eq("sys_org_code", sysUser.getOrgCode());
|
|
}
|
|
}
|
|
adminCompSelectLambdaQueryWrapper.eq("doctor_and_specialist", "1");
|
|
adminCompSelectLambdaQueryWrapper.eq("doctor_and_specialist", "1");
|
|
-
|
|
|
|
|
|
+ if (ssname != null) {
|
|
|
|
+ adminCompSelectLambdaQueryWrapper.like("name", ssname);
|
|
|
|
+ }
|
|
|
|
+ if (ssphone != null) {
|
|
|
|
+ adminCompSelectLambdaQueryWrapper.like("phone", ssphone);
|
|
|
|
+ }
|
|
|
|
+ if (ssksname != null) {
|
|
|
|
+ adminCompSelectLambdaQueryWrapper.like("ks_name", ssksname);
|
|
|
|
+ }
|
|
|
|
+ if (ssdwname != null) {
|
|
|
|
+ adminCompSelectLambdaQueryWrapper.like("dw_name", ssdwname);
|
|
|
|
+ }
|
|
|
|
|
|
List<AdminCompSelect> list = adminCompSelectService.list(adminCompSelectLambdaQueryWrapper);
|
|
List<AdminCompSelect> list = adminCompSelectService.list(adminCompSelectLambdaQueryWrapper);
|
|
Page<AdminUser> pageList = new Page<>();
|
|
Page<AdminUser> pageList = new Page<>();
|
|
|
|
|
|
for (AdminCompSelect adminCompSelect : list) {
|
|
for (AdminCompSelect adminCompSelect : list) {
|
|
- String orderId = adminCompSelect.getOrderId();
|
|
|
|
|
|
|
|
- if (ssname != null) {
|
|
|
|
- queryWrapper.like("name", ssname);
|
|
|
|
- }
|
|
|
|
- if (ssphone != null) {
|
|
|
|
- queryWrapper.like("phone", ssphone);
|
|
|
|
- }
|
|
|
|
- if (ssksname != null) {
|
|
|
|
- queryWrapper.like("ksname", ssksname);
|
|
|
|
- }
|
|
|
|
- if (ssdwname != null) {
|
|
|
|
- queryWrapper.like("dwname", ssdwname);
|
|
|
|
- }
|
|
|
|
- queryWrapper.eq("id", orderId);
|
|
|
|
- Page<AdminUser> page = new Page<AdminUser>(pageNo, pageSize);
|
|
|
|
- pageList = adminUserService.page(page, queryWrapper);
|
|
|
|
-
|
|
|
|
- List<AdminUser> records = pageList.getRecords();
|
|
|
|
- for (AdminUser record : records) {
|
|
|
|
- record.setAvatar(adminCompSelect.getAvatar());
|
|
|
|
- record.setCardPic(adminCompSelect.getCardPic());
|
|
|
|
- record.setKsname(adminCompSelect.getKsName());
|
|
|
|
- record.setDwname(adminCompSelect.getDwName());
|
|
|
|
- record.setName(adminCompSelect.getName());
|
|
|
|
- record.setCard(adminCompSelect.getCard());
|
|
|
|
- record.setBackCard(adminCompSelect.getBackCard());
|
|
|
|
- record.setBackName(adminCompSelect.getBackName());
|
|
|
|
- record.setWisMhu(adminCompSelect.getWisMhu());
|
|
|
|
- record.setWisWjdc(adminCompSelect.getWisWjdc());
|
|
|
|
- adminUsers.add(record);
|
|
|
|
- }
|
|
|
|
|
|
+ AdminUser record = new AdminUser();
|
|
|
|
+ record.setAvatar(adminCompSelect.getAvatar());
|
|
|
|
+ record.setCardPic(adminCompSelect.getCardPic());
|
|
|
|
+ record.setPhone(adminCompSelect.getPhone());
|
|
|
|
+ record.setKsname(adminCompSelect.getKsName());
|
|
|
|
+ record.setDwname(adminCompSelect.getDwName());
|
|
|
|
+ record.setName(adminCompSelect.getName());
|
|
|
|
+ record.setCard(adminCompSelect.getCard());
|
|
|
|
+ record.setBackCard(adminCompSelect.getBackCard());
|
|
|
|
+ record.setBackName(adminCompSelect.getBackName());
|
|
|
|
+ record.setWisMhu(adminCompSelect.getWisMhu());
|
|
|
|
+ record.setWisWjdc(adminCompSelect.getWisWjdc());
|
|
|
|
+ adminUsers.add(record);
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|