Commit 3e520911 authored by wangxl's avatar wangxl

1

parent 3cf83b67
...@@ -161,12 +161,7 @@ public class ComExpertServiceImpl extends BaseServiceImpl<ComExpertDAO, ComExper ...@@ -161,12 +161,7 @@ public class ComExpertServiceImpl extends BaseServiceImpl<ComExpertDAO, ComExper
ComExpert comExpert = this.entityById(dto.getId()); ComExpert comExpert = this.entityById(dto.getId());
if (null == comExpert) if (null == comExpert)
throw new BusinessException("专家不存在或已删除!"); throw new BusinessException("专家不存在或已删除!");
comExpert = new ComExpert(); StringUtil.copyObj2Obj(dto, comExpert);
comExpert.setId(dto.getId());
comExpert.setRemark(dto.getRemark());
if (dto.getReportState() != null) {
comExpert.setReportState(dto.getReportState());
}
this.update(comExpert); this.update(comExpert);
ComPerson comPerson = new ComPerson(); ComPerson comPerson = new ComPerson();
StringUtil.copyObj2Obj(dto, comPerson); StringUtil.copyObj2Obj(dto, comPerson);
......
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