This commit is contained in:
linfso 2024-04-17 12:06:52 +08:00
parent d7da49c804
commit 2f66cfdfb4

View File

@ -159,7 +159,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<include refid="selectEmisSiteVo"/>
<where>
<if test="id != null "> and id = #{id}</if>
<if test="siteCode != null and siteCode != ''"> and site_code like concat('%', #{siteCode}, '%')</if>
<if test="siteCode != null and siteCode != ''"> and site_code= #{siteCode}</if>
<if test="siteName != null and siteName != ''"> and site_name like concat('%', #{siteName}, '%')</if>
<if test="siteNameEn != null and siteNameEn != ''"> and site_name_en like concat('%', #{siteNameEn}, '%')</if>
<if test="parentSiteId != null and parentSiteId != ''"> and parent_site_id like concat('%', #{parentSiteId}, '%')</if>