Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
412d28f3
Commit
412d28f3
authored
Jul 12, 2021
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.增加shiftId 作为前端key
parent
2efa483c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
DutyPersonShiftMapper.xml
...n-api/src/main/resources/mapper/DutyPersonShiftMapper.xml
+10
-2
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-common-api/src/main/resources/mapper/DutyPersonShiftMapper.xml
View file @
412d28f3
...
@@ -41,7 +41,11 @@
...
@@ -41,7 +41,11 @@
</select>
</select>
<select
id=
"bankViewData"
resultType=
"java.util.Map"
>
<select
id=
"bankViewData"
resultType=
"java.util.Map"
>
SELECT
SELECT
ds.`name` as shiftName,
S1.*,
S2.name as shiftName
from
(SELECT
s.shift_id as shiftId,
GROUP_CONCAT(i.field_value) AS userName
GROUP_CONCAT(i.field_value) AS userName
FROM
FROM
cb_duty_person_shift s,
cb_duty_person_shift s,
...
@@ -55,7 +59,11 @@
...
@@ -55,7 +59,11 @@
AND s.app_key = #{appKey}
AND s.app_key = #{appKey}
and i.group_code =#{groupCode}
and i.group_code =#{groupCode}
GROUP BY
GROUP BY
ds.NAME
s.shift_id
) S1,
cb_duty_shift S2
where
s1.shiftId = s2.sequence_nbr
</select>
</select>
<select
id=
"stationViewData"
resultType=
"java.util.Map"
>
<select
id=
"stationViewData"
resultType=
"java.util.Map"
>
select
select
...
...
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