提交 74560a87 authored 作者: chaoyanjun's avatar chaoyanjun

--no commit message

上级 cbfec039
......@@ -137,6 +137,11 @@ public class EditorMaintenanceServiceImpl extends BaseServiceImpl<EditorMaintena
BeanUtils.copyProperties(form, cipNew, "id");
bookNumCipNewMapper.updateByPrimaryKeySelective(cipNew);
}else{
EditorMaintenance em = new EditorMaintenance();
em.setSubjectNum(form.getSubjectNum());
List<EditorMaintenance> select = mapper.select(em);
EditorMaintenance maintenance = select.get(0);
BeanUtils.copyProperties(maintenance,bcn,"id");
BeanUtils.copyProperties(form, bcn, "id");
bcn.setEditorId(form.getId());
bookNumCipNewMapper.insertSelective(bcn);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论