Commit c7ce01f3 authored by 赵啸非's avatar 赵啸非

Merge remote-tracking branch 'origin/first' into first

parents f5f2a794 0bb71a9b
......@@ -72,6 +72,12 @@ public class ChildLicenseServiceImpl extends AbstractCRUDServiceImpl<ChildLicens
}
for (ChildLicenseEntity child : oldChildList) {
child.setApplyId(applyLogEntity.getId());
child.setMarketEntityName(applyLogEntity.getEnterpriseName());
child.setLicenseCode(applyLogEntity.getCertificateCode());
child.setLegalPersonName(applyLogEntity.getLegalPerson());
child.setCreditCode(applyLogEntity.getSocialCode());
child.setProductLicenseTime(applyLogEntity.getIssueTime());
child.setCertQRCode(applyLogEntity.getQRCode());
if (documentIdMap.size() > 0 && documentIdMap.containsKey(child.getDocumentId())) {
child.setChildStatus(StatusEnum.ENABLE.getValue());
} else {
......
......@@ -109,6 +109,8 @@ public class RetainLogServiceImpl extends AbstractCRUDServiceImpl<RetainLogDao,
update.setSocialCode(applyLogEntity.getSocialCode()+"_zx");
update.setUpdateTime(new Date());
applyLogDao.update(update);
List<ChildLicenseEntity> childLicenseEntityList = childLicenseService.find(new ChildLicenseQuery().applyId(applyLogEntity.getId()));
childLicenseService.removeList(childLicenseEntityList,context);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment