提交 454d1b18 authored 作者: liupengfei's avatar liupengfei

--no commit message

上级 5d679a87
......@@ -112,7 +112,7 @@ public class AudioLibrarySerivceImpl extends BaseServiceImpl<AudioLibrary,String
entity.setUploadTime(new Date());
entity.setUpdateTime(new Date());
entity.setResourceType(AllResourceTypeEnum.AUDIO.getCode());
entity.setBrowseNum(0);
entity.setBrowseNum(50);
entity.setSalesNum(0);
mapper.insert(entity);
QrCode qrCode = new QrCode();
......@@ -171,7 +171,7 @@ public class AudioLibrarySerivceImpl extends BaseServiceImpl<AudioLibrary,String
form.forEach(f -> {
AudioLibrary entity = new AudioLibrary();
BeanUtils.copyProperties(f, entity);
entity.setBrowseNum(0);
entity.setBrowseNum(50);
entity.setResourceType(AllResourceTypeEnum.AUDIO.getCode());
entity.setPriceOption(PriceOptionEnum.STATUS_0.getCode());
entity.setRealPrice(new BigDecimal(0));
......
......@@ -127,7 +127,7 @@ public class VideoLibrarySerivceImpl extends BaseServiceImpl<VideoLibrary,String
entity.setUploadTime(new Date());
entity.setUpdateTime(new Date());
entity.setResourceType(AllResourceTypeEnum.VIDEO.getCode());
entity.setBrowseNum(0);
entity.setBrowseNum(50);
entity.setSalesNum(0);
entity.setSalesType(SalsesTypeEnum.STATUS_1.getCode());
mapper.insert(entity);
......@@ -197,7 +197,7 @@ public class VideoLibrarySerivceImpl extends BaseServiceImpl<VideoLibrary,String
form.forEach(f -> {
VideoLibrary entity = new VideoLibrary();
BeanUtils.copyProperties(f, entity);
entity.setBrowseNum(0);
entity.setBrowseNum(50);
entity.setSalesType(SalsesTypeEnum.STATUS_1.getCode());
entity.setResourceType(AllResourceTypeEnum.VIDEO.getCode());
entity.setPriceOption(PriceOptionEnum.STATUS_0.getCode());
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论