Commit 412d28f3 authored by suhuiguang's avatar suhuiguang

1.增加shiftId 作为前端key

parent 2efa483c
......@@ -41,7 +41,11 @@
</select>
<select id="bankViewData" resultType="java.util.Map">
SELECT
ds.`name` as shiftName,
S1.*,
S2.name as shiftName
from
(SELECT
s.shift_id as shiftId,
GROUP_CONCAT(i.field_value) AS userName
FROM
cb_duty_person_shift s,
......@@ -55,7 +59,11 @@
AND s.app_key = #{appKey}
and i.group_code =#{groupCode}
GROUP BY
ds.NAME
s.shift_id
) S1,
cb_duty_shift S2
where
s1.shiftId = s2.sequence_nbr
</select>
<select id="stationViewData" resultType="java.util.Map">
select
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment