Commit a8a74d6081d25e7e32b98252bad2eca23cfe3fd5
1 parent
0f0a9c5180
Exists in
master
and in
1 other branch
操作日志
Showing 4 changed files with 10 additions and 4 deletions
- platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java
- platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyBookbuildingFacade.java
- platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BookbuildingFacade.java
- platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/OperateLogFacade.java
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java
View file @
a8a74d6
| ... | ... | @@ -1727,6 +1727,9 @@ |
| 1727 | 1727 | |
| 1728 | 1728 | updateLastRisk(antenatalExaminationModel.getParentId()); |
| 1729 | 1729 | recordService.handExRecord(antenatalExaminationModel.getPid()); |
| 1730 | + | |
| 1731 | + operateLogFacade.addDeleteOptLog(userId, Integer.parseInt(localAntModel.getHospitalId()), localAntModel, OptActionEnums.DELETE.getId(), "删除复诊"); | |
| 1732 | + | |
| 1730 | 1733 | } else { |
| 1731 | 1734 | return new BaseResponse().setErrorcode(ErrorCodeConstants.BUSINESS_ERROR).setErrormsg("当前产检记录不是本院最新的产检记录,不能删除"); |
| 1732 | 1735 | } |
| ... | ... | @@ -1747,6 +1750,9 @@ |
| 1747 | 1750 | setLashCTimes(antExChuModel1.getParentId()); |
| 1748 | 1751 | updateLastRisk(antExChuModel1.getParentId()); |
| 1749 | 1752 | recordService.handExRecord(antExChuModel1.getPid()); |
| 1753 | + | |
| 1754 | + operateLogFacade.addDeleteOptLog(userId, Integer.parseInt(antExChuModel11.getHospitalId()), antExChuModel11, OptActionEnums.DELETE.getId(), "删除初诊"); | |
| 1755 | + | |
| 1750 | 1756 | } else { |
| 1751 | 1757 | return new BaseResponse().setErrorcode(ErrorCodeConstants.BUSINESS_ERROR).setErrormsg("当前产检记录不是本院最新的产检记录,不能删除"); |
| 1752 | 1758 | } |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyBookbuildingFacade.java
View file @
a8a74d6
| ... | ... | @@ -1180,7 +1180,7 @@ |
| 1180 | 1180 | personService.updatePerson(personModel, allModels.get(0).getPid()); |
| 1181 | 1181 | } |
| 1182 | 1182 | } |
| 1183 | - operateLogFacade.addDelteOptLog(userId, Integer.valueOf(models.get(0).getHospitalId()), models.get(0), OptActionEnums.DELETE.getId(), "删除儿童建档"); | |
| 1183 | + operateLogFacade.addDeleteOptLog(userId, Integer.valueOf(models.get(0).getHospitalId()), models.get(0), OptActionEnums.DELETE.getId(), "删除儿童建档"); | |
| 1184 | 1184 | } |
| 1185 | 1185 | |
| 1186 | 1186 | babyBookbuildingService.deleteBabyById(id); |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BookbuildingFacade.java
View file @
a8a74d6
| ... | ... | @@ -252,7 +252,7 @@ |
| 252 | 252 | patient.setOperator(userId); |
| 253 | 253 | Patients p = yunBookbuildingService.addPregnantBookbuilding(patient); |
| 254 | 254 | |
| 255 | - operateLogFacade.addAddOptLog(userId,Integer.valueOf(yunRequest.getHospitalId()),p,OptActionEnums.ADD.getId(),"孕妇建档"); | |
| 255 | + operateLogFacade.addAddOptLog(userId, Integer.valueOf(yunRequest.getHospitalId()), p, OptActionEnums.ADD.getId(), "孕妇建档"); | |
| 256 | 256 | |
| 257 | 257 | /** 孕妇建档后把所有以前未使用的优惠券作废 */ |
| 258 | 258 | couponService.invalid(p.getPid(), "1,2,3,4,5,6,7,8"); |
| ... | ... | @@ -1391,7 +1391,7 @@ |
| 1391 | 1391 | String hospital = autoMatchFacade.getHospitalId(userId); |
| 1392 | 1392 | Patients patients = yunBookbuildingService.findOneById(id); |
| 1393 | 1393 | |
| 1394 | - operateLogFacade.addDelteOptLog(userId, Integer.valueOf(patients.getHospitalId()), patients, OptActionEnums.DELETE.getId(), "删除孕妇建档"); | |
| 1394 | + operateLogFacade.addDeleteOptLog(userId, Integer.valueOf(patients.getHospitalId()), patients, OptActionEnums.DELETE.getId(), "删除孕妇建档"); | |
| 1395 | 1395 | |
| 1396 | 1396 | if (!deleteProcessHandler.deleteBookBuild(patients.getPid(), patients.getBookbuildingDate(), hospital)) { |
| 1397 | 1397 | return new BaseResponse().setErrorcode(ErrorCodeConstants.DONT_DELETE).setErrormsg("孕妇存在检查记录,不能删除建档"); |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/OperateLogFacade.java
View file @
a8a74d6
| ... | ... | @@ -133,7 +133,7 @@ |
| 133 | 133 | * @param operateAction |
| 134 | 134 | * @param operateRemark 备注 |
| 135 | 135 | */ |
| 136 | - public void addDelteOptLog(Integer userId,Integer hospitalId, | |
| 136 | + public void addDeleteOptLog(Integer userId,Integer hospitalId, | |
| 137 | 137 | Object operateBeforeContent, |
| 138 | 138 | String operateAction, |
| 139 | 139 | String operateRemark) |