This commit is contained in:
linfso 2024-05-24 09:55:41 +08:00
parent 26b62ba728
commit 36e02e240e

View File

@ -40,8 +40,8 @@
select 1 as id, 1 as plan_id, a.site_code as start_site , a.site_code as dest_site
from emis_site a
where a.del_flag='0'
<if test="startSite != null and startSite != ''"> and a.site_code!=#{startSite} and a.site_code!='88888' </if>
<if test="destSite != null and destSite != ''"> and a.site_code!=#{destSite} and a.site_code!='88888' </if>
<if test="startSite != null and startSite != ''"> and a.site_code!=#{startSite} and site_type not in(1,2) </if>
<if test="destSite != null and destSite != ''"> and a.site_code!=#{destSite} and site_type not in(1,2) </if>
order by site_code asc
</select>