Commit c906a895f1b9411502d5b58de5fe2995b51f0540

Authored by litao
1 parent 7c4b972fc3

导出

Showing 1 changed file with 4 additions and 3 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/ReportServiceImpl.java View file @ c906a89
... ... @@ -1019,6 +1019,7 @@
1019 1019 @Override
1020 1020 public void exportCouponInfo(Map<String, Object> param, HttpServletResponse response) {
1021 1021 param.put("needPage", false);
  1022 +
1022 1023 BaseObjectResponse resp = couponInfo(param);
1023 1024 PageResult pageResult = (PageResult) resp.getData();
1024 1025 Map<String,Object> map = (Map<String, Object>) pageResult.getGrid();
1025 1026  
1026 1027  
... ... @@ -1040,15 +1041,15 @@
1040 1041 Integer type = (Integer) param.get("type");
1041 1042 if(exportType == 1 && type == 1) { /** 孕期发放人数 */
1042 1043 exportPregnancy(userSendInfos, response);
1043   - } else if(exportType == 1 && type == 4) { /** 孕期使用券数 */
  1044 + } else if(exportType == 1) { /** 孕期使用券数 */
1044 1045 exportPregnancyUsedInfo(couponInfos, response);
1045 1046 } else if(exportType == 2 && type == 1) { /** 产后发放统计 */
1046 1047 exportPostpartumSendInfo(userSendInfos, response);
1047   - } else if(exportType == 2 && type == 4) { /** 产后使用 */
  1048 + } else if(exportType == 2) { /** 产后使用 */
1048 1049 exportPostpartumUsedInfo(userSendInfos, response);
1049 1050 } else if(exportType == 3 && type == 1) {/** 儿童发放 */
1050 1051 exportChildSendInfo(userSendInfos, response);
1051   - } else if(exportType == 3 && type == 4) {/** 儿童使用 */
  1052 + } else if(exportType == 3) {/** 儿童使用 */
1052 1053 exportChildUsedInfo(userSendInfos, response);
1053 1054 }
1054 1055