Parcourir la source

小额奖励审批单bug修复

wangxx il y a 2 semaines
Parent
commit
4915cee9e8

+ 1 - 1
airport-ledger/src/main/java/com/sundot/airport/ledger/service/impl/LedgerCombinedImportServiceImpl.java

@@ -878,7 +878,7 @@ public class LedgerCombinedImportServiceImpl implements ILedgerCombinedImportSer
878 878
      */
879 879
     private int doRewardApproval(Sheet sheet, String batchNo, String username) {
880 880
         List<LedgerRewardApproval> list = new ArrayList<>();
881
-        for (Object[] c : dataRows(sheet, 1)) {  // 只跳1行表头
881
+        for (Object[] c : dataRows(sheet, 2)) {  // 跳2行表头
882 882
             LedgerRewardApproval o = new LedgerRewardApproval();
883 883
             String personName = str(c, 0);       // 姓名
884 884
             o.setPersonName(personName);