From 6c98b06ee2c8bd216ecd3a256b346c3cd5b7ed39 Mon Sep 17 00:00:00 2001 From: linfso Date: Sun, 21 Jul 2024 22:35:04 +0800 Subject: [PATCH] md --- .../erp/emis/domain/EmisBaseInvoiceInfo.java | 14 +++++--- .../emis/domain/EmisCustomerInvoiceInfo.java | 14 +++++--- .../emis/domain/EmisSettleInvoiceRecord.java | 14 +++++--- .../mapper/EmisBaseInvoiceInfoMapper.xml | 36 ++++++++++++------- .../mapper/EmisCustomerInvoiceInfoMapper.xml | 36 ++++++++++++------- .../mapper/EmisSettleInvoiceRecordMapper.xml | 36 ++++++++++++------- 6 files changed, 99 insertions(+), 51 deletions(-) diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisBaseInvoiceInfo.java b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisBaseInvoiceInfo.java index bb1aa0439..67e9debd2 100644 --- a/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisBaseInvoiceInfo.java +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisBaseInvoiceInfo.java @@ -1,10 +1,10 @@ -/** +/** * @Project: emis * @Title: EmisBaseInvoiceInfo.java * @author linfso - * @date 2024-07-21 13:31:27 + * @date 2024-07-21 14:32:14 * @Copyright: ShangHai Duta 2022 All rights reserved. - * @version v1.0 + * @version v1.0 * @Description:

公司开票信息 实体类

*/ @@ -26,9 +26,9 @@ import lombok.Data; * @ClassName EmisBaseInvoiceInfo * @Description 公司开票信息 * @author linfso - * @date 2024-07-21 13:31:27 + * @date 2024-07-21 14:32:14 */ - @Data +@Data public class EmisBaseInvoiceInfo extends BaseEntity { private static final long serialVersionUID = 1L; @@ -45,6 +45,10 @@ public class EmisBaseInvoiceInfo extends BaseEntity private String companyTel; /* 开票地址 */ private String companyAddress; + /* 开户行 */ + private String bankName; + /* 开户账号 */ + private String bankAccNo; /* 开票类型 1-增值电子 */ private String invoiceType; /* 联系人 */ diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisCustomerInvoiceInfo.java b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisCustomerInvoiceInfo.java index 0f5b3ffea..d7004adeb 100644 --- a/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisCustomerInvoiceInfo.java +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisCustomerInvoiceInfo.java @@ -1,10 +1,10 @@ -/** +/** * @Project: emis * @Title: EmisCustomerInvoiceInfo.java * @author linfso - * @date 2024-07-21 13:31:25 + * @date 2024-07-21 14:31:02 * @Copyright: ShangHai Duta 2022 All rights reserved. - * @version v1.0 + * @version v1.0 * @Description:

客户开票信息记录表 实体类

*/ @@ -26,9 +26,9 @@ import lombok.Data; * @ClassName EmisCustomerInvoiceInfo * @Description 客户开票信息记录表 * @author linfso - * @date 2024-07-21 13:31:25 + * @date 2024-07-21 14:31:02 */ - @Data +@Data public class EmisCustomerInvoiceInfo extends BaseEntity { private static final long serialVersionUID = 1L; @@ -43,6 +43,10 @@ public class EmisCustomerInvoiceInfo extends BaseEntity private String companyTel; /* 开票地址 */ private String companyAddress; + /* 开户行 */ + private String bankName; + /* 开户账号 */ + private String bankAccNo; /* 开票类型 1-增值电子 */ private String invoiceType; /* 客户编码 */ diff --git a/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisSettleInvoiceRecord.java b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisSettleInvoiceRecord.java index 60b6755db..b7c077a31 100644 --- a/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisSettleInvoiceRecord.java +++ b/emis-biz/src/main/java/com/xdadan/erp/emis/domain/EmisSettleInvoiceRecord.java @@ -1,10 +1,10 @@ -/** +/** * @Project: emis * @Title: EmisSettleInvoiceRecord.java * @author linfso - * @date 2024-07-21 13:31:26 + * @date 2024-07-21 14:33:40 * @Copyright: ShangHai Duta 2022 All rights reserved. - * @version v1.0 + * @version v1.0 * @Description:

开票记录表 实体类

*/ @@ -26,9 +26,9 @@ import lombok.Data; * @ClassName EmisSettleInvoiceRecord * @Description 开票记录表 * @author linfso - * @date 2024-07-21 13:31:26 + * @date 2024-07-21 14:33:40 */ - @Data +@Data public class EmisSettleInvoiceRecord extends BaseEntity { private static final long serialVersionUID = 1L; @@ -64,6 +64,10 @@ public class EmisSettleInvoiceRecord extends BaseEntity private String companyTel; /* 开票地址 */ private String companyAddress; + /* 开户行 */ + private String bankName; + /* 开户账号 */ + private String bankAccNo; /* 联系人 */ private String contact; /* 联系电话 */ diff --git a/emis-biz/src/main/resources/mapper/EmisBaseInvoiceInfoMapper.xml b/emis-biz/src/main/resources/mapper/EmisBaseInvoiceInfoMapper.xml index dd8e6536f..6928f93ba 100644 --- a/emis-biz/src/main/resources/mapper/EmisBaseInvoiceInfoMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisBaseInvoiceInfoMapper.xml @@ -1,9 +1,9 @@ + PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" + "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> - + @@ -11,6 +11,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" + + @@ -19,19 +21,21 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - select id, com_code, company_name, company_tax_no, company_tel, company_address, invoice_type, contact, phone, recieve_address, email, remark, del_flag, create_by, create_time, update_by, update_time, create_site, update_site from emis_base_invoice_info + select id, com_code, company_name, company_tax_no, company_tel, company_address, bank_name, bank_acc_no, invoice_type, contact, phone, recieve_address, email, remark, del_flag, create_by, create_time, update_by, update_time, create_site, update_site from emis_base_invoice_info - + - + insert into emis_base_invoice_info @@ -89,6 +95,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" company_tax_no, company_tel, company_address, + bank_name, + bank_acc_no, invoice_type, contact, phone, @@ -102,7 +110,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" update_time, create_site, update_site, - + #{id}, #{comCode}, @@ -110,6 +118,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" #{companyTaxNo}, #{companyTel}, #{companyAddress}, + #{bankName}, + #{bankAccNo}, #{invoiceType}, #{contact}, #{phone}, @@ -123,7 +133,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" #{updateTime}, #{createSite}, #{updateSite}, - + @@ -134,6 +144,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" company_tax_no = #{companyTaxNo}, company_tel = #{companyTel}, company_address = #{companyAddress}, + bank_name = #{bankName}, + bank_acc_no = #{bankAccNo}, invoice_type = #{invoiceType}, contact = #{contact}, phone = #{phone}, @@ -156,7 +168,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - delete from emis_base_invoice_info where id in + delete from emis_base_invoice_info where id in #{id} diff --git a/emis-biz/src/main/resources/mapper/EmisCustomerInvoiceInfoMapper.xml b/emis-biz/src/main/resources/mapper/EmisCustomerInvoiceInfoMapper.xml index 981d5dc09..b0eaab8e3 100644 --- a/emis-biz/src/main/resources/mapper/EmisCustomerInvoiceInfoMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisCustomerInvoiceInfoMapper.xml @@ -1,15 +1,17 @@ + PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" + "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> - + + + @@ -20,18 +22,20 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - select id, company_name, company_tax_no, company_tel, company_address, invoice_type, customer_code, customer_name, contact, phone, recieve_address, email, remark, del_flag, create_by, create_time, update_by, update_time, create_site, update_site from emis_customer_invoice_info + select id, company_name, company_tax_no, company_tel, company_address, bank_name, bank_acc_no, invoice_type, customer_code, customer_name, contact, phone, recieve_address, email, remark, del_flag, create_by, create_time, update_by, update_time, create_site, update_site from emis_customer_invoice_info - + - + insert into emis_customer_invoice_info @@ -91,6 +97,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" company_tax_no, company_tel, company_address, + bank_name, + bank_acc_no, invoice_type, customer_code, customer_name, @@ -106,13 +114,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" update_time, create_site, update_site, - + #{id}, #{companyName}, #{companyTaxNo}, #{companyTel}, #{companyAddress}, + #{bankName}, + #{bankAccNo}, #{invoiceType}, #{customerCode}, #{customerName}, @@ -128,7 +138,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" #{updateTime}, #{createSite}, #{updateSite}, - + @@ -138,6 +148,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" company_tax_no = #{companyTaxNo}, company_tel = #{companyTel}, company_address = #{companyAddress}, + bank_name = #{bankName}, + bank_acc_no = #{bankAccNo}, invoice_type = #{invoiceType}, customer_code = #{customerCode}, customer_name = #{customerName}, @@ -162,7 +174,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - delete from emis_customer_invoice_info where id in + delete from emis_customer_invoice_info where id in #{id} diff --git a/emis-biz/src/main/resources/mapper/EmisSettleInvoiceRecordMapper.xml b/emis-biz/src/main/resources/mapper/EmisSettleInvoiceRecordMapper.xml index c715df93d..228826c0a 100644 --- a/emis-biz/src/main/resources/mapper/EmisSettleInvoiceRecordMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisSettleInvoiceRecordMapper.xml @@ -1,9 +1,9 @@ + PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" + "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> - + @@ -20,6 +20,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" + + @@ -45,13 +47,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - select id, apply_seq_no, apply_date, apply_man_code, apply_site_code, customer_code, customer_name, settle_bill_no, settle_bill_name, apply_money, invoice_type, company_name, company_tax_no, company_tel, company_address, contact, phone, real_tax_type, open_money_max, open_money, invoice_no, invoice_status, invoice_status_desc, recieve_address, email, file_path, remark, bl_audit, audit_date, audit_man_code, audit_site_code, op_man_code, op_date, op_site_code, open_ch_id, open_ch_status, open_ch_status_desc, open_com_code, del_flag, create_by, create_time, update_by, update_time, create_site, update_site from emis_settle_invoice_record + select id, apply_seq_no, apply_date, apply_man_code, apply_site_code, customer_code, customer_name, settle_bill_no, settle_bill_name, apply_money, invoice_type, company_name, company_tax_no, company_tel, company_address, bank_name, bank_acc_no, contact, phone, real_tax_type, open_money_max, open_money, invoice_no, invoice_status, invoice_status_desc, recieve_address, email, file_path, remark, bl_audit, audit_date, audit_man_code, audit_site_code, op_man_code, op_date, op_site_code, open_ch_id, open_ch_status, open_ch_status_desc, open_com_code, del_flag, create_by, create_time, update_by, update_time, create_site, update_site from emis_settle_invoice_record - + - + insert into emis_settle_invoice_record @@ -176,6 +182,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" company_tax_no, company_tel, company_address, + bank_name, + bank_acc_no, contact, phone, real_tax_type, @@ -206,7 +214,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" update_time, create_site, update_site, - + #{id}, #{applySeqNo}, @@ -223,6 +231,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" #{companyTaxNo}, #{companyTel}, #{companyAddress}, + #{bankName}, + #{bankAccNo}, #{contact}, #{phone}, #{realTaxType}, @@ -253,7 +263,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" #{updateTime}, #{createSite}, #{updateSite}, - + @@ -273,6 +283,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" company_tax_no = #{companyTaxNo}, company_tel = #{companyTel}, company_address = #{companyAddress}, + bank_name = #{bankName}, + bank_acc_no = #{bankAccNo}, contact = #{contact}, phone = #{phone}, real_tax_type = #{realTaxType}, @@ -312,7 +324,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - delete from emis_settle_invoice_record where id in + delete from emis_settle_invoice_record where id in #{id}