瀏覽代碼

fix(苏商银行):字典类

liutao 2 天之前
父節點
當前提交
7ba5fcd925
共有 1 個文件被更改,包括 2 次插入3 次删除
  1. 2 3
      src/main/java/com/sunxung/factoring/service/smb/impl/SmbContractInfoServiceImpl.java

+ 2 - 3
src/main/java/com/sunxung/factoring/service/smb/impl/SmbContractInfoServiceImpl.java

@@ -117,11 +117,10 @@ public class SmbContractInfoServiceImpl extends ServiceImpl<SmbContractInfoMappe
             }
             Set<String> keySet = map.keySet();
             for (String key : keySet) {
-                Integer index = Integer.valueOf(key.replace("file_", ""));
-                if(index == 0){
+                if(key.equals(fileStorageDO.getOriginalName())){
                     smbMasterFileId = map.get(key);
                     contractSignBizJson.setType310SdossId(smbMasterFileId);
-                }else if(index == 1){
+                }else if(key.equals(storageDO.getOriginalName())){
                     smbGuaFileId = map.get(key);
                     contractSignBizJson.setType104SdossId(smbGuaFileId);