Commit b8cc5fad8874df0b90b9ae94a6c3301c5e1690f9

Authored by shiyang
1 parent f4a0701726
Exists in master and in 1 other branch dev

update

Showing 1 changed file with 3 additions and 3 deletions

talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/LymsHisInfoController.java View file @ b8cc5fa
... ... @@ -43,12 +43,12 @@
43 43 @GetMapping("getHisInfo")
44 44 @TokenRequired
45 45 public BaseResponse getHisInfo(LymsHisInfo hisInfo, int current, int size, @RequestHeader String authorization){
46   - LymsUser logUser=lymsUserService.getUserByToken(authorization);
  46 +// LymsUser logUser=lymsUserService.getUserByToken(authorization);//获取token信息的用户数据
47 47 BaseResponse baseResponse=new BaseResponse();
48 48 Page<LymsHisInfo> page=new Page<>(current,size);
49 49 QueryWrapper<LymsHisInfo> query=new QueryWrapper();
50   - if(null!=logUser.getHid()) {
51   - query.eq("hospitalId", logUser.getHid().toString());
  50 + if(StringUtil.isNotEmpty(hisInfo.getHospitalId())) {
  51 + query.eq("hospitalId", hisInfo.getHospitalId());
52 52 }
53 53 query.orderByDesc("createdtime");
54 54 if(null!=hisInfo.getUpType()){