diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/PatientWeightController.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/PatientWeightController.java index 45cb7b6..c7ac20e 100644 --- a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/PatientWeightController.java +++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/PatientWeightController.java @@ -233,7 +233,7 @@ public class PatientWeightController extends BaseController { @ResponseBody @RequestMapping(value = "/notify/{type}",method = RequestMethod.POST) public BaseResponse notify(List patientIds,@PathVariable Integer type, HttpServletRequest request) { - return patientWeightService.notify(getUserId(request), patientIds,type); + return patientWeightService.notify(patientIds,type); } /** diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/PatientWeightService.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/PatientWeightService.java index 6843869..2b6e83c 100644 --- a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/PatientWeightService.java +++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/PatientWeightService.java @@ -43,7 +43,7 @@ public interface PatientWeightService extends IBaseService { WeightConfigModel getWeightConfigBykcal(Map map, String northSouth, String risk); - BaseResponse notify(Integer userId, List patientIds,Integer type); + BaseResponse notify(List patientIds,Integer type); BaseResponse getWeights(String doctorId,Integer type,Integer status); } diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java index b4a089e..9a4d241 100644 --- a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java +++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PatientWeightServiceImpl.java @@ -1747,7 +1747,7 @@ public class PatientWeightServiceImpl extends BaseServiceImpl implements Patient } @Override - public BaseResponse notify(Integer userId, final List patientIds,final Integer type) { + public BaseResponse notify(final List patientIds,final Integer type) { new Thread(new Runnable() { @Override