Commit 16e8c7bf authored by tangwei's avatar tangwei

修改值班日期出现的脏数据

parent 1d6ebea7
...@@ -263,7 +263,7 @@ select * from ( ...@@ -263,7 +263,7 @@ select * from (
cb_duty_person_shift dp cb_duty_person_shift dp
LEFT JOIN cb_duty_shift ds ON dp.shift_id = ds.sequence_nbr LEFT JOIN cb_duty_shift ds ON dp.shift_id = ds.sequence_nbr
WHERE WHERE
dp.duty_date = #{dutyDate} and dp.is_delete=0 dp.duty_date = #{dutyDate} and dp.is_delete=0 and dp.shift_id is not null
) cds ON cd.instance_id = cds.instance_id ) cds ON cd.instance_id = cds.instance_id
where cd.group_code =#{groupCode} and cds.instance_id is not null and where cd.group_code =#{groupCode} and cds.instance_id is not null and
cd.is_delete=0 cd.is_delete=0
......
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