|
@@ -41,11 +41,12 @@
|
|
|
<id column="settlement_cycle" property="settlementCycle"/>
|
|
|
<id column="gmt_create" property="gmtCreate"/>
|
|
|
<id column="gmt_modified" property="gmtModified"/>
|
|
|
+ <id column="exchange_rate" property="exchangeRate"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="Base_Column_List">
|
|
|
id, customer_user_id, contract_no, contract_name, importer_cert_no, importer_enterprise_name, agency_cert_no, agency_enterprise_name, trade_terms, port_departure, port_destination, template_type, sign_date, submit_status, contract_status, audit_status, gmt_create, gmt_modified,
|
|
|
- deleted, create_by, update_by
|
|
|
+ deleted, exchange_rate, create_by, update_by
|
|
|
</sql>
|
|
|
|
|
|
|
|
@@ -53,9 +54,9 @@
|
|
|
parameterType="com.trade.service.sales.dto.ContractSearchDto"
|
|
|
resultMap="VoResultMap">
|
|
|
select
|
|
|
- t.id, t.customer_user_id, t.contract_no, t.contract_name, t.importer_enterprise_name
|
|
|
+ t.id, t.customer_user_id, t.contract_no, t.contract_name, t.importer_enterprise_name,
|
|
|
t.agency_enterprise_name, t.port_destination, t.template_type, t.contract_status,
|
|
|
- t.gmt_create, t.gmt_modified, c.payment_way, c.payment_currency, c.settlement_cycle
|
|
|
+ t.gmt_create, t.gmt_modified, t.exchange_rate, c.payment_way, c.payment_currency, c.settlement_cycle
|
|
|
from sales_contract t join contract_terms c on t.contract_no = c.contract_no
|
|
|
<where>
|
|
|
t.deleted = 0
|