提交 3716d0ca authored 作者: renjiancai's avatar renjiancai

--no commit message

上级 98c95216
...@@ -116,6 +116,7 @@ public class ClauseLibraryServiceImpl extends BaseServiceImpl<ClauseLibrary, Int ...@@ -116,6 +116,7 @@ public class ClauseLibraryServiceImpl extends BaseServiceImpl<ClauseLibrary, Int
// 添加 // 添加
BeanUtils.copyProperties(form, entity); BeanUtils.copyProperties(form, entity);
entity.setUploadTime(new Date()); entity.setUploadTime(new Date());
entity.setDepartmentId(form.getDepartmentId());
entity.setIsDelete(0); entity.setIsDelete(0);
entity.setStatus(0); entity.setStatus(0);
entity.setResourceType(14); entity.setResourceType(14);
...@@ -228,6 +229,7 @@ public class ClauseLibraryServiceImpl extends BaseServiceImpl<ClauseLibrary, Int ...@@ -228,6 +229,7 @@ public class ClauseLibraryServiceImpl extends BaseServiceImpl<ClauseLibrary, Int
BeanUtils.copyProperties(form, entity); BeanUtils.copyProperties(form, entity);
entity.setId(entity.getId()); entity.setId(entity.getId());
entity.setUpdateTime(new Date()); entity.setUpdateTime(new Date());
entity.setDepartmentId(form.getDepartmentId());
if(form.getPdfResourceType()!=null ){ if(form.getPdfResourceType()!=null ){
if(form.getPdfResourceType().equals(1)){ if(form.getPdfResourceType().equals(1)){
Integer count = pdfLibraryMapper.isRepeat(form.getPdfName()); Integer count = pdfLibraryMapper.isRepeat(form.getPdfName());
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论