提交 c918f21b authored 作者: renjiancai's avatar renjiancai

--no commit message

上级 eae9aa7a
......@@ -365,6 +365,7 @@ public class ClauseLibraryServiceImpl extends BaseServiceImpl<ClauseLibrary, Int
// 保存商品信息
ClauseGoods goods = new ClauseGoods();
BeanUtils.copyProperties(form, goods);
goods.setId(null);
if (StringUtils.isNotBlank(form.getStartDate())) {
goods.setStartDate(sdf.parse(form.getStartDate()));
}
......
......@@ -383,6 +383,7 @@ public class StatuteLibraryServiceImpl extends BaseServiceImpl<StatuteLibrary, I
// 保存商品信息
StatuteGoods goods = new StatuteGoods();
BeanUtils.copyProperties(form, goods);
goods.setId(null);
if (StringUtils.isNotBlank(form.getStartDate())) {
goods.setStartDate(sdf.parse(form.getStartDate()));
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论