Ver Fonte

fix
床号排序

18339543638 há 7 meses atrás
pai
commit
674d4ce290

+ 0 - 4
nb-service/web-service/src/main/java/com/nb/web/service/bus/service/LocalBusPatientService.java

@@ -800,10 +800,6 @@ public class LocalBusPatientService extends BaseService<BusPatientMapper, BusPat
         ContactQuery contactQuery = new ContactQuery();
         contactQuery.setDoctorId(String.valueOf(SecurityUtil.getId()));
         String doctorId = contactQuery.getDoctorId();
-        AppDoctorUserEntity appDoctorUserEntity = iAppDoctorUserClient.selectDoctor(doctorId);
-        if(appDoctorUserEntity == null || ObjectUtil.isNull(appDoctorUserEntity.getIsEdit()) || appDoctorUserEntity.getIsEdit() != 1){
-            throw new CustomException("没有权限修改");
-        }
         BeanUtil.copyProperties(busClinic,clinic, CopyOptions.create().ignoreNullValue());
         return clinicService.updateById(clinic);
     }