Просмотр исходного кода

update:增加最后处理人默认值

wangzl 6 месяцев назад
Родитель
Сommit
0e6e560a9e

+ 2 - 0
tr-modules/tr-module-smartFollowUp/src/main/java/cn/tr/module/smart/common/service/impl/BizClinicRoomServiceImpl.java

@@ -121,6 +121,8 @@ public class BizClinicRoomServiceImpl implements IBizClinicRoomService {
             clinicRoom.setPatientId(patient.getId());
             clinicRoom.setFollowUpCount(0);
             clinicRoom.setFollowUp(Boolean.FALSE);
+            clinicRoom.setLastModifyUserType(UserTypeEnums.PATIENT_WX_APPLET);
+            clinicRoom.setLastModifyUserBy(userId);
             this.baseRepository.insert(clinicRoom);
             //更新患者绑定的最新手术id
             patient.setCurrentClinicId(clinicRoom.getId());