|
|
@@ -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);
|
|
|
}
|