Commit b2aff28adc4139e1ab0586457a4557a907828863
1 parent
42f171fd1e
Exists in
master
and in
6 other branches
孕妇学校
Showing 1 changed file with 6 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientCourseFacade.java
View file @
b2aff28
... | ... | @@ -7,6 +7,7 @@ |
7 | 7 | import com.lyms.platform.biz.service.PatientsService; |
8 | 8 | import com.lyms.platform.common.constants.ErrorCodeConstants; |
9 | 9 | import com.lyms.platform.common.enums.CourseStatusEnums; |
10 | +import com.lyms.platform.common.enums.OptActionEnums; | |
10 | 11 | import com.lyms.platform.common.enums.YnEnums; |
11 | 12 | import com.lyms.platform.common.result.BaseListResponse; |
12 | 13 | import com.lyms.platform.common.result.BaseObjectResponse; |
13 | 14 | |
... | ... | @@ -64,7 +65,10 @@ |
64 | 65 | @Autowired |
65 | 66 | private OrganizationService organizationService; |
66 | 67 | |
68 | + @Autowired | |
69 | + private OperateLogFacade operateLogFacade; | |
67 | 70 | |
71 | + | |
68 | 72 | public BaseResponse getPatientCourseList(Integer status,String courseId, Integer page, |
69 | 73 | Integer limit, Integer userId) { |
70 | 74 | |
... | ... | @@ -265,6 +269,8 @@ |
265 | 269 | model.setModified(new Date()); |
266 | 270 | model.setYn(YnEnums.YES.getId()); |
267 | 271 | patientCourseService.addPatientCourse(model); |
272 | + | |
273 | + operateLogFacade.addAddOptLog(userId, Integer.parseInt(hospitalId), model, OptActionEnums.ADD.getId(), "添加课程预约"); | |
268 | 274 | } |
269 | 275 | |
270 | 276 | objectResponse.setErrorcode(ErrorCodeConstants.SUCCESS); |