diff --git a/src/main/java/com/glxp/api/controller/basic/BasicBussinessTypeController.java b/src/main/java/com/glxp/api/controller/basic/BasicBussinessTypeController.java index 03fb3280..d6f3ed16 100644 --- a/src/main/java/com/glxp/api/controller/basic/BasicBussinessTypeController.java +++ b/src/main/java/com/glxp/api/controller/basic/BasicBussinessTypeController.java @@ -216,7 +216,7 @@ public class BasicBussinessTypeController extends BaseController { } else { result.addAll(bussinessTypeEntities); } - System.out.println("result:"+result.toArray()); + System.out.println("result:" + result.toArray()); PageInfo pageInfo; pageInfo = new PageInfo<>(result); @@ -229,6 +229,9 @@ public class BasicBussinessTypeController extends BaseController { List bussinessTypeEntities; //判断是否是医院用户 if (isHosUser()) { + if (bussinessTypeFilterRequest.getSpUse() == null) { + bussinessTypeFilterRequest.setSpUse(3); + } bussinessTypeFilterRequest.setUserId(getUserId()); bussinessTypeEntities = basicBussinessTypeService.filterJoinByUser( bussinessTypeFilterRequest); diff --git a/src/main/resources/mybatis/mapper/purchase/SupCertRemindMsgDao.xml b/src/main/resources/mybatis/mapper/purchase/SupCertRemindMsgDao.xml index 92772587..c0373191 100644 --- a/src/main/resources/mybatis/mapper/purchase/SupCertRemindMsgDao.xml +++ b/src/main/resources/mybatis/mapper/purchase/SupCertRemindMsgDao.xml @@ -67,7 +67,7 @@