Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
java_seaskyflowportal
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
班迪
java_seaskyflowportal
Merge requests
!154
Feature/chenmin
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Feature/chenmin
feature/chenmin
into
develop
Overview
0
Commits
2
Pipelines
1
Changes
3
Merged
chenmin
requested to merge
feature/chenmin
into
develop
2 weeks ago
Overview
0
Commits
2
Pipelines
1
Changes
3
Expand
0
0
Merge request reports
Compare
develop
develop (base)
and
latest version
latest version
13647d97
2 commits,
2 weeks ago
3 files
+
47
−
42
Expand all files
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
ServiceSite/src/main/java/com/seasky/flowportal/mapper/xml/BusFlowMapper.xml
+
5
−
5
Options
@@ -6,7 +6,7 @@
resultType=
"com.seasky.flowportal.domain.po.BusFlowPo"
>
SELECT *
FROM (
SELECT *,row_number() over (PARTITION BY apply_code ORDER BY create_date DESC) AS group_idx
SELECT *,row_number() over (PARTITION BY apply_code ORDER BY create_date
DESC, id
DESC) AS group_idx
FROM tb_bus_flow
WHERE instance_id = #{qry.instanceId} AND execution_status = #{qry.executionStatus}
) u
@@ -14,7 +14,7 @@
<if
test=
"qry.applyCode != null and qry.applyCode != ''"
>
AND apply_code LIKE "%"#{qry.applyCode}"%"
</if>
ORDER BY create_date DESC
ORDER BY create_date DESC
, id DESC
</select>
<select
id=
"selectFirstNotYetSuccessfulBusFlow"
@@ -30,7 +30,7 @@
AND apply_code = #{qry.applyCode}
</if>
</where>
ORDER BY create_date ASC
ORDER BY create_date ASC
, id ASC
LIMIT 1
</select>
@@ -57,7 +57,7 @@
AND create_date
<
= #{qry.createDate}
</if>
</where>
ORDER BY create_date DESC
ORDER BY create_date DESC
, id DESC
LIMIT 1
</select>
@@ -83,7 +83,7 @@
AND create_date
<
= #{qry.createDate}
</if>
</where>
ORDER BY create_date DESC
ORDER BY create_date DESC
, id DESC
</select>
</mapper>
\ No newline at end of file