|
@@ -64,6 +64,7 @@ public class HelpArticleModel {
|
|
|
}
|
|
|
StoreCmsArticle articleInsert = new StoreCmsArticle();
|
|
|
PropertyUtils.copyProperties(articleInsert, articleAddDTO);
|
|
|
+ articleInsert.setWebSite("1");
|
|
|
articleInsert.setCreateTime(new Date());
|
|
|
articleInsert.setCreateId(admin.getAdminId());
|
|
|
int count = helpArticleWriteMapper.insert(articleInsert);
|
|
@@ -148,6 +149,7 @@ public class HelpArticleModel {
|
|
|
}
|
|
|
StoreCmsArticle articleUpdate = new StoreCmsArticle();
|
|
|
PropertyUtils.copyProperties(articleUpdate, articleUpdateDTO);
|
|
|
+ articleUpdate.setWebSite("1");
|
|
|
articleUpdate.setUpdateTime(new Date());
|
|
|
int count = helpArticleWriteMapper.updateByPrimaryKeySelective(articleUpdate);
|
|
|
if (count == 0) {
|