修改mapper文件

release
yishiqihuasheng 2 years ago
parent d0afa31d90
commit 870a935903
  1. 2
      dxhy-extend/src/main/java/com/dxhy/extend/entity/ExtAddTaxInvoice.java
  2. 2
      dxhy-extend/src/main/java/com/dxhy/extend/service/pool/ExtInvoicePoolServiceImpl.java
  3. 10
      dxhy-extend/src/main/resources/mapper/ExtInvoicePoolMapper.xml

@ -133,7 +133,7 @@ public class ExtAddTaxInvoice implements Serializable {
private String collectDate; private String collectDate;
private String collectFrom; private String collectFrom;
private String snVoucherNumber; private String voucherNumber;
private String postingTime; private String postingTime;
private String imageId; private String imageId;
private String accountPeriod; private String accountPeriod;

@ -290,7 +290,7 @@ public class ExtInvoicePoolServiceImpl extends MpBaseServiceImpl<ExtInvoicePoolD
String[] titleprop = {"xh", "invoiceType", "invoiceCode", "invoiceNo", "invoiceStatus", "invoiceDate", String[] titleprop = {"xh", "invoiceType", "invoiceCode", "invoiceNo", "invoiceStatus", "invoiceDate",
"gfmc", "gfsh", "invoiceAmount", "taxAmount", "totalAmount", "listStatus", "remark", "incentiveFlag", "gfmc", "gfsh", "invoiceAmount", "taxAmount", "totalAmount", "listStatus", "remark", "incentiveFlag",
"collectStatus", "collectDate", "collectFrom", "qsfs", "systemName", "qszt", "qsrq", "qsr", "collectStatus", "collectDate", "collectFrom", "qsfs", "systemName", "qszt", "qsrq", "qsr",
"inAccountMonth", "inAccountStatus", "snVoucherNo", "documentNumber", "createDate","imageId","accountPeriod" "inAccountMonth", "inAccountStatus", "voucherNumber", "documentNumber", "createDate","imageId","accountPeriod"
,"postingTime"}; ,"postingTime"};
// 需要设置返回列表标题时调用 // 需要设置返回列表标题时调用
json = super.setTitleList(titlelist, titleprop); json = super.setTitleList(titlelist, titleprop);

@ -430,8 +430,8 @@
<if test="invoiceSource!=null and invoiceSource!='' and invoiceSource!='99'"> <if test="invoiceSource!=null and invoiceSource!='' and invoiceSource!='99'">
and t.invoice_source = #{invoiceSource} and t.invoice_source = #{invoiceSource}
</if> </if>
<if test="snVoucherNumber != null and snVoucherNumber != '' and snVoucherNumber != 'null' and snVoucherNumber != '99'"> <if test="voucherNumber != null and voucherNumber != '' and voucherNumber != 'null' and voucherNumber != '99'">
and t.sn_voucher_number = #{snVoucherNumber} and t.voucher_number = #{voucherNumber}
</if> </if>
<if test="postingTime != null and postingTime != '' and postingTime != 'null' and postingTime != '99'"> <if test="postingTime != null and postingTime != '' and postingTime != 'null' and postingTime != '99'">
and t.posting_time = #{postingTime} and t.posting_time = #{postingTime}
@ -450,7 +450,7 @@
<include refid="sql_fields_added"/> <include refid="sql_fields_added"/>
,t.incentive_flag incentiveFlag ,t.incentive_flag incentiveFlag
,t.system_name systemName ,t.system_name systemName
,t.sn_voucher_number snVoucherNumber ,t.voucher_no voucherNumber
,t.image_id imageId ,t.image_id imageId
,t.account_period accountPeriod ,t.account_period accountPeriod
,t.posting_time postingTime ,t.posting_time postingTime
@ -511,8 +511,8 @@
<if test="invoiceSource!=null and invoiceSource!='' and invoiceSource!='99'"> <if test="invoiceSource!=null and invoiceSource!='' and invoiceSource!='99'">
and t.invoice_source = #{invoiceSource} and t.invoice_source = #{invoiceSource}
</if> </if>
<if test="snVoucherNumber != null and snVoucherNumber != '' and snVoucherNumber != 'null' and snVoucherNumber != '99'"> <if test="voucherNo != null and voucherNo != '' and voucherNo != 'null' and voucherNo != '99'">
and t.sn_voucher_number = #{snVoucherNumber} and t.voucher_no = #{voucherNo}
</if> </if>
<if test="postingTime != null and postingTime != '' and postingTime != 'null' and postingTime != '99'"> <if test="postingTime != null and postingTime != '' and postingTime != 'null' and postingTime != '99'">
and t.posting_time = #{postingTime} and t.posting_time = #{postingTime}

Loading…
Cancel
Save