Commit d0087e39e60ce82b28c1beecfb8f8a858df11394
1 parent
85a52d69ac
Exists in
master
and in
6 other branches
优惠券报表
Showing 1 changed file with 2 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/ReportServiceImpl.java
View file @
d0087e3
| ... | ... | @@ -423,7 +423,7 @@ |
| 423 | 423 | @Override |
| 424 | 424 | public BaseObjectResponse coupon(Map<String ,Object> param) { |
| 425 | 425 | if(StringUtils.isBlank((String) param.get("hospitalId"))) { |
| 426 | - param.put("hospitalId", accessPermissionFacade.getCurrentUserHospPermissions(Integer.parseInt((String) param.get("userId")))); /** 模拟根据登陆人id 查询出来的医院 */ | |
| 426 | + param.put("hospitalId", accessPermissionFacade.getCurrentUserHospPermissions(Integer.parseInt(param.get("userId") + ""))); /** 模拟根据登陆人id 查询出来的医院 */ | |
| 427 | 427 | } else { |
| 428 | 428 | param.put("hospitalId", CollectionUtils.asList((String) param.get("hospitalId"))); |
| 429 | 429 | } |
| ... | ... | @@ -491,7 +491,7 @@ |
| 491 | 491 | public BaseObjectResponse couponInfo(Map<String, Object> param) { |
| 492 | 492 | PageUtil.setPageInfo(param); |
| 493 | 493 | if(StringUtils.isEmpty((String) param.get("hospitalId"))) { |
| 494 | - param.put("hospitalId", accessPermissionFacade.getCurrentUserHospPermissions(Integer.parseInt((String) param.get("userId")))); /** 根据登陆人id 查询出来的医院 */ | |
| 494 | + param.put("hospitalId", accessPermissionFacade.getCurrentUserHospPermissions(Integer.parseInt(param.get("userId") + ""))); /** 根据登陆人id 查询出来的医院 */ | |
| 495 | 495 | } |
| 496 | 496 | Map<String, Object> hospitalName = couponMapper.findHospitalName(param); |
| 497 | 497 | List<Map<String, Object>> couponInfos = couponMapper.findCouponInfo(param); |