bug
parent
11a3f0b1e7
commit
5f4f487505
|
|
@ -72,17 +72,17 @@ public class OrgPersonnelExecutor implements OrgPersonnelApi {
|
|||
UserAddCmd userAddCmd = new UserAddCmd();
|
||||
userAddCmd.setId(result.getId());
|
||||
userAddCmd.setAccount(result.getAccount());
|
||||
userAddCmd.setIdCard(result.getIdCardNo());
|
||||
// userAddCmd.setIdCard(result.getIdCardNo());
|
||||
userAddCmd.setTenantId(result.getTenantId());
|
||||
userAddCmd.setName(result.getUserName());
|
||||
String encrypt = Sm2Util.encryptHex(MD5.md5(defPassword), publicKey);
|
||||
userAddCmd.setPassword(encrypt);
|
||||
try {
|
||||
gbsUserFacadeClient.add(userAddCmd);
|
||||
} catch (RuntimeException ex) {
|
||||
} catch (Exception ex) {
|
||||
LOGGER.warn("GBS user sync failed while adding personnel", ex);
|
||||
if (gbsUserSyncFailFast) {
|
||||
throw ex;
|
||||
throw new BizException(ErrorCode.GBS_USER_SYNC_ERROR);
|
||||
}
|
||||
}
|
||||
return SingleResponse.success(co);
|
||||
|
|
|
|||
Loading…
Reference in New Issue