【DAOP-1.0】企业认证
【功能点】联调问题处理
Showing
2 changed files
with
6 additions
and
1 deletions
| ... | @@ -135,7 +135,11 @@ public class EnterpriseChangeApproveServiceImpl implements EnterpriseChangeAppro | ... | @@ -135,7 +135,11 @@ public class EnterpriseChangeApproveServiceImpl implements EnterpriseChangeAppro |
| 135 | EnterpriseRQVO vo = csbrBeanUtil.convert(entity,EnterpriseRQVO.class); | 135 | EnterpriseRQVO vo = csbrBeanUtil.convert(entity,EnterpriseRQVO.class); |
| 136 | vo.setGuid(entity.getSourceGuid()); | 136 | vo.setGuid(entity.getSourceGuid()); |
| 137 | vo.setBizApproveState("Y"); | 137 | vo.setBizApproveState("Y"); |
| 138 | enterpriseService.updateEnterprise(vo); | 138 | |
| 139 | LambdaUpdateWrapper<MfEnterprise> wrapper = new LambdaUpdateWrapper<>(); | ||
| 140 | wrapper.eq(MfEnterprise::getGuid, entity.getSourceGuid()); | ||
| 141 | wrapper.set(MfEnterprise::getBizApproveState, "Y"); | ||
| 142 | mfEnterpriseService.update(wrapper); | ||
| 139 | 143 | ||
| 140 | //同步更新会员表 | 144 | //同步更新会员表 |
| 141 | TenantRQVO tenantVO = csbrBeanUtil.convert(vo,TenantRQVO.class); | 145 | TenantRQVO tenantVO = csbrBeanUtil.convert(vo,TenantRQVO.class); | ... | ... |
| ... | @@ -208,6 +208,7 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris | ... | @@ -208,6 +208,7 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris |
| 208 | vo.setDate(DateUtil.formatDate(item.oldBean.getCreateTime(),"yyyy-MM-dd")); | 208 | vo.setDate(DateUtil.formatDate(item.oldBean.getCreateTime(),"yyyy-MM-dd")); |
| 209 | vo.setBefore(diffItem.getOldValue().toString()); | 209 | vo.setBefore(diffItem.getOldValue().toString()); |
| 210 | vo.setAfter(diffItem.getNewValue().toString()); | 210 | vo.setAfter(diffItem.getNewValue().toString()); |
| 211 | vo.setGuid(CommonUtil.newGuid()); | ||
| 211 | list.add(vo); | 212 | list.add(vo); |
| 212 | } | 213 | } |
| 213 | } | 214 | } | ... | ... |
-
Please register or sign in to post a comment