Commit 19514598 authored by tangwei's avatar tangwei

修改sql

parent 6ecba2ac
...@@ -381,7 +381,7 @@ LEFT JOIN cb_fire_team cft ON cff.fire_team_id = cft.sequence_nbr ...@@ -381,7 +381,7 @@ LEFT JOIN cb_fire_team cft ON cff.fire_team_id = cft.sequence_nbr
cb_data_dictionary cb_data_dictionary
WHERE WHERE
CODE = b.peopleTypecode CODE = b.peopleTypecode
AND type = 'DWRYLX' AND type = 'DLRYLX'
) AS peopleType, ) AS peopleType,
fc.emergency_contact, fc.emergency_contact,
fc.emergency_contact_phone, fc.emergency_contact_phone,
......
...@@ -650,7 +650,7 @@ GROUP BY ...@@ -650,7 +650,7 @@ GROUP BY
cb_data_dictionary cb_data_dictionary
WHERE WHERE
CODE = b.peopleTypecode CODE = b.peopleTypecode
AND type = 'DWRYLX' AND type = 'DLRYLX'
) AS peopleType, ) AS peopleType,
( (
SELECT 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