Commit f54670786a1415e779f1658168ce0d1d43cb8262
1 parent
b2aff28adc
Exists in
master
and in
6 other branches
孕妇学校
Showing 2 changed files with 2 additions and 5 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/PatientCourseController.java
View file @
f546707
| ... | ... | @@ -112,7 +112,7 @@ |
| 112 | 112 | @RequestParam(required = true) Integer orderType, |
| 113 | 113 | HttpServletRequest request) { |
| 114 | 114 | |
| 115 | - return patientCourseFacade.orderCourse(courseId, patientId, hospitalId, orderType, getUserId(request)); | |
| 115 | + return patientCourseFacade.orderCourse(courseId, patientId, hospitalId, orderType); | |
| 116 | 116 | } |
| 117 | 117 | |
| 118 | 118 |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientCourseFacade.java
View file @
f546707
| ... | ... | @@ -226,7 +226,7 @@ |
| 226 | 226 | return results; |
| 227 | 227 | } |
| 228 | 228 | |
| 229 | - public BaseResponse orderCourse(String courseId, String patientId,String hospitalId,Integer orderType, Integer userId) { | |
| 229 | + public BaseResponse orderCourse(String courseId, String patientId,String hospitalId,Integer orderType) { | |
| 230 | 230 | |
| 231 | 231 | BaseResponse objectResponse = new BaseResponse(); |
| 232 | 232 | CourseQuery query = new CourseQuery(); |
| 233 | 233 | |
| ... | ... | @@ -262,15 +262,12 @@ |
| 262 | 262 | model.setVcCardNo(patients.getVcCardNo()); |
| 263 | 263 | model.setOrderTime(new Date()); |
| 264 | 264 | model.setOrderType(orderType); |
| 265 | - model.setOperUserId(String.valueOf(userId)); | |
| 266 | 265 | model.setHospitalId(hospitalId); |
| 267 | 266 | model.setCourseId(courseId); |
| 268 | 267 | model.setCreated(new Date()); |
| 269 | 268 | model.setModified(new Date()); |
| 270 | 269 | model.setYn(YnEnums.YES.getId()); |
| 271 | 270 | patientCourseService.addPatientCourse(model); |
| 272 | - | |
| 273 | - operateLogFacade.addAddOptLog(userId, Integer.parseInt(hospitalId), model, OptActionEnums.ADD.getId(), "添加课程预约"); | |
| 274 | 271 | } |
| 275 | 272 | |
| 276 | 273 | objectResponse.setErrorcode(ErrorCodeConstants.SUCCESS); |