From 502450baabc0ee4ccfb81544eb7462e487cc1708 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=92=B1=E6=B6=9B?= <15850646081@163.com> Date: Fri, 11 Mar 2022 18:14:19 +0800 Subject: [PATCH] bug --- .../AddUpSituationGetDetailListCmd.java | 2 +- .../entity/taxrate/vo/TaxRateTableVO.java | 11 ++++--- .../impl/AttendQuoteFieldServiceImpl.java | 31 ++++++++++++++++++- 3 files changed, 37 insertions(+), 7 deletions(-) diff --git a/src/com/engine/salary/cmd/datacollection/AddUpSituationGetDetailListCmd.java b/src/com/engine/salary/cmd/datacollection/AddUpSituationGetDetailListCmd.java index ce330e943..2646b59a5 100644 --- a/src/com/engine/salary/cmd/datacollection/AddUpSituationGetDetailListCmd.java +++ b/src/com/engine/salary/cmd/datacollection/AddUpSituationGetDetailListCmd.java @@ -67,7 +67,7 @@ public class AddUpSituationGetDetailListCmd extends AbstractCommonCommand table = new SalaryWeaTable(user, AttendQuoteFieldListDTO.class); + table.setBackfields(fields); + table.setSqlform(fromSql); +// table.setSqlwhere(makeSqlWhere()); + table.setSqlorderby("t1.id DESC"); + table.setSqlprimarykey("t1.id"); + table.setSqlisdistinct("false"); + + WeaResultMsg result = new WeaResultMsg(false); + result.putAll(table.makeDataResult()); + result.success(); + return result.getResultMap(); + // Page page = new Page<>(queryParam.getCurrent(), queryParam.getPageSize(), true); // mapper.list(page, queryParam, tenantKey); // @@ -50,7 +80,6 @@ public class AttendQuoteFieldServiceImpl extends Service implements AttendQuoteF // editableTable.setPageSize(page.getSize()); // editableTable.setModule("hrmsalary"); // return editableTable; - return null; } // @Override