daixiantong 4 lat temu
rodzic
commit
185bf5139a
1 zmienionych plików z 4 dodań i 4 usunięć
  1. +4
    -4
      src/main/java/com/taauav/front/mapper/UserInspectQuestionMapper.xml

+ 4
- 4
src/main/java/com/taauav/front/mapper/UserInspectQuestionMapper.xml Wyświetl plik

@@ -103,9 +103,9 @@
from tauv_inspect_question as q
left join tauv_inspect_driver as d on q.inspect_driver_id = d.id
left join tauv_inspect_file as f on q.inspect_file_id = f.id
left join tauv_question_options as o on f.question_id = o.id
left join tauv_question_options as o on q.question_id = o.id
left join sys_city as t on d.driver_area = t.id
where q.mark = 1 and d.mark = 1 and f.mark = 1 and o.mark = 1
where q.mark = 1 and d.mark = 1 and o.mark = 1
<if test="param != null and param.driverId != null and param.driverId > 0">
and d.driver_name like concat('%', #{param.driverName}, '%')
</if>
@@ -130,7 +130,7 @@
from tauv_inspect_question as q
left join tauv_inspect_driver as d on q.inspect_driver_id = d.id
left join tauv_inspect_file as f on q.inspect_file_id = f.id
left join tauv_question_options as o on f.question_id = o.id
left join tauv_question_options as o on q.question_id = o.id
left join user_admin as a on q.create_user = a.id
left join user_dep as a1 on a.dep_id = a1.id
left join user_admin as b on q.assign_user = b.id
@@ -138,7 +138,7 @@
left join user_admin as c on q.handler_user = c.id
left join user_dep as c1 on c.dep_id = c1.id
left join sys_city as t on d.driver_area = t.id
where q.mark = 1 and d.mark = 1 and f.mark = 1 and o.mark = 1 and t.mark = 1 and q.id = #{id}
where q.mark = 1 and d.mark = 1 and o.mark = 1 and t.mark = 1 and q.id = #{id}
</select>

</mapper>

Ładowanie…
Anuluj
Zapisz