Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
wyszyk
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
注册表
注册表
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
任建彩
wyszyk
Commits
08b76b3e
提交
08b76b3e
authored
4月 22, 2022
作者:
任建彩
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat:全部资源包
1.resource
上级
e4125a31
隐藏空白字符变更
内嵌
并排
正在显示
25 个修改的文件
包含
48 行增加
和
2 行删除
+48
-2
ResourceRelationMapper.java
...java/com/zrqx/resource/mapper/ResourceRelationMapper.java
+2
-2
SaveUpdateAudioLibraryForm.java
...e/model/form/audiolibrary/SaveUpdateAudioLibraryForm.java
+2
-0
SaveUpdateEbookForm.java
...m/zrqx/resource/model/form/ebook/SaveUpdateEbookForm.java
+2
-0
SaveUpdateGoodsLibraryForm.java
...e/model/form/goodslibrary/SaveUpdateGoodsLibraryForm.java
+2
-0
SaveUpdatePdfLibraryForm.java
...e/model/form/pdffilelibrary/SaveUpdatePdfLibraryForm.java
+2
-0
SaveProjectLibraryForm.java
...rce/model/form/projectlibrary/SaveProjectLibraryForm.java
+2
-0
UpdateProjectLibraryForm.java
...e/model/form/projectlibrary/UpdateProjectLibraryForm.java
+2
-0
SaveUpdateVideoLibraryForm.java
...e/model/form/videolibrary/SaveUpdateVideoLibraryForm.java
+2
-0
AudioLibrary.java
...com/zrqx/resource/model/po/audiolibrary/AudioLibrary.java
+2
-0
Ebook.java
...src/main/java/com/zrqx/resource/model/po/ebook/Ebook.java
+3
-0
GoodsLibrary.java
...com/zrqx/resource/model/po/goodslibrary/GoodsLibrary.java
+2
-0
PdfLibrary.java
...ava/com/zrqx/resource/model/po/pdflibrary/PdfLibrary.java
+2
-0
ProjectLibrary.java
...zrqx/resource/model/po/projectlibrary/ProjectLibrary.java
+2
-0
VideoLibrary.java
...com/zrqx/resource/model/po/videolibrary/VideoLibrary.java
+2
-0
ResourceRelationVO.java
...n/java/com/zrqx/resource/model/vo/ResourceRelationVO.java
+2
-0
AudioLibraryOneVO.java
...rqx/resource/model/vo/audiolibrary/AudioLibraryOneVO.java
+2
-0
EbookVO.java
...c/main/java/com/zrqx/resource/model/vo/ebook/EbookVO.java
+2
-0
GoodsLibraryVO.java
...m/zrqx/resource/model/vo/goodslibrary/GoodsLibraryVO.java
+2
-0
PdfLibraryOneVO.java
...om/zrqx/resource/model/vo/pdflibrary/PdfLibraryOneVO.java
+2
-0
ProjectLibraryVO.java
...qx/resource/model/vo/projectlibrary/ProjectLibraryVO.java
+2
-0
VideoLibraryOneVO.java
...rqx/resource/model/vo/videolibrary/VideoLibraryOneVO.java
+2
-0
VideoLibraryVO.java
...m/zrqx/resource/model/vo/videolibrary/VideoLibraryVO.java
+2
-0
AudioLibrarySerivceImpl.java
...m/zrqx/resource/service/impl/AudioLibrarySerivceImpl.java
+1
-0
PdfLibrarySerivceImpl.java
...com/zrqx/resource/service/impl/PdfLibrarySerivceImpl.java
+1
-0
VideoLibrarySerivceImpl.java
...m/zrqx/resource/service/impl/VideoLibrarySerivceImpl.java
+1
-0
没有找到文件。
wyszyk-provider/wyszyk-provider-resource/src/main/java/com/zrqx/resource/mapper/ResourceRelationMapper.java
浏览文件 @
08b76b3e
...
@@ -218,13 +218,13 @@ public interface ResourceRelationMapper extends BaseMapper<ResourceRelation> {
...
@@ -218,13 +218,13 @@ public interface ResourceRelationMapper extends BaseMapper<ResourceRelation> {
+
"</script>"
)
+
"</script>"
)
List
<
ResourceRelationVO
>
getResourceRelationProject
(
@Param
(
"oid"
)
String
oid
,
@Param
(
"resourceType"
)
String
resourceType
);
List
<
ResourceRelationVO
>
getResourceRelationProject
(
@Param
(
"oid"
)
String
oid
,
@Param
(
"resourceType"
)
String
resourceType
);
@Select
(
"<script>"
@Select
(
"<script>"
+
"SELECT
id ,resourceId,resourceType,createdTime,sort,creater,
createrId "
+
"SELECT
ar.id ,ar.resourceId,ar.resourceType,ar.createdTime,ar.sort,ar.creater,ar.
createrId "
+
"FROM res_resource_relation ar "
+
"FROM res_resource_relation ar "
+
"left join res_goods_library_label_content_diy_type co on ar.resourceId = co.labelId "
+
"left join res_goods_library_label_content_diy_type co on ar.resourceId = co.labelId "
+
"WHERE 1=1 "
+
"WHERE 1=1 "
+
"eq(objectId,form.resourceId)"
+
"eq(objectId,form.resourceId)"
+
"<if test='"
+
MapperConstants
.
NOT_BLANK
+
"(form.resourceType)'> "
+
"<if test='"
+
MapperConstants
.
NOT_BLANK
+
"(form.resourceType)'> "
+
" AND resourceType = #{form.resourceType} "
+
" AND
ar.
resourceType = #{form.resourceType} "
+
"</if>"
+
"</if>"
+
" LIKE(co.labelContentDiyTypeCode,form.labelCode) "
+
" LIKE(co.labelContentDiyTypeCode,form.labelCode) "
+
" order by sort desc "
+
" order by sort desc "
...
...
wyszyk-provider/wyszyk-provider-resource/src/main/java/com/zrqx/resource/model/form/audiolibrary/SaveUpdateAudioLibraryForm.java
浏览文件 @
08b76b3e
...
@@ -52,4 +52,6 @@ public class SaveUpdateAudioLibraryForm {
...
@@ -52,4 +52,6 @@ public class SaveUpdateAudioLibraryForm {
private
List
<
AudioLabelPO
>
labelList
;
private
List
<
AudioLabelPO
>
labelList
;
@ApiModelProperty
(
"来源"
)
@ApiModelProperty
(
"来源"
)
private
String
source
;
private
String
source
;
@ApiModelProperty
(
"下载状态 0:下载 1:禁止下载"
)
private
String
isDownload
;
}
}
wyszyk-provider/wyszyk-provider-resource/src/main/java/com/zrqx/resource/model/form/ebook/SaveUpdateEbookForm.java
浏览文件 @
08b76b3e
...
@@ -104,6 +104,8 @@ public class SaveUpdateEbookForm {
...
@@ -104,6 +104,8 @@ public class SaveUpdateEbookForm {
private
String
languages
;
private
String
languages
;
@ApiModelProperty
(
value
=
"图组图片"
)
@ApiModelProperty
(
value
=
"图组图片"
)
private
List
<
String
>
imgList
;
private
List
<
String
>
imgList
;
@ApiModelProperty
(
"下载状态 0:下载 1:禁止下载"
)
private
String
isDownload
;
/*@ApiModelProperty(value = "作者名称和id(用,隔开)")
/*@ApiModelProperty(value = "作者名称和id(用,隔开)")
private String authorNameAndId;
private String authorNameAndId;
@ApiModelProperty(value = "译者名称和id(用,隔开)")
@ApiModelProperty(value = "译者名称和id(用,隔开)")
...
...
wyszyk-provider/wyszyk-provider-resource/src/main/java/com/zrqx/resource/model/form/goodslibrary/SaveUpdateGoodsLibraryForm.java
浏览文件 @
08b76b3e
...
@@ -27,6 +27,8 @@ public class SaveUpdateGoodsLibraryForm {
...
@@ -27,6 +27,8 @@ public class SaveUpdateGoodsLibraryForm {
private
String
synopsis
;
private
String
synopsis
;
@ApiModelProperty
(
"状态1已上架,2已下架"
)
@ApiModelProperty
(
"状态1已上架,2已下架"
)
private
Integer
status
;
private
Integer
status
;
@ApiModelProperty
(
"下载状态 0:下载 1:禁止下载"
)
private
String
isDownload
;
@ApiModelProperty
(
"标签id"
)
@ApiModelProperty
(
"标签id"
)
private
List
<
GoodsLibraryLabelContentDiyTypePO
>
labelList
;
private
List
<
GoodsLibraryLabelContentDiyTypePO
>
labelList
;
}
}
wyszyk-provider/wyszyk-provider-resource/src/main/java/com/zrqx/resource/model/form/pdffilelibrary/SaveUpdatePdfLibraryForm.java
浏览文件 @
08b76b3e
...
@@ -35,6 +35,8 @@ public class SaveUpdatePdfLibraryForm {
...
@@ -35,6 +35,8 @@ public class SaveUpdatePdfLibraryForm {
private
List
<
String
>
diyTypeCode
;
private
List
<
String
>
diyTypeCode
;
@ApiModelProperty
(
"pdf名称"
)
@ApiModelProperty
(
"pdf名称"
)
private
String
pdfName
;
private
String
pdfName
;
@ApiModelProperty
(
"下载状态 0:下载 1:禁止下载"
)
private
String
isDownload
;
@ApiModelProperty
(
value
=
"作者集合"
)
@ApiModelProperty
(
value
=
"作者集合"
)
private
List
<
RelationAuthor
>
authorList
;
private
List
<
RelationAuthor
>
authorList
;
}
}
wyszyk-provider/wyszyk-provider-resource/src/main/java/com/zrqx/resource/model/form/projectlibrary/SaveProjectLibraryForm.java
浏览文件 @
08b76b3e
...
@@ -32,6 +32,8 @@ public class SaveProjectLibraryForm {
...
@@ -32,6 +32,8 @@ public class SaveProjectLibraryForm {
private
Integer
template
;
private
Integer
template
;
@ApiModelProperty
(
"状态 0下线,1上线"
)
@ApiModelProperty
(
"状态 0下线,1上线"
)
private
String
status
;
private
String
status
;
@ApiModelProperty
(
"下载状态 0:下载 1:禁止下载"
)
private
String
isDownload
;
@ApiModelProperty
(
"自定义模块名称"
)
@ApiModelProperty
(
"自定义模块名称"
)
private
List
<
SaveDiyModelForm
>
diyModelList
;
private
List
<
SaveDiyModelForm
>
diyModelList
;
}
}
wyszyk-provider/wyszyk-provider-resource/src/main/java/com/zrqx/resource/model/form/projectlibrary/UpdateProjectLibraryForm.java
浏览文件 @
08b76b3e
...
@@ -31,6 +31,8 @@ public class UpdateProjectLibraryForm {
...
@@ -31,6 +31,8 @@ public class UpdateProjectLibraryForm {
private
Integer
template
;
private
Integer
template
;
@ApiModelProperty
(
"状态 0下线,1上线"
)
@ApiModelProperty
(
"状态 0下线,1上线"
)
private
String
status
;
private
String
status
;
@ApiModelProperty
(
"下载状态 0:下载 1:禁止下载"
)
private
String
isDownload
;
@ApiModelProperty
(
"新增/修改自定义模块"
)
@ApiModelProperty
(
"新增/修改自定义模块"
)
private
List
<
SaveDiyModelForm
>
diyModelList
;
private
List
<
SaveDiyModelForm
>
diyModelList
;
@ApiModelProperty
(
"删除自定义模块"
)
@ApiModelProperty
(
"删除自定义模块"
)
...
...
wyszyk-provider/wyszyk-provider-resource/src/main/java/com/zrqx/resource/model/form/videolibrary/SaveUpdateVideoLibraryForm.java
浏览文件 @
08b76b3e
...
@@ -47,5 +47,7 @@ public class SaveUpdateVideoLibraryForm {
...
@@ -47,5 +47,7 @@ public class SaveUpdateVideoLibraryForm {
private
List
<
VideoLabelPO
>
labelList
;
private
List
<
VideoLabelPO
>
labelList
;
@ApiModelProperty
(
"来源"
)
@ApiModelProperty
(
"来源"
)
private
String
source
;
private
String
source
;
@ApiModelProperty
(
"下载状态 0:下载 1:禁止下载"
)
private
String
isDownload
;
}
}
wyszyk-provider/wyszyk-provider-resource/src/main/java/com/zrqx/resource/model/po/audiolibrary/AudioLibrary.java
浏览文件 @
08b76b3e
...
@@ -72,4 +72,6 @@ public class AudioLibrary {
...
@@ -72,4 +72,6 @@ public class AudioLibrary {
private
Integer
departmentId
;
private
Integer
departmentId
;
@ApiModelProperty
(
value
=
"部门"
)
@ApiModelProperty
(
value
=
"部门"
)
private
String
departmentCode
;
private
String
departmentCode
;
@ApiModelProperty
(
"下载状态 0:下载 1:禁止下载"
)
private
String
isDownload
;
}
}
wyszyk-provider/wyszyk-provider-resource/src/main/java/com/zrqx/resource/model/po/ebook/Ebook.java
浏览文件 @
08b76b3e
...
@@ -97,4 +97,7 @@ public class Ebook {
...
@@ -97,4 +97,7 @@ public class Ebook {
private
Integer
sales
;
private
Integer
sales
;
@ApiModelProperty
(
"阅读人数"
)
@ApiModelProperty
(
"阅读人数"
)
private
Integer
readerNum
;
private
Integer
readerNum
;
@ApiModelProperty
(
"下载状态 0:下载 1:禁止下载"
)
private
String
isDownload
;
}
}
wyszyk-provider/wyszyk-provider-resource/src/main/java/com/zrqx/resource/model/po/goodslibrary/GoodsLibrary.java
浏览文件 @
08b76b3e
...
@@ -42,4 +42,6 @@ public class GoodsLibrary {
...
@@ -42,4 +42,6 @@ public class GoodsLibrary {
private
Date
updateTime
;
private
Date
updateTime
;
@ApiModelProperty
(
value
=
"二维码"
)
@ApiModelProperty
(
value
=
"二维码"
)
private
String
qrCode
;
private
String
qrCode
;
@ApiModelProperty
(
"下载状态 0:下载 1:禁止下载"
)
private
String
isDownload
;
}
}
wyszyk-provider/wyszyk-provider-resource/src/main/java/com/zrqx/resource/model/po/pdflibrary/PdfLibrary.java
浏览文件 @
08b76b3e
...
@@ -46,4 +46,6 @@ public class PdfLibrary {
...
@@ -46,4 +46,6 @@ public class PdfLibrary {
private
Integer
departmentId
;
private
Integer
departmentId
;
@ApiModelProperty
(
value
=
"部门"
)
@ApiModelProperty
(
value
=
"部门"
)
private
String
departmentCode
;
private
String
departmentCode
;
@ApiModelProperty
(
"下载状态 0:下载 1:禁止下载"
)
private
String
isDownload
;
}
}
wyszyk-provider/wyszyk-provider-resource/src/main/java/com/zrqx/resource/model/po/projectlibrary/ProjectLibrary.java
浏览文件 @
08b76b3e
...
@@ -44,4 +44,6 @@ public class ProjectLibrary extends BasePO {
...
@@ -44,4 +44,6 @@ public class ProjectLibrary extends BasePO {
private
Integer
departmentId
;
private
Integer
departmentId
;
@ApiModelProperty
(
value
=
"部门"
)
@ApiModelProperty
(
value
=
"部门"
)
private
String
departmentCode
;
private
String
departmentCode
;
@ApiModelProperty
(
"下载状态 0:下载 1:禁止下载"
)
private
String
isDownload
;
}
}
wyszyk-provider/wyszyk-provider-resource/src/main/java/com/zrqx/resource/model/po/videolibrary/VideoLibrary.java
浏览文件 @
08b76b3e
...
@@ -74,4 +74,6 @@ public class VideoLibrary {
...
@@ -74,4 +74,6 @@ public class VideoLibrary {
private
Integer
departmentId
;
private
Integer
departmentId
;
@ApiModelProperty
(
value
=
"部门"
)
@ApiModelProperty
(
value
=
"部门"
)
private
String
departmentCode
;
private
String
departmentCode
;
@ApiModelProperty
(
"下载状态 0:下载 1:禁止下载"
)
private
String
isDownload
;
}
}
wyszyk-provider/wyszyk-provider-resource/src/main/java/com/zrqx/resource/model/vo/ResourceRelationVO.java
浏览文件 @
08b76b3e
...
@@ -49,6 +49,8 @@ public class ResourceRelationVO {
...
@@ -49,6 +49,8 @@ public class ResourceRelationVO {
private
Integer
browseNum
;
private
Integer
browseNum
;
@ApiModelProperty
(
"所属图书"
)
@ApiModelProperty
(
"所属图书"
)
private
String
source
;
private
String
source
;
@ApiModelProperty
(
"下载状态 0:下载 1:禁止下载"
)
private
String
isDownload
;
//查看全部资源需要
//查看全部资源需要
@ApiModelProperty
(
value
=
"资源包下关联的资源"
)
@ApiModelProperty
(
value
=
"资源包下关联的资源"
)
...
...
wyszyk-provider/wyszyk-provider-resource/src/main/java/com/zrqx/resource/model/vo/audiolibrary/AudioLibraryOneVO.java
浏览文件 @
08b76b3e
...
@@ -54,4 +54,6 @@ public class AudioLibraryOneVO {
...
@@ -54,4 +54,6 @@ public class AudioLibraryOneVO {
private
List
<
RelationAuthor
>
authorList
;
private
List
<
RelationAuthor
>
authorList
;
@ApiModelProperty
(
"广告语"
)
@ApiModelProperty
(
"广告语"
)
private
String
adSlogan
;
private
String
adSlogan
;
@ApiModelProperty
(
"下载状态 0:下载 1:禁止下载"
)
private
String
isDownload
;
}
}
wyszyk-provider/wyszyk-provider-resource/src/main/java/com/zrqx/resource/model/vo/ebook/EbookVO.java
浏览文件 @
08b76b3e
...
@@ -178,4 +178,6 @@ public class EbookVO {
...
@@ -178,4 +178,6 @@ public class EbookVO {
private
String
projectId
;
private
String
projectId
;
@ApiModelProperty
(
"专题名称"
)
@ApiModelProperty
(
"专题名称"
)
private
String
projectName
;
private
String
projectName
;
@ApiModelProperty
(
"下载状态 0:下载 1:禁止下载"
)
private
String
isDownload
;
}
}
wyszyk-provider/wyszyk-provider-resource/src/main/java/com/zrqx/resource/model/vo/goodslibrary/GoodsLibraryVO.java
浏览文件 @
08b76b3e
...
@@ -38,4 +38,6 @@ public class GoodsLibraryVO {
...
@@ -38,4 +38,6 @@ public class GoodsLibraryVO {
private
List
<
Integer
>
labelContentDiyTypeIds
;
private
List
<
Integer
>
labelContentDiyTypeIds
;
@ApiModelProperty
(
"二维码"
)
@ApiModelProperty
(
"二维码"
)
private
String
qrCode
;
private
String
qrCode
;
@ApiModelProperty
(
"下载状态 0:下载 1:禁止下载"
)
private
String
isDownload
;
}
}
wyszyk-provider/wyszyk-provider-resource/src/main/java/com/zrqx/resource/model/vo/pdflibrary/PdfLibraryOneVO.java
浏览文件 @
08b76b3e
...
@@ -30,6 +30,8 @@ public class PdfLibraryOneVO {
...
@@ -30,6 +30,8 @@ public class PdfLibraryOneVO {
private
List
<
String
>
diyTypeCode
;
private
List
<
String
>
diyTypeCode
;
@ApiModelProperty
(
"pdf名称"
)
@ApiModelProperty
(
"pdf名称"
)
private
String
pdfName
;
private
String
pdfName
;
@ApiModelProperty
(
"下载状态 0:下载 1:禁止下载"
)
private
String
isDownload
;
@ApiModelProperty
(
value
=
"作者集合"
)
@ApiModelProperty
(
value
=
"作者集合"
)
private
List
<
RelationAuthor
>
authorList
;
private
List
<
RelationAuthor
>
authorList
;
}
}
wyszyk-provider/wyszyk-provider-resource/src/main/java/com/zrqx/resource/model/vo/projectlibrary/ProjectLibraryVO.java
浏览文件 @
08b76b3e
...
@@ -39,6 +39,8 @@ public class ProjectLibraryVO {
...
@@ -39,6 +39,8 @@ public class ProjectLibraryVO {
private
Date
updatedTime
;
private
Date
updatedTime
;
@ApiModelProperty
(
"浏览数量"
)
@ApiModelProperty
(
"浏览数量"
)
private
Integer
browseNum
;
private
Integer
browseNum
;
@ApiModelProperty
(
"下载状态 0:下载 1:禁止下载"
)
private
String
isDownload
;
@ApiModelProperty
(
"自定义模块集合"
)
@ApiModelProperty
(
"自定义模块集合"
)
private
List
<
ProjectDiyModelVO
>
dms
;
private
List
<
ProjectDiyModelVO
>
dms
;
@ApiModelProperty
(
"专题关联资源集合"
)
@ApiModelProperty
(
"专题关联资源集合"
)
...
...
wyszyk-provider/wyszyk-provider-resource/src/main/java/com/zrqx/resource/model/vo/videolibrary/VideoLibraryOneVO.java
浏览文件 @
08b76b3e
...
@@ -61,4 +61,6 @@ public class VideoLibraryOneVO {
...
@@ -61,4 +61,6 @@ public class VideoLibraryOneVO {
private
List
<
Integer
>
labelContentDiyTypeIds
;
private
List
<
Integer
>
labelContentDiyTypeIds
;
@ApiModelProperty
(
"来源"
)
@ApiModelProperty
(
"来源"
)
private
String
source
;
private
String
source
;
@ApiModelProperty
(
"下载状态 0:下载 1:禁止下载"
)
private
String
isDownload
;
}
}
wyszyk-provider/wyszyk-provider-resource/src/main/java/com/zrqx/resource/model/vo/videolibrary/VideoLibraryVO.java
浏览文件 @
08b76b3e
...
@@ -94,4 +94,6 @@ public class VideoLibraryVO {
...
@@ -94,4 +94,6 @@ public class VideoLibraryVO {
private
String
imgPath
;
private
String
imgPath
;
@ApiModelProperty
(
"二维码"
)
@ApiModelProperty
(
"二维码"
)
private
String
qrCode
;
private
String
qrCode
;
@ApiModelProperty
(
"下载状态 0:下载 1:禁止下载"
)
private
String
isDownload
;
}
}
wyszyk-provider/wyszyk-provider-resource/src/main/java/com/zrqx/resource/service/impl/AudioLibrarySerivceImpl.java
浏览文件 @
08b76b3e
...
@@ -249,6 +249,7 @@ public class AudioLibrarySerivceImpl extends ServiceImpl<AudioLibraryMapper, Aud
...
@@ -249,6 +249,7 @@ public class AudioLibrarySerivceImpl extends ServiceImpl<AudioLibraryMapper, Aud
entity
.
setStatus
(
LibraryStatusEnum
.
STATUS_0
.
getCode
());
entity
.
setStatus
(
LibraryStatusEnum
.
STATUS_0
.
getCode
());
entity
.
setCreatedTime
(
new
Date
());
entity
.
setCreatedTime
(
new
Date
());
entity
.
setUpdateTime
(
new
Date
());
entity
.
setUpdateTime
(
new
Date
());
entity
.
getIsDownload
(
"0"
)
if
(
StringUtils
.
isNotBlank
(
f
.
getAudioName
()))
{
if
(
StringUtils
.
isNotBlank
(
f
.
getAudioName
()))
{
entity
.
setName
(
f
.
getAudioName
().
substring
(
0
,
f
.
getAudioName
().
lastIndexOf
(
"."
)));
entity
.
setName
(
f
.
getAudioName
().
substring
(
0
,
f
.
getAudioName
().
lastIndexOf
(
"."
)));
}
}
...
...
wyszyk-provider/wyszyk-provider-resource/src/main/java/com/zrqx/resource/service/impl/PdfLibrarySerivceImpl.java
浏览文件 @
08b76b3e
...
@@ -156,6 +156,7 @@ public class PdfLibrarySerivceImpl extends ServiceImpl<PdfLibraryMapper, PdfLibr
...
@@ -156,6 +156,7 @@ public class PdfLibrarySerivceImpl extends ServiceImpl<PdfLibraryMapper, PdfLibr
BeanUtils
.
copyProperties
(
f
,
obj
);
BeanUtils
.
copyProperties
(
f
,
obj
);
obj
.
setCreatedTime
(
new
Date
());
obj
.
setCreatedTime
(
new
Date
());
obj
.
setStatus
(
LibraryStatusEnum
.
STATUS_0
.
getCode
());
obj
.
setStatus
(
LibraryStatusEnum
.
STATUS_0
.
getCode
());
obj
.
setIsDownload
(
"0"
);
ObjectMapper
mapper1
=
new
ObjectMapper
();
ObjectMapper
mapper1
=
new
ObjectMapper
();
String
jsonString
=
systemAdminClient
.
infoJson
(
Integer
.
parseInt
(
tokenManager
.
getUserId
()));
String
jsonString
=
systemAdminClient
.
infoJson
(
Integer
.
parseInt
(
tokenManager
.
getUserId
()));
try
{
try
{
...
...
wyszyk-provider/wyszyk-provider-resource/src/main/java/com/zrqx/resource/service/impl/VideoLibrarySerivceImpl.java
浏览文件 @
08b76b3e
...
@@ -271,6 +271,7 @@ public class VideoLibrarySerivceImpl extends ServiceImpl<VideoLibraryMapper, Vid
...
@@ -271,6 +271,7 @@ public class VideoLibrarySerivceImpl extends ServiceImpl<VideoLibraryMapper, Vid
entity
.
setStatus
(
LibraryStatusEnum
.
STATUS_0
.
getCode
());
entity
.
setStatus
(
LibraryStatusEnum
.
STATUS_0
.
getCode
());
entity
.
setCreatedTime
(
new
Date
());
entity
.
setCreatedTime
(
new
Date
());
entity
.
setCreatedTime
(
new
Date
());
entity
.
setCreatedTime
(
new
Date
());
entity
.
setIsDownload
(
"0"
);
if
(
StringUtils
.
isNotBlank
(
f
.
getVideoName
()))
{
if
(
StringUtils
.
isNotBlank
(
f
.
getVideoName
()))
{
entity
.
setName
(
f
.
getVideoName
().
substring
(
0
,
f
.
getVideoName
().
lastIndexOf
(
"."
)));
entity
.
setName
(
f
.
getVideoName
().
substring
(
0
,
f
.
getVideoName
().
lastIndexOf
(
"."
)));
}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论