Bladeren bron

'巡河列表区域搜索'

master
dongyuangong 4 jaren geleden
bovenliggende
commit
0d9f354c22
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. +2
    -2
      src/main/java/com/taauav/admin/mapper/TauvInspectAppMapper.xml

+ 2
- 2
src/main/java/com/taauav/admin/mapper/TauvInspectAppMapper.xml Bestand weergeven

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

Laden…
Annuleren
Opslaan