ソースを参照

供应商新增税号字段

zhangchenm 6 日 前
コミット
26b0847c47

+ 5 - 0
trade-service/src/main/java/com/trade/service/enterprise/companyrelated/domain/VendorEntity.java

@@ -81,4 +81,9 @@ public class VendorEntity extends BizBaseEntity {
      */
     @NotBlank(message = "经营地址不能为空")
     private String businessAddress;
+    /**
+     * 税号
+     */
+    @NotBlank(message = "税号不能为空")
+    private String vatNo;
 }

+ 4 - 3
trade-service/src/main/resources/mapper/enterprise/companyrelated/VendorEntityMapper.xml

@@ -18,6 +18,7 @@
         <result column="acct_no" property="acctNo" />
         <result column="acct_open_bank" property="acctOpenBank" />
         <result column="business_address" property="businessAddress" />
+        <result column="vat_no" property="vatNo" />
         <result column="gmt_create" property="gmtCreate" />
         <result column="gmt_modified" property="gmtModified" />
     </resultMap>
@@ -27,7 +28,7 @@
         id,
         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,
-        business_address, gmt_create, gmt_modified
+        business_address, vat_no, gmt_create, gmt_modified
     </sql>
 
     <select id="getByUserIdAndEntityName" resultType="com.trade.service.enterprise.companyrelated.domain.VendorEntity">
@@ -48,7 +49,7 @@
         a.id,
         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.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
         FROM
         vendor_entity a
@@ -77,7 +78,7 @@
         a.id,
         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.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
         FROM
         vendor_entity a