md
This commit is contained in:
parent
8da8197f45
commit
6c98b06ee2
@ -2,7 +2,7 @@
|
|||||||
* @Project: emis
|
* @Project: emis
|
||||||
* @Title: EmisBaseInvoiceInfo.java
|
* @Title: EmisBaseInvoiceInfo.java
|
||||||
* @author linfso
|
* @author linfso
|
||||||
* @date 2024-07-21 13:31:27
|
* @date 2024-07-21 14:32:14
|
||||||
* @Copyright: ShangHai Duta 2022 All rights reserved.
|
* @Copyright: ShangHai Duta 2022 All rights reserved.
|
||||||
* @version v1.0
|
* @version v1.0
|
||||||
* @Description: <p> 公司开票信息 实体类 </p>
|
* @Description: <p> 公司开票信息 实体类 </p>
|
||||||
@ -26,7 +26,7 @@ import lombok.Data;
|
|||||||
* @ClassName EmisBaseInvoiceInfo
|
* @ClassName EmisBaseInvoiceInfo
|
||||||
* @Description 公司开票信息
|
* @Description 公司开票信息
|
||||||
* @author linfso
|
* @author linfso
|
||||||
* @date 2024-07-21 13:31:27
|
* @date 2024-07-21 14:32:14
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
public class EmisBaseInvoiceInfo extends BaseEntity
|
public class EmisBaseInvoiceInfo extends BaseEntity
|
||||||
@ -45,6 +45,10 @@ public class EmisBaseInvoiceInfo extends BaseEntity
|
|||||||
private String companyTel;
|
private String companyTel;
|
||||||
/* 开票地址 */
|
/* 开票地址 */
|
||||||
private String companyAddress;
|
private String companyAddress;
|
||||||
|
/* 开户行 */
|
||||||
|
private String bankName;
|
||||||
|
/* 开户账号 */
|
||||||
|
private String bankAccNo;
|
||||||
/* 开票类型 1-增值电子 */
|
/* 开票类型 1-增值电子 */
|
||||||
private String invoiceType;
|
private String invoiceType;
|
||||||
/* 联系人 */
|
/* 联系人 */
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
* @Project: emis
|
* @Project: emis
|
||||||
* @Title: EmisCustomerInvoiceInfo.java
|
* @Title: EmisCustomerInvoiceInfo.java
|
||||||
* @author linfso
|
* @author linfso
|
||||||
* @date 2024-07-21 13:31:25
|
* @date 2024-07-21 14:31:02
|
||||||
* @Copyright: ShangHai Duta 2022 All rights reserved.
|
* @Copyright: ShangHai Duta 2022 All rights reserved.
|
||||||
* @version v1.0
|
* @version v1.0
|
||||||
* @Description: <p> 客户开票信息记录表 实体类 </p>
|
* @Description: <p> 客户开票信息记录表 实体类 </p>
|
||||||
@ -26,7 +26,7 @@ import lombok.Data;
|
|||||||
* @ClassName EmisCustomerInvoiceInfo
|
* @ClassName EmisCustomerInvoiceInfo
|
||||||
* @Description 客户开票信息记录表
|
* @Description 客户开票信息记录表
|
||||||
* @author linfso
|
* @author linfso
|
||||||
* @date 2024-07-21 13:31:25
|
* @date 2024-07-21 14:31:02
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
public class EmisCustomerInvoiceInfo extends BaseEntity
|
public class EmisCustomerInvoiceInfo extends BaseEntity
|
||||||
@ -43,6 +43,10 @@ public class EmisCustomerInvoiceInfo extends BaseEntity
|
|||||||
private String companyTel;
|
private String companyTel;
|
||||||
/* 开票地址 */
|
/* 开票地址 */
|
||||||
private String companyAddress;
|
private String companyAddress;
|
||||||
|
/* 开户行 */
|
||||||
|
private String bankName;
|
||||||
|
/* 开户账号 */
|
||||||
|
private String bankAccNo;
|
||||||
/* 开票类型 1-增值电子 */
|
/* 开票类型 1-增值电子 */
|
||||||
private String invoiceType;
|
private String invoiceType;
|
||||||
/* 客户编码 */
|
/* 客户编码 */
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
* @Project: emis
|
* @Project: emis
|
||||||
* @Title: EmisSettleInvoiceRecord.java
|
* @Title: EmisSettleInvoiceRecord.java
|
||||||
* @author linfso
|
* @author linfso
|
||||||
* @date 2024-07-21 13:31:26
|
* @date 2024-07-21 14:33:40
|
||||||
* @Copyright: ShangHai Duta 2022 All rights reserved.
|
* @Copyright: ShangHai Duta 2022 All rights reserved.
|
||||||
* @version v1.0
|
* @version v1.0
|
||||||
* @Description: <p> 开票记录表 实体类 </p>
|
* @Description: <p> 开票记录表 实体类 </p>
|
||||||
@ -26,7 +26,7 @@ import lombok.Data;
|
|||||||
* @ClassName EmisSettleInvoiceRecord
|
* @ClassName EmisSettleInvoiceRecord
|
||||||
* @Description 开票记录表
|
* @Description 开票记录表
|
||||||
* @author linfso
|
* @author linfso
|
||||||
* @date 2024-07-21 13:31:26
|
* @date 2024-07-21 14:33:40
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
public class EmisSettleInvoiceRecord extends BaseEntity
|
public class EmisSettleInvoiceRecord extends BaseEntity
|
||||||
@ -64,6 +64,10 @@ public class EmisSettleInvoiceRecord extends BaseEntity
|
|||||||
private String companyTel;
|
private String companyTel;
|
||||||
/* 开票地址 */
|
/* 开票地址 */
|
||||||
private String companyAddress;
|
private String companyAddress;
|
||||||
|
/* 开户行 */
|
||||||
|
private String bankName;
|
||||||
|
/* 开户账号 */
|
||||||
|
private String bankAccNo;
|
||||||
/* 联系人 */
|
/* 联系人 */
|
||||||
private String contact;
|
private String contact;
|
||||||
/* 联系电话 */
|
/* 联系电话 */
|
||||||
|
|||||||
@ -11,6 +11,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<result property="companyTaxNo" column="company_tax_no" />
|
<result property="companyTaxNo" column="company_tax_no" />
|
||||||
<result property="companyTel" column="company_tel" />
|
<result property="companyTel" column="company_tel" />
|
||||||
<result property="companyAddress" column="company_address" />
|
<result property="companyAddress" column="company_address" />
|
||||||
|
<result property="bankName" column="bank_name" />
|
||||||
|
<result property="bankAccNo" column="bank_acc_no" />
|
||||||
<result property="invoiceType" column="invoice_type" />
|
<result property="invoiceType" column="invoice_type" />
|
||||||
<result property="contact" column="contact" />
|
<result property="contact" column="contact" />
|
||||||
<result property="phone" column="phone" />
|
<result property="phone" column="phone" />
|
||||||
@ -19,7 +21,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
</resultMap>
|
</resultMap>
|
||||||
|
|
||||||
<sql id="selectEmisBaseInvoiceInfoVo">
|
<sql id="selectEmisBaseInvoiceInfoVo">
|
||||||
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
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
<select id="selectEmisBaseInvoiceInfoList" parameterType="EmisBaseInvoiceInfo" resultMap="EmisBaseInvoiceInfoResult">
|
<select id="selectEmisBaseInvoiceInfoList" parameterType="EmisBaseInvoiceInfo" resultMap="EmisBaseInvoiceInfoResult">
|
||||||
@ -32,6 +34,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<if test="companyTaxNo != null and companyTaxNo != ''"> and company_tax_no like concat('%', #{companyTaxNo}, '%')</if>
|
<if test="companyTaxNo != null and companyTaxNo != ''"> and company_tax_no like concat('%', #{companyTaxNo}, '%')</if>
|
||||||
<if test="companyTel != null and companyTel != ''"> and company_tel like concat('%', #{companyTel}, '%')</if>
|
<if test="companyTel != null and companyTel != ''"> and company_tel like concat('%', #{companyTel}, '%')</if>
|
||||||
<if test="companyAddress != null and companyAddress != ''"> and company_address like concat('%', #{companyAddress}, '%')</if>
|
<if test="companyAddress != null and companyAddress != ''"> and company_address like concat('%', #{companyAddress}, '%')</if>
|
||||||
|
<if test="bankName != null and bankName != ''"> and bank_name like concat('%', #{bankName}, '%')</if>
|
||||||
|
<if test="bankAccNo != null and bankAccNo != ''"> and bank_acc_no like concat('%', #{bankAccNo}, '%')</if>
|
||||||
<if test="invoiceType != null and invoiceType != ''"> and invoice_type like concat('%', #{invoiceType}, '%')</if>
|
<if test="invoiceType != null and invoiceType != ''"> and invoice_type like concat('%', #{invoiceType}, '%')</if>
|
||||||
<if test="contact != null and contact != ''"> and contact like concat('%', #{contact}, '%')</if>
|
<if test="contact != null and contact != ''"> and contact like concat('%', #{contact}, '%')</if>
|
||||||
<if test="phone != null and phone != ''"> and phone like concat('%', #{phone}, '%')</if>
|
<if test="phone != null and phone != ''"> and phone like concat('%', #{phone}, '%')</if>
|
||||||
@ -58,6 +62,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
and company_tax_no = #{companyTaxNo}
|
and company_tax_no = #{companyTaxNo}
|
||||||
and company_tel = #{companyTel}
|
and company_tel = #{companyTel}
|
||||||
and company_address = #{companyAddress}
|
and company_address = #{companyAddress}
|
||||||
|
and bank_name = #{bankName}
|
||||||
|
and bank_acc_no = #{bankAccNo}
|
||||||
and invoice_type = #{invoiceType}
|
and invoice_type = #{invoiceType}
|
||||||
and contact = #{contact}
|
and contact = #{contact}
|
||||||
and phone = #{phone}
|
and phone = #{phone}
|
||||||
@ -75,7 +81,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectEmisBaseInvoiceInfoById" parameterType="Long" resultMap="EmisBaseInvoiceInfoResult">
|
<select id="selectEmisBaseInvoiceInfoById" parameterType="Long" resultMap="EmisBaseInvoiceInfoResult">
|
||||||
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
|
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 a
|
from emis_base_invoice_info a
|
||||||
where a.id = #{id}
|
where a.id = #{id}
|
||||||
</select>
|
</select>
|
||||||
@ -89,6 +95,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<if test="companyTaxNo != null and companyTaxNo != ''">company_tax_no,</if>
|
<if test="companyTaxNo != null and companyTaxNo != ''">company_tax_no,</if>
|
||||||
<if test="companyTel != null and companyTel != ''">company_tel,</if>
|
<if test="companyTel != null and companyTel != ''">company_tel,</if>
|
||||||
<if test="companyAddress != null and companyAddress != ''">company_address,</if>
|
<if test="companyAddress != null and companyAddress != ''">company_address,</if>
|
||||||
|
<if test="bankName != null and bankName != ''">bank_name,</if>
|
||||||
|
<if test="bankAccNo != null and bankAccNo != ''">bank_acc_no,</if>
|
||||||
<if test="invoiceType != null and invoiceType != ''">invoice_type,</if>
|
<if test="invoiceType != null and invoiceType != ''">invoice_type,</if>
|
||||||
<if test="contact != null and contact != ''">contact,</if>
|
<if test="contact != null and contact != ''">contact,</if>
|
||||||
<if test="phone != null and phone != ''">phone,</if>
|
<if test="phone != null and phone != ''">phone,</if>
|
||||||
@ -110,6 +118,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<if test="companyTaxNo != null and companyTaxNo != ''">#{companyTaxNo},</if>
|
<if test="companyTaxNo != null and companyTaxNo != ''">#{companyTaxNo},</if>
|
||||||
<if test="companyTel != null and companyTel != ''">#{companyTel},</if>
|
<if test="companyTel != null and companyTel != ''">#{companyTel},</if>
|
||||||
<if test="companyAddress != null and companyAddress != ''">#{companyAddress},</if>
|
<if test="companyAddress != null and companyAddress != ''">#{companyAddress},</if>
|
||||||
|
<if test="bankName != null and bankName != ''">#{bankName},</if>
|
||||||
|
<if test="bankAccNo != null and bankAccNo != ''">#{bankAccNo},</if>
|
||||||
<if test="invoiceType != null and invoiceType != ''">#{invoiceType},</if>
|
<if test="invoiceType != null and invoiceType != ''">#{invoiceType},</if>
|
||||||
<if test="contact != null and contact != ''">#{contact},</if>
|
<if test="contact != null and contact != ''">#{contact},</if>
|
||||||
<if test="phone != null and phone != ''">#{phone},</if>
|
<if test="phone != null and phone != ''">#{phone},</if>
|
||||||
@ -134,6 +144,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<if test="companyTaxNo != null and companyTaxNo != ''">company_tax_no = #{companyTaxNo},</if>
|
<if test="companyTaxNo != null and companyTaxNo != ''">company_tax_no = #{companyTaxNo},</if>
|
||||||
<if test="companyTel != null and companyTel != ''">company_tel = #{companyTel},</if>
|
<if test="companyTel != null and companyTel != ''">company_tel = #{companyTel},</if>
|
||||||
<if test="companyAddress != null and companyAddress != ''">company_address = #{companyAddress},</if>
|
<if test="companyAddress != null and companyAddress != ''">company_address = #{companyAddress},</if>
|
||||||
|
<if test="bankName != null and bankName != ''">bank_name = #{bankName},</if>
|
||||||
|
<if test="bankAccNo != null and bankAccNo != ''">bank_acc_no = #{bankAccNo},</if>
|
||||||
<if test="invoiceType != null and invoiceType != ''">invoice_type = #{invoiceType},</if>
|
<if test="invoiceType != null and invoiceType != ''">invoice_type = #{invoiceType},</if>
|
||||||
<if test="contact != null and contact != ''">contact = #{contact},</if>
|
<if test="contact != null and contact != ''">contact = #{contact},</if>
|
||||||
<if test="phone != null and phone != ''">phone = #{phone},</if>
|
<if test="phone != null and phone != ''">phone = #{phone},</if>
|
||||||
|
|||||||
@ -10,6 +10,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<result property="companyTaxNo" column="company_tax_no" />
|
<result property="companyTaxNo" column="company_tax_no" />
|
||||||
<result property="companyTel" column="company_tel" />
|
<result property="companyTel" column="company_tel" />
|
||||||
<result property="companyAddress" column="company_address" />
|
<result property="companyAddress" column="company_address" />
|
||||||
|
<result property="bankName" column="bank_name" />
|
||||||
|
<result property="bankAccNo" column="bank_acc_no" />
|
||||||
<result property="invoiceType" column="invoice_type" />
|
<result property="invoiceType" column="invoice_type" />
|
||||||
<result property="customerCode" column="customer_code" />
|
<result property="customerCode" column="customer_code" />
|
||||||
<result property="customerName" column="customer_name" />
|
<result property="customerName" column="customer_name" />
|
||||||
@ -20,7 +22,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
</resultMap>
|
</resultMap>
|
||||||
|
|
||||||
<sql id="selectEmisCustomerInvoiceInfoVo">
|
<sql id="selectEmisCustomerInvoiceInfoVo">
|
||||||
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
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
<select id="selectEmisCustomerInvoiceInfoList" parameterType="EmisCustomerInvoiceInfo" resultMap="EmisCustomerInvoiceInfoResult">
|
<select id="selectEmisCustomerInvoiceInfoList" parameterType="EmisCustomerInvoiceInfo" resultMap="EmisCustomerInvoiceInfoResult">
|
||||||
@ -32,6 +34,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<if test="companyTaxNo != null and companyTaxNo != ''"> and company_tax_no like concat('%', #{companyTaxNo}, '%')</if>
|
<if test="companyTaxNo != null and companyTaxNo != ''"> and company_tax_no like concat('%', #{companyTaxNo}, '%')</if>
|
||||||
<if test="companyTel != null and companyTel != ''"> and company_tel like concat('%', #{companyTel}, '%')</if>
|
<if test="companyTel != null and companyTel != ''"> and company_tel like concat('%', #{companyTel}, '%')</if>
|
||||||
<if test="companyAddress != null and companyAddress != ''"> and company_address like concat('%', #{companyAddress}, '%')</if>
|
<if test="companyAddress != null and companyAddress != ''"> and company_address like concat('%', #{companyAddress}, '%')</if>
|
||||||
|
<if test="bankName != null and bankName != ''"> and bank_name like concat('%', #{bankName}, '%')</if>
|
||||||
|
<if test="bankAccNo != null and bankAccNo != ''"> and bank_acc_no like concat('%', #{bankAccNo}, '%')</if>
|
||||||
<if test="invoiceType != null and invoiceType != ''"> and invoice_type like concat('%', #{invoiceType}, '%')</if>
|
<if test="invoiceType != null and invoiceType != ''"> and invoice_type like concat('%', #{invoiceType}, '%')</if>
|
||||||
<if test="customerCode != null and customerCode != ''"> and customer_code like concat('%', #{customerCode}, '%')</if>
|
<if test="customerCode != null and customerCode != ''"> and customer_code like concat('%', #{customerCode}, '%')</if>
|
||||||
<if test="customerName != null and customerName != ''"> and customer_name like concat('%', #{customerName}, '%')</if>
|
<if test="customerName != null and customerName != ''"> and customer_name like concat('%', #{customerName}, '%')</if>
|
||||||
@ -59,6 +63,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
and company_tax_no = #{companyTaxNo}
|
and company_tax_no = #{companyTaxNo}
|
||||||
and company_tel = #{companyTel}
|
and company_tel = #{companyTel}
|
||||||
and company_address = #{companyAddress}
|
and company_address = #{companyAddress}
|
||||||
|
and bank_name = #{bankName}
|
||||||
|
and bank_acc_no = #{bankAccNo}
|
||||||
and invoice_type = #{invoiceType}
|
and invoice_type = #{invoiceType}
|
||||||
and customer_code = #{customerCode}
|
and customer_code = #{customerCode}
|
||||||
and customer_name = #{customerName}
|
and customer_name = #{customerName}
|
||||||
@ -78,7 +84,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectEmisCustomerInvoiceInfoById" parameterType="Long" resultMap="EmisCustomerInvoiceInfoResult">
|
<select id="selectEmisCustomerInvoiceInfoById" parameterType="Long" resultMap="EmisCustomerInvoiceInfoResult">
|
||||||
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
|
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 a
|
from emis_customer_invoice_info a
|
||||||
where a.id = #{id}
|
where a.id = #{id}
|
||||||
</select>
|
</select>
|
||||||
@ -91,6 +97,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<if test="companyTaxNo != null and companyTaxNo != ''">company_tax_no,</if>
|
<if test="companyTaxNo != null and companyTaxNo != ''">company_tax_no,</if>
|
||||||
<if test="companyTel != null and companyTel != ''">company_tel,</if>
|
<if test="companyTel != null and companyTel != ''">company_tel,</if>
|
||||||
<if test="companyAddress != null and companyAddress != ''">company_address,</if>
|
<if test="companyAddress != null and companyAddress != ''">company_address,</if>
|
||||||
|
<if test="bankName != null and bankName != ''">bank_name,</if>
|
||||||
|
<if test="bankAccNo != null and bankAccNo != ''">bank_acc_no,</if>
|
||||||
<if test="invoiceType != null and invoiceType != ''">invoice_type,</if>
|
<if test="invoiceType != null and invoiceType != ''">invoice_type,</if>
|
||||||
<if test="customerCode != null and customerCode != ''">customer_code,</if>
|
<if test="customerCode != null and customerCode != ''">customer_code,</if>
|
||||||
<if test="customerName != null and customerName != ''">customer_name,</if>
|
<if test="customerName != null and customerName != ''">customer_name,</if>
|
||||||
@ -113,6 +121,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<if test="companyTaxNo != null and companyTaxNo != ''">#{companyTaxNo},</if>
|
<if test="companyTaxNo != null and companyTaxNo != ''">#{companyTaxNo},</if>
|
||||||
<if test="companyTel != null and companyTel != ''">#{companyTel},</if>
|
<if test="companyTel != null and companyTel != ''">#{companyTel},</if>
|
||||||
<if test="companyAddress != null and companyAddress != ''">#{companyAddress},</if>
|
<if test="companyAddress != null and companyAddress != ''">#{companyAddress},</if>
|
||||||
|
<if test="bankName != null and bankName != ''">#{bankName},</if>
|
||||||
|
<if test="bankAccNo != null and bankAccNo != ''">#{bankAccNo},</if>
|
||||||
<if test="invoiceType != null and invoiceType != ''">#{invoiceType},</if>
|
<if test="invoiceType != null and invoiceType != ''">#{invoiceType},</if>
|
||||||
<if test="customerCode != null and customerCode != ''">#{customerCode},</if>
|
<if test="customerCode != null and customerCode != ''">#{customerCode},</if>
|
||||||
<if test="customerName != null and customerName != ''">#{customerName},</if>
|
<if test="customerName != null and customerName != ''">#{customerName},</if>
|
||||||
@ -138,6 +148,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<if test="companyTaxNo != null and companyTaxNo != ''">company_tax_no = #{companyTaxNo},</if>
|
<if test="companyTaxNo != null and companyTaxNo != ''">company_tax_no = #{companyTaxNo},</if>
|
||||||
<if test="companyTel != null and companyTel != ''">company_tel = #{companyTel},</if>
|
<if test="companyTel != null and companyTel != ''">company_tel = #{companyTel},</if>
|
||||||
<if test="companyAddress != null and companyAddress != ''">company_address = #{companyAddress},</if>
|
<if test="companyAddress != null and companyAddress != ''">company_address = #{companyAddress},</if>
|
||||||
|
<if test="bankName != null and bankName != ''">bank_name = #{bankName},</if>
|
||||||
|
<if test="bankAccNo != null and bankAccNo != ''">bank_acc_no = #{bankAccNo},</if>
|
||||||
<if test="invoiceType != null and invoiceType != ''">invoice_type = #{invoiceType},</if>
|
<if test="invoiceType != null and invoiceType != ''">invoice_type = #{invoiceType},</if>
|
||||||
<if test="customerCode != null and customerCode != ''">customer_code = #{customerCode},</if>
|
<if test="customerCode != null and customerCode != ''">customer_code = #{customerCode},</if>
|
||||||
<if test="customerName != null and customerName != ''">customer_name = #{customerName},</if>
|
<if test="customerName != null and customerName != ''">customer_name = #{customerName},</if>
|
||||||
|
|||||||
@ -20,6 +20,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<result property="companyTaxNo" column="company_tax_no" />
|
<result property="companyTaxNo" column="company_tax_no" />
|
||||||
<result property="companyTel" column="company_tel" />
|
<result property="companyTel" column="company_tel" />
|
||||||
<result property="companyAddress" column="company_address" />
|
<result property="companyAddress" column="company_address" />
|
||||||
|
<result property="bankName" column="bank_name" />
|
||||||
|
<result property="bankAccNo" column="bank_acc_no" />
|
||||||
<result property="contact" column="contact" />
|
<result property="contact" column="contact" />
|
||||||
<result property="phone" column="phone" />
|
<result property="phone" column="phone" />
|
||||||
<result property="realTaxType" column="real_tax_type" />
|
<result property="realTaxType" column="real_tax_type" />
|
||||||
@ -45,7 +47,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
</resultMap>
|
</resultMap>
|
||||||
|
|
||||||
<sql id="selectEmisSettleInvoiceRecordVo">
|
<sql id="selectEmisSettleInvoiceRecordVo">
|
||||||
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
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
<select id="selectEmisSettleInvoiceRecordList" parameterType="EmisSettleInvoiceRecord" resultMap="EmisSettleInvoiceRecordResult">
|
<select id="selectEmisSettleInvoiceRecordList" parameterType="EmisSettleInvoiceRecord" resultMap="EmisSettleInvoiceRecordResult">
|
||||||
@ -67,6 +69,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<if test="companyTaxNo != null and companyTaxNo != ''"> and company_tax_no = #{companyTaxNo}</if>
|
<if test="companyTaxNo != null and companyTaxNo != ''"> and company_tax_no = #{companyTaxNo}</if>
|
||||||
<if test="companyTel != null and companyTel != ''"> and company_tel like concat('%', #{companyTel}, '%')</if>
|
<if test="companyTel != null and companyTel != ''"> and company_tel like concat('%', #{companyTel}, '%')</if>
|
||||||
<if test="companyAddress != null and companyAddress != ''"> and company_address like concat('%', #{companyAddress}, '%')</if>
|
<if test="companyAddress != null and companyAddress != ''"> and company_address like concat('%', #{companyAddress}, '%')</if>
|
||||||
|
<if test="bankName != null and bankName != ''"> and bank_name like concat('%', #{bankName}, '%')</if>
|
||||||
|
<if test="bankAccNo != null and bankAccNo != ''"> and bank_acc_no like concat('%', #{bankAccNo}, '%')</if>
|
||||||
<if test="contact != null and contact != ''"> and contact like concat('%', #{contact}, '%')</if>
|
<if test="contact != null and contact != ''"> and contact like concat('%', #{contact}, '%')</if>
|
||||||
<if test="phone != null and phone != ''"> and phone like concat('%', #{phone}, '%')</if>
|
<if test="phone != null and phone != ''"> and phone like concat('%', #{phone}, '%')</if>
|
||||||
<if test="realTaxType != null and realTaxType != ''"> and real_tax_type = #{realTaxType}</if>
|
<if test="realTaxType != null and realTaxType != ''"> and real_tax_type = #{realTaxType}</if>
|
||||||
@ -119,6 +123,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
and company_tax_no = #{companyTaxNo}
|
and company_tax_no = #{companyTaxNo}
|
||||||
and company_tel = #{companyTel}
|
and company_tel = #{companyTel}
|
||||||
and company_address = #{companyAddress}
|
and company_address = #{companyAddress}
|
||||||
|
and bank_name = #{bankName}
|
||||||
|
and bank_acc_no = #{bankAccNo}
|
||||||
and contact = #{contact}
|
and contact = #{contact}
|
||||||
and phone = #{phone}
|
and phone = #{phone}
|
||||||
and real_tax_type = #{realTaxType}
|
and real_tax_type = #{realTaxType}
|
||||||
@ -153,7 +159,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectEmisSettleInvoiceRecordById" parameterType="Long" resultMap="EmisSettleInvoiceRecordResult">
|
<select id="selectEmisSettleInvoiceRecordById" parameterType="Long" resultMap="EmisSettleInvoiceRecordResult">
|
||||||
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
|
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 a
|
from emis_settle_invoice_record a
|
||||||
where a.id = #{id}
|
where a.id = #{id}
|
||||||
</select>
|
</select>
|
||||||
@ -176,6 +182,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<if test="companyTaxNo != null and companyTaxNo != ''">company_tax_no,</if>
|
<if test="companyTaxNo != null and companyTaxNo != ''">company_tax_no,</if>
|
||||||
<if test="companyTel != null and companyTel != ''">company_tel,</if>
|
<if test="companyTel != null and companyTel != ''">company_tel,</if>
|
||||||
<if test="companyAddress != null and companyAddress != ''">company_address,</if>
|
<if test="companyAddress != null and companyAddress != ''">company_address,</if>
|
||||||
|
<if test="bankName != null and bankName != ''">bank_name,</if>
|
||||||
|
<if test="bankAccNo != null and bankAccNo != ''">bank_acc_no,</if>
|
||||||
<if test="contact != null and contact != ''">contact,</if>
|
<if test="contact != null and contact != ''">contact,</if>
|
||||||
<if test="phone != null and phone != ''">phone,</if>
|
<if test="phone != null and phone != ''">phone,</if>
|
||||||
<if test="realTaxType != null and realTaxType != ''">real_tax_type,</if>
|
<if test="realTaxType != null and realTaxType != ''">real_tax_type,</if>
|
||||||
@ -223,6 +231,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<if test="companyTaxNo != null and companyTaxNo != ''">#{companyTaxNo},</if>
|
<if test="companyTaxNo != null and companyTaxNo != ''">#{companyTaxNo},</if>
|
||||||
<if test="companyTel != null and companyTel != ''">#{companyTel},</if>
|
<if test="companyTel != null and companyTel != ''">#{companyTel},</if>
|
||||||
<if test="companyAddress != null and companyAddress != ''">#{companyAddress},</if>
|
<if test="companyAddress != null and companyAddress != ''">#{companyAddress},</if>
|
||||||
|
<if test="bankName != null and bankName != ''">#{bankName},</if>
|
||||||
|
<if test="bankAccNo != null and bankAccNo != ''">#{bankAccNo},</if>
|
||||||
<if test="contact != null and contact != ''">#{contact},</if>
|
<if test="contact != null and contact != ''">#{contact},</if>
|
||||||
<if test="phone != null and phone != ''">#{phone},</if>
|
<if test="phone != null and phone != ''">#{phone},</if>
|
||||||
<if test="realTaxType != null and realTaxType != ''">#{realTaxType},</if>
|
<if test="realTaxType != null and realTaxType != ''">#{realTaxType},</if>
|
||||||
@ -273,6 +283,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<if test="companyTaxNo != null and companyTaxNo != ''">company_tax_no = #{companyTaxNo},</if>
|
<if test="companyTaxNo != null and companyTaxNo != ''">company_tax_no = #{companyTaxNo},</if>
|
||||||
<if test="companyTel != null and companyTel != ''">company_tel = #{companyTel},</if>
|
<if test="companyTel != null and companyTel != ''">company_tel = #{companyTel},</if>
|
||||||
<if test="companyAddress != null and companyAddress != ''">company_address = #{companyAddress},</if>
|
<if test="companyAddress != null and companyAddress != ''">company_address = #{companyAddress},</if>
|
||||||
|
<if test="bankName != null and bankName != ''">bank_name = #{bankName},</if>
|
||||||
|
<if test="bankAccNo != null and bankAccNo != ''">bank_acc_no = #{bankAccNo},</if>
|
||||||
<if test="contact != null and contact != ''">contact = #{contact},</if>
|
<if test="contact != null and contact != ''">contact = #{contact},</if>
|
||||||
<if test="phone != null and phone != ''">phone = #{phone},</if>
|
<if test="phone != null and phone != ''">phone = #{phone},</if>
|
||||||
<if test="realTaxType != null and realTaxType != ''">real_tax_type = #{realTaxType},</if>
|
<if test="realTaxType != null and realTaxType != ''">real_tax_type = #{realTaxType},</if>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user