md
This commit is contained in:
parent
1d28e4ef75
commit
b33b10717b
@ -58,4 +58,14 @@ public class EmisTmsCostQuotePrice extends BaseEntity
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private Date endDate;
|
||||
|
||||
|
||||
|
||||
// 扩展字段 ------
|
||||
/** 起始网点名称 */
|
||||
private String startSiteName;
|
||||
/** 下一网点名称 */
|
||||
private String nextSiteName;
|
||||
/** 供应商名称 */
|
||||
private String supplierName;
|
||||
|
||||
}
|
||||
|
||||
@ -207,5 +207,10 @@
|
||||
</select>
|
||||
|
||||
|
||||
<select id="selectSupplierNameByCode" parameterType="String" resultType="string">
|
||||
select a.name from emis_supplier a where a.code = #{code} limit 1
|
||||
</select>
|
||||
|
||||
|
||||
|
||||
</mapper>
|
||||
@ -16,6 +16,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<result property="supplierCode" column="supplier_code" />
|
||||
<result property="startDate" column="start_date" />
|
||||
<result property="endDate" column="end_date" />
|
||||
|
||||
<association property="startSiteName" column="start_site_code" select="com.xdadan.erp.emis.mapper.EmisBaseMapper.selectSiteNameByCode"/>
|
||||
<association property="nextSiteName" column="next_site_code" select="com.xdadan.erp.emis.mapper.EmisBaseMapper.selectSiteNameByCode"/>
|
||||
<association property="supplierName" column="supplier_code" select="com.xdadan.erp.emis.mapper.EmisBaseMapper.selectSupplierNameByCode"/>
|
||||
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectEmisTmsCostQuotePriceVo">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user