Commit 85a52d69ac0b4e9a29fa6aa5ba2282f9b58b9da5
1 parent
68107759d0
Exists in
master
and in
6 other branches
优惠券报表
Showing 1 changed file with 3 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/ReportServiceImpl.java
View file @
85a52d6
... | ... | @@ -490,6 +490,9 @@ |
490 | 490 | @Override |
491 | 491 | public BaseObjectResponse couponInfo(Map<String, Object> param) { |
492 | 492 | PageUtil.setPageInfo(param); |
493 | + if(StringUtils.isEmpty((String) param.get("hospitalId"))) { | |
494 | + param.put("hospitalId", accessPermissionFacade.getCurrentUserHospPermissions(Integer.parseInt((String) param.get("userId")))); /** 根据登陆人id 查询出来的医院 */ | |
495 | + } | |
493 | 496 | Map<String, Object> hospitalName = couponMapper.findHospitalName(param); |
494 | 497 | List<Map<String, Object>> couponInfos = couponMapper.findCouponInfo(param); |
495 | 498 | for (Map<String, Object> couponInfo : couponInfos) { |