Ver código fonte

贸易平台修改

fengx 9 meses atrás
pai
commit
2739fc00ba

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

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