Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
easy-affair-show
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
easy-affair-show
Commits
f6aa6f20
Commit
f6aa6f20
authored
Jun 16, 2022
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
素材分组接口修改
parent
1d061db1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
eas-manager/src/main/java/com/mortals/xhx/base/system/param/model/ParamEntityExt.java
...m/mortals/xhx/base/system/param/model/ParamEntityExt.java
+1
-1
eas-manager/src/main/java/com/mortals/xhx/module/picture/web/PictureGroupController.java
...ortals/xhx/module/picture/web/PictureGroupController.java
+2
-2
No files found.
eas-manager/src/main/java/com/mortals/xhx/base/system/param/model/ParamEntityExt.java
View file @
f6aa6f20
...
...
@@ -6,5 +6,5 @@ import lombok.Data;
@Data
public
class
ParamEntityExt
extends
BaseEntityLong
{
/** 素材分组名称 */
private
String
g
roupName
;
private
String
pictureG
roupName
;
}
eas-manager/src/main/java/com/mortals/xhx/module/picture/web/PictureGroupController.java
View file @
f6aa6f20
...
...
@@ -38,7 +38,7 @@ public class PictureGroupController extends BaseCRUDJsonBodyMappingController<Pa
@Override
protected
void
saveBefore
(
ParamEntity
entity
,
Map
<
String
,
Object
>
model
,
Context
context
)
throws
AppException
{
if
(
StringUtils
.
isEmpty
(
entity
.
getGroupName
())){
if
(
StringUtils
.
isEmpty
(
entity
.
get
Picture
GroupName
())){
throw
new
AppException
(
"分组名称不能为空"
);
}
ParamEntity
query
=
new
ParamEntity
();
...
...
@@ -48,7 +48,7 @@ public class PictureGroupController extends BaseCRUDJsonBodyMappingController<Pa
int
size
=
(
paramEntities
==
null
?
0
:
paramEntities
.
size
())
+
1
;
entity
.
setParamKey
(
size
+
""
);
entity
.
setName
(
"素材分组"
);
entity
.
setParamValue
(
entity
.
getGroupName
());
entity
.
setParamValue
(
entity
.
get
Picture
GroupName
());
entity
.
setFirstOrganize
(
"PictureMaterial"
);
entity
.
setSecondOrganize
(
"pictureGroupId"
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment