Commit 3e520911 authored by wangxl's avatar wangxl

1

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