瀏覽代碼

'巡河列表区域搜索'

master
dongyuangong 4 年之前
父節點
當前提交
0d9f354c22
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      src/main/java/com/taauav/admin/mapper/TauvInspectAppMapper.xml

+ 2
- 2
src/main/java/com/taauav/admin/mapper/TauvInspectAppMapper.xml 查看文件

@@ -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},'%')

Loading…
取消
儲存