b95b4933 by 肖初晴

【DAOP-1.0】企业认证

【功能点】联调问题处理
1 parent 5607ebae
......@@ -18,6 +18,9 @@ import java.time.LocalDateTime;
@Data
public class ChangeInfoVO extends CsbrBaseVO {
@Schema(description = "英文名称")
private String nameEn;
@Schema(description = "名称")
private String name;
......
......@@ -203,9 +203,15 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris
for(ChangeApproveBean item : beanList){
List<CompareResult> diffList = ObjectUtil.getBeanDiff(item.oldBean,item.newBean);
for(CompareResult diffItem : diffList){
if(diffItem.getFieldComment().contains("审批状态") || diffItem.getFieldComment().contains("营业执照")
|| diffItem.getFieldComment().contains("法人证件照") || diffItem.getFieldComment().contains("管理员证件照")
|| diffItem.getFieldComment().contains("授权委托书")){
continue;
}
ChangeInfoVO vo = new ChangeInfoVO();
vo.setNameEn(diffItem.getFieldName());
vo.setName(diffItem.getFieldComment());
vo.setDate(DateUtil.formatDate(item.oldBean.getCreateTime(),"yyyy-MM-dd"));
vo.setDate(DateUtil.formatDate(item.oldBean.getCreateTime(),"yyyy-MM-dd HH:mm:ss"));
vo.setBefore(diffItem.getOldValue().toString());
vo.setAfter(diffItem.getNewValue().toString());
vo.setGuid(CommonUtil.newGuid());
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!