|
|
@@ -7,8 +7,8 @@ |
|
|
|
<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 |
|
|
|
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.area!=null and param.area !=''"> |
|
|
|
and driver.driver_area=#{param.area} |
|
|
|
<if test="param.driverArea!=null and param.driverArea !=''"> |
|
|
|
and driver.driver_area=#{param.driverArea} |
|
|
|
</if> |
|
|
|
<if test="param.driverName != null and param.driverName !=''"> |
|
|
|
and driver.driver_name like concat('%',#{param.driverName,jdbcType=VARCHAR},'%') |