md
This commit is contained in:
parent
684c10cbc5
commit
ad2b3ab0ed
@ -64,6 +64,10 @@
|
||||
select a.line_name from emis_trans_line a where a.line_code = #{code} limit 1
|
||||
</select>
|
||||
|
||||
<select id="selectMutiLineNameByCode" parameterType="String" resultType="string">
|
||||
select group_concat(a.line_name) from emis_trans_line a where FIND_IN_SET(a.line_code, #{code}) limit 1
|
||||
</select>
|
||||
|
||||
<!-- 查询多个产品名称 -->
|
||||
<select id="selectProdNameByCode" parameterType="String" resultType="string">
|
||||
select group_concat(a.prod_name) from emis_trans_product a where FIND_IN_SET(a.prod_code, #{code}) limit 1
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
<result property="priorityLevel" column="priority_level" />
|
||||
|
||||
<association property="prodName" column="prod_code" select="com.xdadan.erp.emis.mapper.EmisBaseMapper.selectProdNameByCode"/>
|
||||
<association property="transLine" column="trans_line_code" select="com.xdadan.erp.emis.mapper.EmisBaseMapper.selectLineNameByCode"/>
|
||||
<association property="transLine" column="trans_line_code" select="com.xdadan.erp.emis.mapper.EmisBaseMapper.selectMutiLineNameByCode"/>
|
||||
<association property="fromCountryName" column="from_country" select="com.xdadan.erp.emis.mapper.EmisBaseMapper.selectGroupCountryNameByCode"/>
|
||||
<association property="countryName" column="country" select="com.xdadan.erp.emis.mapper.EmisBaseMapper.selectGroupCountryNameByCode"/>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user