src/main/resources/mapper/StaDescMapper.xml
@@ -19,13 +19,11 @@ </resultMap> <select id="queryOutStaNosByLocNo" resultType="java.lang.Integer"> <select id="queryOutStaNosByLocNo" resultType="integer"> select distinct asd.stn_no from asr_sta_desc asd left join asr_loc_mast alm on asd.crn_no = alm.crn_no where 1=1 and alm.loc_no = #{locNo} <if test="typeNo != null and typeNo !=''"> and asd.type_no = #{typeNo} </if>