39a68f93 by xiaojie

【数据资产】

1、增加企业认证创建会员类型
1 parent 73fb4671
......@@ -365,14 +365,8 @@ public class DataPortServiceImpl implements DataPortService {
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd");
enterpriseRegisterRQVO.setOperatingPeriodBegin(simpleDateFormat.format(entity.getBusinessLicenseStartDate()));
Date businessLicenseEndDate = entity.getBusinessLicenseEndDate();
if (ObjectUtils.isEmpty(businessLicenseEndDate)) {
Calendar calendar = Calendar.getInstance();
calendar.setTime(new Date());
calendar.add(Calendar.YEAR, 1);
Date nextYearDate = calendar.getTime();
enterpriseRegisterRQVO.setOperatingPeriodEnd(simpleDateFormat.format(nextYearDate));
} else {
enterpriseRegisterRQVO.setOperatingPeriodEnd(simpleDateFormat.format(entity.getBusinessLicenseEndDate()));
if (ObjectUtils.isNotEmpty(businessLicenseEndDate)) {
enterpriseRegisterRQVO.setOperatingPeriodEnd(simpleDateFormat.format(businessLicenseEndDate));
}
// enterpriseRegisterRQVO.setAuthType(entity.getAuthenticationMethod());
enterpriseRegisterRQVO.setAuthType("3");
......
......@@ -350,8 +350,8 @@ public class EnterpriseChangeApproveServiceImpl implements EnterpriseChangeAppro
enterpriseService.updateTenant(vo);
// 调用数据港法人和经办人更新接口
dataPortService.operatorUpdate(entity);
dataPortService.enterpriseUpdate(entity);
dataPortService.operatorUpdate(entity);
}
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!