|
|
|
|
|
|
|
|
<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 !=''"> |