Commit 412fcfef by levphon

工单详情-导入

1 parent a670c896
...@@ -200,11 +200,11 @@ ...@@ -200,11 +200,11 @@
<select id="selectIncompleteByServiceTypeAndVin" resultMap="BaseResultMap"> <select id="selectIncompleteByServiceTypeAndVin" resultMap="BaseResultMap">
select tw.* select tw.*
from t_workorder tw from t_workorder tw
left join t_vehicle tv on tv.workorder_id = tw.id left join t_workorder_vehicle twv on twv.workorder_id = tw.id
where tw.del_flag = 0 where tw.del_flag = 0
and tw.status in (0, 1) and tw.status in (0, 1)
and tw.service_type = #{serviceType} and tw.service_type = #{serviceType}
and tv.vin = #{vin} and twv.vin = #{vin} limit 1
</select> </select>
<update id="logicDeleteById"> <update id="logicDeleteById">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!