Pārlūkot izejas kodu

贸易平台修改

fengx 9 mēneši atpakaļ
vecāks
revīzija
9ec61388d6

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