|
|
@@ -128,10 +128,10 @@ public abstract class AbstractListHandler extends AbstractHandler { |
|
|
|
|
|
|
|
SwMap mapFooter = DbEngine.getInstance().queryEntity(sqlParaSum.sql, SwMap.class, sqlParaSum.paras); |
|
|
|
|
|
|
|
R r = R.success(); |
|
|
|
SwMap r = new SwMap(); |
|
|
|
r.put("total", mapFooter.get(TOTAL_KEY)); |
|
|
|
r.put("footer", mapFooter); |
|
|
|
return r; |
|
|
|
return R.success(r); |
|
|
|
} catch (Exception e) { |
|
|
|
return R.error("计算合计失败!", e); |
|
|
|
} |
|
|
|