This commit is contained in:
linfso 2024-04-18 17:55:40 +08:00
parent b31f296326
commit 67d6f51dba

View File

@ -100,7 +100,7 @@
<result property="sitePos" column="site_pos" />
<result property="distributeCode" column="distribute_code" />
<result property="blPushSite" column="bl_push_site" />
<result property="logoType" column="logo_type" />
<result property="sizeCode2" column="size_code2" />
<result property="sizeCode3" column="size_code3" />
<result property="auditStatus" column="audit_status" />
@ -131,6 +131,7 @@
<association property="parentSiteName" column="parent_site_code" select="selectSiteNameByCode"/>
<association property="superiorFinanceCenterName" column="superior_finance_center_code" select="selectSiteNameByCode"/>
<association property="logoType" column="logo_type" select="selectBrandNameByCode"/>
</resultMap>
@ -142,6 +143,10 @@
select a.site_name from emis_site a where a.site_code = #{code} limit 1
</select>
<select id="selectBrandNameByCode" parameterType="String" resultType="string">
select a.name from emis_brand a where a.code = #{code} limit 1
</select>
<select id="selectEmisSiteList" parameterType="EmisSite" resultMap="EmisSiteResult">
<include refid="selectEmisSiteVo"/>
<where>