Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
Z
zynrgl
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
注册表
注册表
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
svn
zynrgl
Commits
3812f655
提交
3812f655
authored
5月 27, 2019
作者:
renjiancai
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
--no commit message
上级
002f4156
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
44 行增加
和
2 行删除
+44
-2
ClassifyRelationForm.java
.../form/resource/bg/publicLibrary/ClassifyRelationForm.java
+20
-0
LabelRelationForm.java
...ore/form/resource/bg/publicLibrary/LabelRelationForm.java
+22
-0
PublicController.java
...esource/bg/controller/publicLibrary/PublicController.java
+2
-2
没有找到文件。
com.zrqx.core/src/main/java/com/zrqx/core/form/resource/bg/publicLibrary/ClassifyRelationForm.java
0 → 100644
浏览文件 @
3812f655
package
com
.
zrqx
.
core
.
form
.
resource
.
bg
.
publicLibrary
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
java.util.List
;
import
lombok.Data
;
@Data
@ApiModel
(
value
=
"ClassifyRelationForm"
,
description
=
"添加自定义分类"
)
public
class
ClassifyRelationForm
{
@ApiModelProperty
(
"id集合"
)
private
List
<
String
>
ids
;
@ApiModelProperty
(
"资源类型"
)
private
Integer
objectType
;
@ApiModelProperty
(
value
=
"自定义分类id"
)
private
List
<
String
>
diyTypeId
;
@ApiModelProperty
(
value
=
"自定义分类code"
)
private
List
<
String
>
diyTypeCode
;
}
com.zrqx.core/src/main/java/com/zrqx/core/form/resource/bg/publicLibrary/LabelRelationForm.java
0 → 100644
浏览文件 @
3812f655
package
com
.
zrqx
.
core
.
form
.
resource
.
bg
.
publicLibrary
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
java.util.List
;
import
lombok.Data
;
@Data
@ApiModel
(
value
=
"SaveUpdateLabelRelationForm"
,
description
=
"添加自定义标签表"
)
public
class
LabelRelationForm
{
@ApiModelProperty
(
"资源Id"
)
private
String
objectId
;
@ApiModelProperty
(
"资源类型"
)
private
Integer
objectType
;
@ApiModelProperty
(
value
=
"标签id"
)
private
List
<
String
>
labelId
;
@ApiModelProperty
(
value
=
"标签内容id"
)
private
List
<
String
>
labelContentId
;
@ApiModelProperty
(
value
=
"标签内容code"
)
private
List
<
String
>
labelContentCode
;
}
com.zrqx.resource/src/main/java/com/zrqx/resource/bg/controller/publicLibrary/PublicController.java
浏览文件 @
3812f655
...
...
@@ -36,7 +36,7 @@ import com.zrqx.core.form.resource.bg.QueryResourceForPoPForm;
import
com.zrqx.core.form.resource.bg.QueryResourceRelationForm
;
import
com.zrqx.core.form.resource.bg.SaveResourceRelationForm
;
import
com.zrqx.core.form.resource.bg.ebook.ExportForm
;
import
com.zrqx.core.form.resource.bg.
imagelibrary.BatchUpdateImageLibrary
Form
;
import
com.zrqx.core.form.resource.bg.
publicLibrary.ClassifyRelation
Form
;
import
com.zrqx.core.model.resource.publicLibrary.ClassifyRelation
;
import
com.zrqx.core.model.resource.publicLibrary.ResourceRelation
;
import
com.zrqx.core.util.CallBack
;
...
...
@@ -259,7 +259,7 @@ public class PublicController {
}
@ApiOperation
(
value
=
"批量修改分类"
,
notes
=
"批量修改分类"
)
@PostMapping
(
value
=
ResourceRequestPath
.
BATCH_UPDATE_DIYTIPE
)
public
CallBack
<
Boolean
>
updateDivType
(
@RequestBody
BatchUpdateImageLibrary
Form
form
)
{
public
CallBack
<
Boolean
>
updateDivType
(
@RequestBody
ClassifyRelation
Form
form
)
{
List
<
ClassifyRelation
>
list
=
new
ArrayList
<
ClassifyRelation
>();
form
.
getIds
().
forEach
(
objectId
->
{
//刪除原有的分类
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论