Ver Fonte

1.平台手续费开票批量修改

wuhp há 1 ano atrás
pai
commit
244607738b

+ 2 - 1
src/main/java/com/ydtech/modules/fnc/service/impl/InsPlyIncomeServiceImpl.java

@@ -2886,11 +2886,12 @@ public class InsPlyIncomeServiceImpl extends ServiceImpl<InsPlyIncomeMapper, Ins
     public HashMap<String, Object> ptImportOther(MultipartFile multipartFile) {
         HashMap<String, Object> resultMap = new HashMap<>();
         List<HashMap<String, Object>> resultList = new ArrayList<>();
-        HashMap<String, Object> params = new HashMap<>();
         BigDecimal allAmount = BigDecimal.ZERO;
         try {
             List<InsPtHandExcelDto> dtoList = ExcelEasypoiUtils.importExcel(multipartFile, InsPtHandExcelDto.class, 0, 1, 1);
             for (InsPtHandExcelDto item : dtoList) {
+                HashMap<String, Object> params = new HashMap<>();
+
                 if (StringUtils.isNotEmpty(item.getLicenseno())) {
                     params.put("licenseno", item.getLicenseno());
                 }