This commit is contained in:
linfso 2024-04-17 16:31:30 +08:00
parent eb6f5b2040
commit a8019aca9d

View File

@ -59,15 +59,11 @@
select a.site_name from emis_site a where a.site_code = #{code} limit 1
</select>
<select id="selectEmisDestinationList" parameterType="EmisDestination" resultMap="EmisDestinationResult">
<include refid="selectEmisDestinationVo"/>
<where>
<if test="id != null "> and id = #{id}</if>
<if test="destCode != null and destCode != ''"> and dest_cod=#{destCode}</if>
<if test="destCode != null and destCode != ''"> and dest_code=#{destCode}</if>
<if test="destName != null and destName != ''"> and dest_name like concat('%', #{destName}, '%')</if>
<if test="destNameEn != null and destNameEn != ''"> and dest_name_en like concat('%', #{destNameEn}, '%')</if>
<if test="status != null "> and status = #{status}</if>