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

添加目录字段

parent eb6c43f5
...@@ -706,9 +706,15 @@ public class ApplyLogServiceImpl extends AbstractCRUDServiceImpl<ApplyLogDao, Ap ...@@ -706,9 +706,15 @@ public class ApplyLogServiceImpl extends AbstractCRUDServiceImpl<ApplyLogDao, Ap
@Override @Override
protected void updateAfter(ApplyLogEntity entity, Context context) throws AppException { protected void updateAfter(ApplyLogEntity entity, Context context) throws AppException {
if (!ObjectUtils.isEmpty(entity.getChildLicense())) { if (!ObjectUtils.isEmpty(entity.getChildCertificate())) {
List<ChildLicenseEntity> childLicenseEntities = entity.getChildCertificate().stream().map(item -> {
ChildLicenseEntity childLicenseEntity = new ChildLicenseEntity();
childLicenseEntity.setId(item.getId());
childLicenseEntity.setChildStatus(item.getStatus());
return childLicenseEntity;
}).collect(Collectors.toList());
//更新子证件状态 //更新子证件状态
childLicenseService.update(entity.getChildLicense(), context); childLicenseService.update(childLicenseEntities, context);
} }
super.updateAfter(entity, context); super.updateAfter(entity, 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