fc02ab7a by xiaojie

【数据资产】

1、连接器入驻作废旧数据报错
1 parent eb9384fd
...@@ -122,6 +122,8 @@ public class DataPortServiceImpl implements DataPortService { ...@@ -122,6 +122,8 @@ public class DataPortServiceImpl implements DataPortService {
122 LambdaUpdateWrapper<MfEnterprise> updateWrapper = new LambdaUpdateWrapper<>(); 122 LambdaUpdateWrapper<MfEnterprise> updateWrapper = new LambdaUpdateWrapper<>();
123 updateWrapper.set(MfEnterprise::getTrustedIdentityCredential, url); 123 updateWrapper.set(MfEnterprise::getTrustedIdentityCredential, url);
124 updateWrapper.set(MfEnterprise::getCredentialTime, new Date()); 124 updateWrapper.set(MfEnterprise::getCredentialTime, new Date());
125 updateWrapper.set(MfEnterprise::getAuthenticationTime, new Date());
126 updateWrapper.set(MfEnterprise::getAuthenticationState, "Y");
125 updateWrapper.eq(MfEnterprise::getGuid, entity.getGuid()); 127 updateWrapper.eq(MfEnterprise::getGuid, entity.getGuid());
126 mfEnterpriseService.update(updateWrapper); 128 mfEnterpriseService.update(updateWrapper);
127 129
...@@ -187,7 +189,9 @@ public class DataPortServiceImpl implements DataPortService { ...@@ -187,7 +189,9 @@ public class DataPortServiceImpl implements DataPortService {
187 LambdaUpdateWrapper<MfEnterprise> updateWrapper = new LambdaUpdateWrapper<>(); 189 LambdaUpdateWrapper<MfEnterprise> updateWrapper = new LambdaUpdateWrapper<>();
188 updateWrapper.set(MfEnterprise::getTrustedIdentityCredential, url); 190 updateWrapper.set(MfEnterprise::getTrustedIdentityCredential, url);
189 updateWrapper.set(MfEnterprise::getCredentialTime, new Date()); 191 updateWrapper.set(MfEnterprise::getCredentialTime, new Date());
190 updateWrapper.eq(MfEnterprise::getGuid, entity.getGuid()); 192 updateWrapper.set(MfEnterprise::getAuthenticationTime, new Date());
193 updateWrapper.set(MfEnterprise::getAuthenticationState, "Y");
194 updateWrapper.eq(MfEnterprise::getGuid, entity.getSourceGuid());
191 mfEnterpriseService.update(updateWrapper); 195 mfEnterpriseService.update(updateWrapper);
192 196
193 } 197 }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!