Commit a8990daf83521710255c1965bf2228f1fae32d10

Authored by wangbo
1 parent c8f0b26f7c

自测bug提交

Showing 4 changed files with 4 additions and 3 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/TemporaryBloodController.java View file @ a8990da
... ... @@ -68,6 +68,7 @@
68 68  
69 69 @ResponseBody
70 70 @RequestMapping(value = "/presentation/{id}", method = RequestMethod.GET)
  71 + @TokenRequired
71 72 public BaseResponse getXyPresentation(@PathVariable String id, HttpServletRequest request) {
72 73 if (StringUtils.isEmpty(id) || "null".equals(id)) {
73 74 return new BaseResponse().setErrorcode(ErrorCodeConstants.PARAMETER_ERROR).setErrormsg("id参数不能为空");
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/ITemporaryBloodService.java View file @ a8990da
... ... @@ -17,6 +17,6 @@
17 17  
18 18 BaseResponse info(String id, Date startDate);
19 19  
20   - public BaseResponse getXyPresentation(String bloodId, Integer userId);
  20 + BaseResponse getXyPresentation(String bloodId, Integer userId);
21 21 }
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/TemporaryBloodServiceImpl.java View file @ a8990da
... ... @@ -407,7 +407,7 @@
407 407 }
408 408 datas.put("motion", motionList);
409 409 }
410   - healthChargeFacade.addHealthCharge(hospitalId, 3, id, 1, 1, userId);
  410 + healthChargeFacade.addHealthCharge(hospitalId, 3, id, 1, 2, userId);
411 411 return new BaseObjectResponse().setErrorcode(ErrorCodeConstants.SUCCESS).setErrormsg("成功").setData(datas);
412 412 } else {
413 413 return new BaseObjectResponse().setErrorcode(ErrorCodeConstants.NO_DATA).setErrormsg("失败").setData("请检查数据是否填写完整!");
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/TemporaryBloodSugarServiceImpl.java View file @ a8990da
... ... @@ -427,7 +427,7 @@
427 427  
428 428 resp.setData(data);
429 429 resp.setErrorcode(ResponseCode.SUCCESS.getCode());
430   - healthChargeFacade.addHealthCharge(hospitalId, 2, id, 2, 1, userId);
  430 + healthChargeFacade.addHealthCharge(hospitalId, 2, id, 1, 2, userId);
431 431 resp.setErrormsg("成功");
432 432 return resp;
433 433 }