5607ebae by 肖初晴

【DAOP-1.0】企业认证

【功能点】联调问题处理
1 parent a1d138f9
......@@ -135,7 +135,11 @@ public class EnterpriseChangeApproveServiceImpl implements EnterpriseChangeAppro
EnterpriseRQVO vo = csbrBeanUtil.convert(entity,EnterpriseRQVO.class);
vo.setGuid(entity.getSourceGuid());
vo.setBizApproveState("Y");
enterpriseService.updateEnterprise(vo);
LambdaUpdateWrapper<MfEnterprise> wrapper = new LambdaUpdateWrapper<>();
wrapper.eq(MfEnterprise::getGuid, entity.getSourceGuid());
wrapper.set(MfEnterprise::getBizApproveState, "Y");
mfEnterpriseService.update(wrapper);
//同步更新会员表
TenantRQVO tenantVO = csbrBeanUtil.convert(vo,TenantRQVO.class);
......
......@@ -208,6 +208,7 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris
vo.setDate(DateUtil.formatDate(item.oldBean.getCreateTime(),"yyyy-MM-dd"));
vo.setBefore(diffItem.getOldValue().toString());
vo.setAfter(diffItem.getNewValue().toString());
vo.setGuid(CommonUtil.newGuid());
list.add(vo);
}
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!