|
@@ -189,6 +189,9 @@ public class SysSetFacade extends SysSetServiceImpl {
|
|
if (data == null) {
|
|
if (data == null) {
|
|
throw new CommonException(CommonErrorCode.RPC_ERROR, "该用户不存在");
|
|
throw new CommonException(CommonErrorCode.RPC_ERROR, "该用户不存在");
|
|
}
|
|
}
|
|
|
|
+ if (!"LT".equals(data.getHospitalCode())){
|
|
|
|
+ throw new CommonException(CommonErrorCode.RPC_ERROR, "非法管理员用户");
|
|
|
|
+ }
|
|
QueryWrapper<SysSet> sysSetInfo = new QueryWrapper<>();
|
|
QueryWrapper<SysSet> sysSetInfo = new QueryWrapper<>();
|
|
sysSetInfo.eq("is_deleted", IsDeleteEnum.N.getKey());
|
|
sysSetInfo.eq("is_deleted", IsDeleteEnum.N.getKey());
|
|
sysSetInfo.eq("hospital_code", data.getHospitalCode());
|
|
sysSetInfo.eq("hospital_code", data.getHospitalCode());
|