forked from integrated_whb/integrated_whb
年检管理列表页查询慢bug优化
parent
0751df5651
commit
4f973b0e4b
|
@ -185,7 +185,7 @@
|
||||||
v1.PLATE_NUMBER
|
v1.PLATE_NUMBER
|
||||||
from
|
from
|
||||||
<include refid="tableName"></include> f
|
<include refid="tableName"></include> f
|
||||||
left join sys_dictionaries b on f.ANNUAL_INSPECTION_CYCLE = b.DICTIONARIES_ID
|
left join sys_dictionaries b on f.ANNUAL_INSPECTION_CYCLE = b.DICTIONARIES_ID AND b.PARENT_ID = '8b7dea3977fd4360a3cc8112368b90ff'
|
||||||
INNER JOIN v_traffic v1 on f.VEHICLE=v1.ID
|
INNER JOIN v_traffic v1 on f.VEHICLE=v1.ID
|
||||||
where f.ISDELETE = '0' and f.CORPINFO_ID = #{pd.CORPINFO_ID}
|
where f.ISDELETE = '0' and f.CORPINFO_ID = #{pd.CORPINFO_ID}
|
||||||
<if test="pd.PLATE_NUMBER != null and pd.PLATE_NUMBER != ''">
|
<if test="pd.PLATE_NUMBER != null and pd.PLATE_NUMBER != ''">
|
||||||
|
|
Loading…
Reference in New Issue