This commit is contained in:
linfso 2024-04-17 16:00:33 +08:00
parent f8524525b0
commit eb6f5b2040

View File

@ -44,20 +44,19 @@
</sql>
<select id="selectCountryNameByCode" parameterType="String" resultType="string">
select a.name from emis_country a where a.code = #{code}
select a.name from emis_country a where a.code = #{code} limit 1
</select>
<select id="selectLineNameByCode" parameterType="String" resultType="string">
select a.line_name from emis_trans_line a where a.line_code = #{code}
select a.line_name from emis_trans_line a where a.line_code = #{code} limit 1
</select>
<select id="selectRegionNameByCode" parameterType="String" resultType="string">
select a.region_name from emis_region a where a.region_code = #{code}
select a.region_name from emis_region a where a.region_code = #{code} limit 1
</select>
<select id="selectSiteNameByCode" parameterType="String" resultType="string">
select a.site_name from emis_site a where a.site_code = #{code}
select a.site_name from emis_site a where a.site_code = #{code} limit 1
</select>