From 3a541de1d1bf1521b2852915c0ae444f2d2e7055 Mon Sep 17 00:00:00 2001 From: "litao@lymsh.com" Date: Mon, 30 Oct 2017 17:51:18 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/lyms/platform/operate/web/service/impl/ReportServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/ReportServiceImpl.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/ReportServiceImpl.java index 92c6b70..1378587 100644 --- a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/ReportServiceImpl.java +++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/ReportServiceImpl.java @@ -601,8 +601,8 @@ public class ReportServiceImpl extends BaseServiceImpl implements IReportService Map param = CollectionUtils.createMap("hospitalIds", hospitalIds, "userIds", userIds, "provinceId", provinceId, "cityId", cityId, "areaId", areaId, "page", (page - 1) * limit, "limit", limit); List> restList = couponMapper.findUnUsed(param); for (Map map : restList) { - map.put("cityName", map.get("city_id")); - map.put("areaName", map.get("area_id")); + map.put("cityName", findName(map.get("city_id"))); + map.put("areaName", findName(map.get("area_id"))); } Integer count = couponMapper.findUnUsedCount(param); return RespBuilder.buildSuccess(new PageResult(count, page, limit, restList)); -- 1.8.3.1