md
This commit is contained in:
parent
9cd928d9b2
commit
722c36a6b7
@ -72,5 +72,5 @@ public class EmisTransLine extends BaseEntity
|
||||
private String fromCountryName;
|
||||
private String countryName;
|
||||
|
||||
private String brandName;
|
||||
private String logoTypeName;
|
||||
}
|
||||
|
||||
@ -267,7 +267,7 @@
|
||||
<if test="sitePos != null and sitePos != ''"> and site_pos like concat('%', #{sitePos}, '%')</if>
|
||||
<if test="distributeCode != null and distributeCode != ''"> and distribute_code like concat('%', #{distributeCode}, '%')</if>
|
||||
<if test="blPushSite != null and blPushSite != ''"> and bl_push_site like concat('%', #{blPushSite}, '%')</if>
|
||||
<if test="logoType != null and logoType != ''"> and logo_type like concat('%', #{logoType}, '%')</if>
|
||||
<if test="logoType != null and logoType != ''"> and logo_type=#{logoType}</if>
|
||||
<if test="sizeCode2 != null and sizeCode2 != ''"> and size_code2 like concat('%', #{sizeCode2}, '%')</if>
|
||||
<if test="sizeCode3 != null and sizeCode3 != ''"> and size_code3 like concat('%', #{sizeCode3}, '%')</if>
|
||||
<if test="auditStatus != null and auditStatus != ''"> and audit_status like concat('%', #{auditStatus}, '%')</if>
|
||||
|
||||
@ -35,7 +35,7 @@
|
||||
|
||||
<association property="fromCountryName" column="from_country" select="selectCountryNameByCode"/>
|
||||
<association property="countryName" column="country" select="selectCountryNameByCode"/>
|
||||
<association property="brandName" column="logo_type" select="selectBrandNameByCode"/>
|
||||
<association property="logoTypeName" column="logo_type" select="selectBrandNameByCode"/>
|
||||
|
||||
|
||||
</resultMap>
|
||||
@ -46,7 +46,7 @@
|
||||
</select>
|
||||
|
||||
<select id="selectBrandNameByCode" parameterType="String" resultType="string">
|
||||
select concat(a.name,'(',a.name_en,')') as name from emis_brand a where a.code = #{code}
|
||||
select a.name from emis_brand a where a.code = #{code}
|
||||
</select>
|
||||
|
||||
<sql id="selectEmisTransLineVo">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user