|
@@ -18,6 +18,7 @@
|
|
<result column="acct_no" property="acctNo" />
|
|
<result column="acct_no" property="acctNo" />
|
|
<result column="acct_open_bank" property="acctOpenBank" />
|
|
<result column="acct_open_bank" property="acctOpenBank" />
|
|
<result column="business_address" property="businessAddress" />
|
|
<result column="business_address" property="businessAddress" />
|
|
|
|
+ <result column="vat_no" property="vatNo" />
|
|
<result column="gmt_create" property="gmtCreate" />
|
|
<result column="gmt_create" property="gmtCreate" />
|
|
<result column="gmt_modified" property="gmtModified" />
|
|
<result column="gmt_modified" property="gmtModified" />
|
|
</resultMap>
|
|
</resultMap>
|
|
@@ -27,7 +28,7 @@
|
|
id,
|
|
id,
|
|
deleted,
|
|
deleted,
|
|
customer_user_id, entity_no, entity_name, cert_no, contact_name, contact_cert_no, contact_mobile, contact_email, acct_name, acct_no, acct_open_bank,
|
|
customer_user_id, entity_no, entity_name, cert_no, contact_name, contact_cert_no, contact_mobile, contact_email, acct_name, acct_no, acct_open_bank,
|
|
- business_address, gmt_create, gmt_modified
|
|
|
|
|
|
+ business_address, vat_no, gmt_create, gmt_modified
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
<select id="getByUserIdAndEntityName" resultType="com.trade.service.enterprise.companyrelated.domain.VendorEntity">
|
|
<select id="getByUserIdAndEntityName" resultType="com.trade.service.enterprise.companyrelated.domain.VendorEntity">
|
|
@@ -48,7 +49,7 @@
|
|
a.id,
|
|
a.id,
|
|
a.deleted,
|
|
a.deleted,
|
|
a.customer_user_id, a.entity_no, a.entity_name, a.cert_no, a.contact_name, a.contact_cert_no, a.contact_mobile, a.contact_email, a.acct_name, a.acct_no, a.acct_open_bank,
|
|
a.customer_user_id, a.entity_no, a.entity_name, a.cert_no, a.contact_name, a.contact_cert_no, a.contact_mobile, a.contact_email, a.acct_name, a.acct_no, a.acct_open_bank,
|
|
- a.business_address, a.gmt_create, a.gmt_modified,
|
|
|
|
|
|
+ a.business_address, a.vat_no, a.gmt_create, a.gmt_modified,
|
|
b.name as customer_name, b.customer_identifier_no
|
|
b.name as customer_name, b.customer_identifier_no
|
|
FROM
|
|
FROM
|
|
vendor_entity a
|
|
vendor_entity a
|
|
@@ -77,7 +78,7 @@
|
|
a.id,
|
|
a.id,
|
|
a.deleted,
|
|
a.deleted,
|
|
a.customer_user_id, a.entity_no, a.entity_name, a.cert_no, a.contact_name, a.contact_cert_no, a.contact_mobile, a.contact_email, a.acct_name, a.acct_no, a.acct_open_bank,
|
|
a.customer_user_id, a.entity_no, a.entity_name, a.cert_no, a.contact_name, a.contact_cert_no, a.contact_mobile, a.contact_email, a.acct_name, a.acct_no, a.acct_open_bank,
|
|
- a.business_address, a.gmt_create, a.gmt_modified,
|
|
|
|
|
|
+ a.business_address, a.vat_no, a.gmt_create, a.gmt_modified,
|
|
b.name as customer_name, b.customer_identifier_no
|
|
b.name as customer_name, b.customer_identifier_no
|
|
FROM
|
|
FROM
|
|
vendor_entity a
|
|
vendor_entity a
|