提交 556d78c8 authored 作者: zhouzhigang's avatar zhouzhigang

--no commit message

上级 622ce84e
......@@ -206,13 +206,7 @@ public class PhyResourceServiceImpl extends BaseModelServiceImpl<PhyResource, St
record.setOtherId(form.getFileId());
isBinding = resourceBindingMapper.updateByPrimaryKeySelective(record) > 0;
}
//添加自定义分类
DiyType dt = diyTypeManage.getDiyType("教学资源");
List<String> idList = new ArrayList<String>();
List<Integer> diyTypeIds = new ArrayList<Integer>();
diyTypeIds.add(dt.getId());
idList.add(otherResourceForm.getOtherId());
isBinding = diyTypeManage.updateDiyTypes(idList, diyTypeIds);
}
if(!(isUpdate & isUpdateDiyType & isUpdateLacel & isSaveEle & isBinding)){
log.error(form.getName() + "修改实体资源失败\n" + "isUpdate:" + isUpdate
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论