提交 7de145ab authored 作者: renjianyu's avatar renjianyu

--no commit message

上级 4b35456f
......@@ -101,7 +101,7 @@ public class CartoonLibrarySerivceImpl extends BaseServiceImpl<CartoonLibrary,St
entity.setUploadTime(new Date());
entity.setUpdateTime(new Date());
entity.setBrowseNum(50);
entity.setResourceType(AllResourceTypeEnum.VIDEO.getCode());
entity.setResourceType(AllResourceTypeEnum.CARTOON.getCode());
mapper.insert(entity);
}else{
//修改
......@@ -138,7 +138,7 @@ public class CartoonLibrarySerivceImpl extends BaseServiceImpl<CartoonLibrary,St
form.forEach(f -> {
CartoonLibrary entity = new CartoonLibrary();
BeanUtils.copyProperties(f, entity);
entity.setResourceType(AllResourceTypeEnum.VIDEO.getCode());
entity.setResourceType(AllResourceTypeEnum.CARTOON.getCode());
entity.setStatus(LibraryStatusEnum.STATUS_0.getCode());
entity.setUploadTime(new Date());
entity.setUploadTime(new Date());
......
......@@ -95,7 +95,7 @@ public class PaintingLibrarySerivceImpl extends BaseServiceImpl<PaintingLibrary,
entity.setUploadTime(new Date());
entity.setUpdateTime(new Date());
entity.setBrowseNum(50);
entity.setResourceType(AllResourceTypeEnum.VIDEO.getCode());
entity.setResourceType(AllResourceTypeEnum.PAINTING.getCode());
mapper.insert(entity);
}else{
......@@ -134,7 +134,7 @@ public class PaintingLibrarySerivceImpl extends BaseServiceImpl<PaintingLibrary,
form.forEach(f -> {
PaintingLibrary entity = new PaintingLibrary();
BeanUtils.copyProperties(f, entity);
entity.setResourceType(AllResourceTypeEnum.VIDEO.getCode());
entity.setResourceType(AllResourceTypeEnum.PAINTING.getCode());
entity.setStatus(LibraryStatusEnum.STATUS_0.getCode());
entity.setUploadTime(new Date());
entity.setUploadTime(new Date());
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论