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
81b0d9c8
Commit
81b0d9c8
authored
Aug 26, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新事项,异步更新关联
parent
0946927a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
14 deletions
+9
-14
base-manager/src/main/resources/sqlmap/module/app/AppDatasetMapperExt.xml
.../main/resources/sqlmap/module/app/AppDatasetMapperExt.xml
+8
-14
base-manager/src/test/java/com/mortals/httpclient/app/AppDatasetController.http
...java/com/mortals/httpclient/app/AppDatasetController.http
+1
-0
No files found.
base-manager/src/main/resources/sqlmap/module/app/AppDatasetMapperExt.xml
View file @
81b0d9c8
...
...
@@ -36,20 +36,14 @@
<include
refid=
"_second_condition_"
/>
</trim>
</trim>
order by
IF
( `fieldCode` = 'top', '0', '1' ),
`fieldValue` DESC,
IF
( `fieldType` = 'date', '0', '1' ),
`fieldValue` DESC,
IF
( `fieldCode` = 'sort', '0', '1' ),
`fieldValue` ASC;
order by
CASE
WHEN `fieldCode` = 'top' THEN 0
WHEN `fieldCode` = 'sort' THEN 1
WHEN `fieldCode` = 'date' THEN 2
ELSE 3
END,
fieldValue ;
</select>
...
...
base-manager/src/test/java/com/mortals/httpclient/app/AppDatasetController.http
View file @
81b0d9c8
...
...
@@ -57,6 +57,7 @@ Content-Type: application/json
{
"appId": 54,
"fieldCode": "title",
"page": 1,
"size": 10
...
...
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