39a68f93 by xiaojie

【数据资产】

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