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("orderByClause", "out_date desc");
// 购方税号 // 购方税号
filter.put("gfshList", gfsh); filter.put("gfsh", gfsh);
filter.put("companyCode", companyCode);
// 销方名称 // 销方名称
filter.put("sellerName", StringHelper.isBlank(xfName) ? null : xfName); filter.put("sellerName", StringHelper.isBlank(xfName) ? null : xfName);

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

Loading…
Cancel
Save