Kaynağa Gözat

feat(苏商银行):合同签署修改

liutao 1 ay önce
ebeveyn
işleme
d01286d4c2

+ 1 - 1
build.gradle

@@ -5,7 +5,7 @@ plugins {
 }
 
 group = 'com.inkasso'
-version = '1.0.37-prod'
+version = '1.0.38-prod'
 sourceCompatibility = '1.8'
 
 configurations {

+ 1 - 1
src/main/java/com/inkasso/factoring/acceptanceManagement/web/CAcceptanceController.java

@@ -36,7 +36,7 @@ public class CAcceptanceController {
     @InitBinder
     protected void initBinder(WebDataBinder binder) {
         binder.setAutoGrowNestedPaths(true);
-        binder.setAutoGrowCollectionLimit(1024);
+        binder.setAutoGrowCollectionLimit(2048);
     }
 
     /**

+ 12 - 0
src/main/java/com/inkasso/factoring/settlement/web/SettlementController.java

@@ -23,6 +23,7 @@ import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.http.ResponseEntity;
 import org.springframework.stereotype.Controller;
 import org.springframework.ui.Model;
+import org.springframework.web.bind.WebDataBinder;
 import org.springframework.web.bind.annotation.*;
 import org.springframework.web.multipart.MultipartFile;
 
@@ -53,6 +54,17 @@ public class SettlementController {
     @Autowired
     private IEnterpriseService iEnterpriseService;
 
+    /**
+     * 初始化参数数组长度最大值
+     *
+     * @param binder
+     */
+    @InitBinder
+    protected void initBinder(WebDataBinder binder) {
+        binder.setAutoGrowNestedPaths(true);
+        binder.setAutoGrowCollectionLimit(2048);
+    }
+
     /**
      * 结算单管理列表查询
      */