Explorar el Código

'巡河列表区域搜索'

master
dongyuangong hace 4 años
padre
commit
2d7279c7e9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/main/java/com/taauav/admin/mapper/TauvInspectAppMapper.xml

+ 1
- 1
src/main/java/com/taauav/admin/mapper/TauvInspectAppMapper.xml Ver fichero

<select id="getAppList" resultType="com.taauav.admin.vo.TauvInspectAppVo"> <select id="getAppList" resultType="com.taauav.admin.vo.TauvInspectAppVo">
select app.*,driver.inspect_no,driver.num,driver.driver_name,driver.driver_area,driver.id as inspect_driver_id select app.*,driver.inspect_no,driver.num,driver.driver_name,driver.driver_area,driver.id as inspect_driver_id
from tauv_inspect_app as app left join tauv_inspect_driver as driver on app.id=driver.inspect_id where driver.source=2 from tauv_inspect_app as app left join tauv_inspect_driver as driver on app.id=driver.inspect_id where driver.source=2
<if test="param.driverArea!=null and param.driverArea !=''">
<if test="param.area!=null and param.area !=''">
and driver.driver_area=#{param.area} and driver.driver_area=#{param.area}
</if> </if>
<if test="param.driverName != null and param.driverName !=''"> <if test="param.driverName != null and param.driverName !=''">

Cargando…
Cancelar
Guardar