提交 21b0fa22 authored 作者: chaoyanjun's avatar chaoyanjun

--no commit message

上级 118ff808
......@@ -214,7 +214,8 @@ public class ArticleLibrarySerivceImpl extends BaseServiceImpl<ArticleLibrary,St
if(form.getPrice() == null){
a.setPrice(null);
}
if(StringUtils.isBlank(form.getAuthorId())){
if(StringUtils.isBlank(form.getAuthorNameAndId())){
a.setAuthor(null);
a.setAuthorId(null);
}
mapper.updateByPrimaryKey(a);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论