ariesy 统计查询导出 v2

release
yefei 2 years ago
parent 8b6502d9cf
commit 5f43e82f15
  1. 3
      dxhy-core/src/main/java/com/dxhy/core/thread/InvoiceOutExportThread.java
  2. 7
      dxhy-core/src/main/resources/mapper/InvoiceOutMapper.xml

@ -157,7 +157,8 @@ public class InvoiceOutExportThread extends BaseThread {
filter.put("orderByClause", "out_date desc");
// 购方税号
filter.put("gfshList", gfsh);
filter.put("gfsh", gfsh);
filter.put("companyCode", companyCode);
// 销方名称
filter.put("sellerName", StringHelper.isBlank(xfName) ? null : xfName);

@ -50,11 +50,8 @@
<if test="gfsh != null">
and b.gf_tax_no = #{gfsh}
</if>
<if test="gfshList != null and gfshList.size()>0">
and b.gf_tax_no in
<foreach collection="gfshList" index="index" item="item" open="(" separator="," close=")">
#{item}
</foreach>
<if test="companyCode != null">
and b.comp_code = #{companyCode}
</if>
<if test="sellerName != null">
and b.xf_name LIKE CONCAT(#{sellerName}, '%')

Loading…
Cancel
Save