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);
 
         //电子签章获取认证地址