Commit 32a95b70 authored by 赵啸非's avatar 赵啸非

添加公共庫

parent fecccc2b
......@@ -4,7 +4,6 @@
"private": true,
"scripts": {
"dev": "vue-cli-service serve",
"dev1": "vue-cli-service serve --mode test",
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"test": "vue-cli-service build --mode test",
......
......@@ -121,6 +121,7 @@ public class MatterServiceImpl extends AbstractCRUDServiceImpl<MatterDao, Matter
MatterEntity siteMatterEntity = this.selectOne(new MatterQuery().siteId(siteId).tid(sheetMatterEntity.getTid()));
if (ObjectUtils.isEmpty(siteMatterEntity)) {
MatterEntity matterEntity = new MatterEntity();
matterEntity.initAttrValue();
matterEntity.setSiteId(siteId);
matterEntity.setTid(sheetMatterEntity.getTid());
matterEntity.setTcode(sheetMatterEntity.getTcode());
......@@ -140,7 +141,7 @@ public class MatterServiceImpl extends AbstractCRUDServiceImpl<MatterDao, Matter
@Override
public void recommend(Long id) {
MatterEntity matterEntity = this.dao.get(id);
MatterEntity matterEntity = this.get(id);
if (matterEntity == null) {
throw new AppException("数据已更改,请重试");
}
......
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