소스 검색

贸易平台修改

fengx 9 달 전
부모
커밋
9ec61388d6
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/main/java/com/sunxung/factoring/service/tradingPlatform/Impl/PlatformServiceImpl.java

+ 2 - 1
src/main/java/com/sunxung/factoring/service/tradingPlatform/Impl/PlatformServiceImpl.java

@@ -66,7 +66,8 @@ public class PlatformServiceImpl extends ServiceImpl<PlatformMapper,Platform> im
         platform.setAutoSignUrl(data.get("autoSignUrl"));
         platform.setShortAutoSignUrl(data.get("shortAutoSignUrl"));
         platform.setShortAutoSignUrlCreate(new Date());
-        platform.setAutoSignStatus("1".equals(data.get("autoSignStatus"))?true:false);
+        String autoSignStatus = data.get("autoSignStatus");
+        platform.setAutoSignStatus("1".equals(String.valueOf(autoSignStatus))?true:false);
         save(platform);
 
         //电子签章获取认证地址