This commit is contained in:
linfso 2024-05-17 06:08:55 +08:00
parent 2b2226344f
commit 1084f3c3f3

View File

@ -178,19 +178,19 @@
<association property="sendSiteName" column="send_site_code" select="selectSiteNameByCode"/>
<association property="dispatchUnderlingSiteName" column="dispatch_underling_site_code" select="selectSiteNameByCode"/>
<association property="destinationName" column="send_site_code" select="selectDestNameByCode"/>
<association property="destinationName" column="destination_code" select="selectDestNameByCode"/>
<association property="dispatchSiteName" column="dispatch_site_code" select="selectSiteNameByCode"/>
<association property="dispatchManName" column="dispatch_man_code" select="selectEmpNameByCode"/>
<association property="printSiteName" column="dispatch_site_code" select="selectSiteNameByCode"/>
<association property="printSiteName" column="print_site" select="selectSiteNameByCode"/>
<association property="printManName" column="print_man_code" select="selectEmpNameByCode"/>
</resultMap>
<select id="selectDestNameByCode" parameterType="String" resultType="string">
select a.dest_name from emis_destination a where a.destination_code = #{code} and a.del_flag='0' limit 1
select a.dest_name from emis_destination a where a.dest_code = #{code} and a.del_flag='0' limit 1
</select>
<select id="selectSiteNameByCode" parameterType="String" resultType="string">