Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
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
赵啸非
smart_gov_platform
Commits
fadf5bb9
Commit
fadf5bb9
authored
Jan 06, 2025
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
设置材料倒序
parent
37ff7554
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
base-manager/src/main/java/com/mortals/xhx/module/matter/web/MatterDatumController.java
.../mortals/xhx/module/matter/web/MatterDatumController.java
+5
-3
No files found.
base-manager/src/main/java/com/mortals/xhx/module/matter/web/MatterDatumController.java
View file @
fadf5bb9
...
...
@@ -77,7 +77,6 @@ public class MatterDatumController extends BaseCRUDJsonBodyMappingController<Mat
}
/**
* @param id
* @param model
...
...
@@ -103,7 +102,10 @@ public class MatterDatumController extends BaseCRUDJsonBodyMappingController<Mat
@Override
protected
void
doListBefore
(
MatterDatumEntity
query
,
Map
<
String
,
Object
>
model
,
Context
context
)
throws
AppException
{
MDC
.
put
(
"startTime"
,
String
.
valueOf
(
System
.
currentTimeMillis
()));
if
(
ObjectUtils
.
isEmpty
(
query
.
getOrderColList
())){
if
(
ObjectUtils
.
isEmpty
(
query
.
getSize
()))
{
query
.
setSize
(
20
);
}
if
(
ObjectUtils
.
isEmpty
(
query
.
getOrderColList
()))
{
query
.
getOrderColList
().
add
(
new
OrderCol
(
"id"
,
OrderCol
.
DESCENDING
));
}
super
.
doListBefore
(
query
,
model
,
context
);
...
...
@@ -181,7 +183,7 @@ public class MatterDatumController extends BaseCRUDJsonBodyMappingController<Mat
String
code
=
obj
.
getString
(
"code"
);
String
data
=
obj
.
getString
(
"data"
);
if
(
"0"
.
equals
(
code
))
{
return
Rest
.
ok
(
"获取附件链接成功!"
,
data
);
return
Rest
.
ok
(
"获取附件链接成功!"
,
data
);
}
else
{
return
Rest
.
fail
(
"获取链接失败"
);
}
...
...
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