修改导出的入账状态

release
yishiqihuasheng 2 years ago
parent 55bcf5ebd3
commit cfb82f02e1
  1. 2
      dxhy-core/src/main/java/com/dxhy/core/entity/TDxRecordInvoice.java
  2. 2
      dxhy-core/src/main/java/com/dxhy/core/model/ExceptionInvoiceVo.java
  3. 16
      dxhy-core/src/main/java/com/dxhy/core/thread/CautionExportAnomalyThread.java
  4. 24
      dxhy-export-domestic/src/main/resources/mapper/DomesticRecordInvoiceMapper.xml

@ -434,7 +434,7 @@ public class TDxRecordInvoice implements Serializable {
private String imageId;
private String accountPeriod;
private String compCode;
private String inaccountStatus;
private String inAccountStatus;
private String bzdh;
private String bzr;
}

@ -29,7 +29,7 @@ public class ExceptionInvoiceVo {
private String imageId;
private String accountPeriod;
private String compCode;
private String inaccountStatus;
private String inAccountStatus;
private String bzdh;
private String bzr;
}

@ -260,6 +260,22 @@ public class CautionExportAnomalyThread extends BaseThread {
// 税额
vo.setTaxAmount(MathUtil.round(record.getTaxAmount().toPlainString()));
vo.setSnVoucherNumber(record.getSnVoucherNumber());
vo.setPostingTime(record.getPostingTime());
vo.setImageId(record.getImageId());
vo.setAccountPeriod(record.getAccountPeriod());
vo.setCompCode(record.getCompCode());
vo.setInAccountStatus(record.getInAccountStatus());
vo.setBzdh(record.getBzdh());
vo.setBzr(record.getBzr());
dataList.add(vo);
}

@ -1536,12 +1536,6 @@
<if test="invoiceNo != null and invoiceNo != '' and invoiceNo != 'null' ">
and t.invoice_no = #{invoiceNo}
</if>
<if test="deptId != null and deptId != '' and deptId != 'null' and deptId != '99'">
and t.dept_id = #{deptId}
</if>
<if test="deptId == ''">
and t.dept_id is null
</if>
<if test="sellerName != null and sellerName != '' and sellerName != 'null' ">
and t.xf_name like concat(#{sellerName},'%')
</if>
@ -1604,12 +1598,6 @@
test="authenticationPeople != null and authenticationPeople != '' and authenticationPeople != 'null'">
and t.gx_user_name like concat(#{authenticationPeople},'%')
</if>
<if test="deptId != null and deptId != '' and deptId != 'null' and deptId != '99'">
and t.dept_id = #{deptId}
</if>
<if test="deptId == ''">
and t.dept_id is null
</if>
<if test="currentPeriod != null and currentPeriod != '' and currentPeriod != 'null'">
and t.rzh_belong_date = #{currentPeriod}
</if>
@ -1655,12 +1643,6 @@
<if test="invoiceNo != null and invoiceNo != '' and invoiceNo != 'null' ">
and t.invoice_no = #{invoiceNo}
</if>
<if test="deptId != null and deptId != '' and deptId != 'null' and deptId != '99'">
and t.dept_id = #{deptId}
</if>
<if test="deptId == ''">
and t.dept_id is null
</if>
<if test="sellerName != null and sellerName != '' and sellerName != 'null' ">
and t.xf_name like concat(#{sellerName},'%')
</if>
@ -1724,12 +1706,6 @@
test="authenticationPeople != null and authenticationPeople != '' and authenticationPeople != 'null'">
and t.gx_user_name like concat(#{authenticationPeople},'%')
</if>
<if test="deptId != null and deptId != '' and deptId != 'null' and deptId != '99' ">
and t.dept_id = #{deptId}
</if>
<if test="deptId == ''">
and t.dept_id is null
</if>
<if test="currentPeriod != null and currentPeriod != '' and currentPeriod != 'null'">
and t.rzh_belong_date = #{currentPeriod}
</if>

Loading…
Cancel
Save