Commit 39f0ad1f authored by 赵啸非's avatar 赵啸非

修改配置文件1

parent 39279cea
...@@ -95,6 +95,9 @@ public class MatterServiceImpl extends AbstractCRUDServiceImpl<MatterDao, Matter ...@@ -95,6 +95,9 @@ public class MatterServiceImpl extends AbstractCRUDServiceImpl<MatterDao, Matter
@Override @Override
public Rest<String> createMatterbBySheetMatter(Long[] sheetMatterIds, Long siteId, Context context) { public Rest<String> createMatterbBySheetMatter(Long[] sheetMatterIds, Long siteId, Context context) {
if(ObjectUtils.isEmpty(sheetMatterIds)){
throw new AppException("事项ids is null");
}
int success = 0; int success = 0;
int fail = 0; int fail = 0;
List<SheetMatterEntity> sheetMatterEntityList = sheetMatterService.get(sheetMatterIds, context); List<SheetMatterEntity> sheetMatterEntityList = sheetMatterService.get(sheetMatterIds, context);
......
...@@ -75,6 +75,7 @@ public class MatterController extends BaseCRUDJsonBodyMappingController<MatterSe ...@@ -75,6 +75,7 @@ public class MatterController extends BaseCRUDJsonBodyMappingController<MatterSe
Map<String, Object> model = new HashMap(); Map<String, Object> model = new HashMap();
int code = 1; int code = 1;
String busiDesc = "站点事项转事项"; String busiDesc = "站点事项转事项";
try { try {
Rest<String> rest = this.service.createMatterbBySheetMatter(ids, siteId, getContext()); Rest<String> rest = this.service.createMatterbBySheetMatter(ids, siteId, getContext());
model.put("message_info", rest.getData()); model.put("message_info", rest.getData());
......
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