Commit 23197a0b by guojx

目标跟进达成分析门店明细数据调整:只有第一页有合计数据

parent 312bc131
......@@ -177,7 +177,9 @@ public class TargetController {
total.put("storeCode", "合计");
List<JSONObject> dataList = page.getResult();
List<JSONObject> resultList = new ArrayList<>();
resultList.add(total);
if (pageQo.getPageNum() == 1) {
resultList.add(total);
}
if (CollectionUtils.isNotEmpty(dataList)) {
for (JSONObject obj : dataList) {
JSONObject temp = new JSONObject();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment