This commit is contained in:
linfso 2024-05-31 04:53:06 +08:00
parent 0a99d31c8f
commit c4cdec741c
2 changed files with 9 additions and 1 deletions

View File

@ -116,6 +116,9 @@ public class EmisQuotePrice extends BaseEntity
/* 大客户编号 */
private String customerName;
/* 客户月结账号名称 */
private String custName;
private List<EmisQuoteExpression> exprList;
}

View File

@ -52,7 +52,7 @@
<association property="transLine" column="trans_line_code" select="selectLineNameByCode"/>
<association property="useSiteName" column="use_site_code" select="selectSiteNameByCode"/>
<association property="customerName" column="customer_code" select="selectCustomerNameByCode"/>
<association property="custName" column="cust_no" select="selectCustNameByCustNo"/>
<association property="exprList" column="quote_id" select="selectExprListByQuoteId"/>
</resultMap>
@ -91,6 +91,11 @@
select a.customer_name from emis_customer_user a where a.customer_code = #{code} limit 1
</select>
<select id="selectCustNameByCustNo" parameterType="String" resultType="string">
select a.customer_name from emis_customer_user a where a.cust_no = #{code} limit 1
</select>
<select id="selectExprListByQuoteId" parameterType="integer" resultMap="EmisQuoteExpressionResult">
select id, quote_id, quote_sequence, start_weight, end_weight, initial_weight, additional_weight, condition_expression, calculate_expression, status, remark
from emis_quote_expression a