release
路明慧 2 years ago
parent 8c34f54a91
commit b983639657
  1. 4
      dxhy-core/src/main/resources/mapper/ExtPaperMapper.xml
  2. 6
      dxhy-core/src/main/resources/mapper/FpZhMapper.xml

@ -354,7 +354,7 @@
and t.account_period = #{accountPeriod} and t.account_period = #{accountPeriod}
</if> </if>
<if test="companyCode != null and companyCode != '' and companyCode != 'null' and companyCode != '99' and companyCode != '88'"> <if test="companyCode != null and companyCode != '' and companyCode != 'null' and companyCode != '99' and companyCode != '88'">
and t.comp_code = #{companyCode} or t.comp_code = '' or t.comp_code is null and (t.comp_code = #{companyCode} or t.comp_code = '' or t.comp_code is null)
</if> </if>
</select> </select>
<!--销项票池查询--> <!--销项票池查询-->
@ -452,7 +452,7 @@
and t.invoice_source = #{invoiceSource} and t.invoice_source = #{invoiceSource}
</if> </if>
<if test="companyCode != null and companyCode != '' and companyCode != 'null' and companyCode != '99' and companyCode != '88'"> <if test="companyCode != null and companyCode != '' and companyCode != 'null' and companyCode != '99' and companyCode != '88'">
and (t.comp_code = #{companyCode} and t.comp_code = '' or t.comp_code is null) and (t.comp_code = #{companyCode} or t.comp_code = '' or t.comp_code is null)
</if> </if>
GROUP BY t.uuid GROUP BY t.uuid
ORDER BY t.create_date DESC ORDER BY t.create_date DESC

@ -722,6 +722,12 @@
<if test="accountPeriod != null and accountPeriod != '' and accountPeriod != 'null' and accountPeriod != '99'"> <if test="accountPeriod != null and accountPeriod != '' and accountPeriod != 'null' and accountPeriod != '99'">
and t.account_period = #{accountPeriod} and t.account_period = #{accountPeriod}
</if> </if>
<if test="taxRate!=null and taxRate!='' and taxRate!='多税率' and taxRate != null and taxRate !='99'">
and t.tax_rate = #{taxRate}
</if>
<if test="taxRate=='多税率'">
and t.tax_rate like '%,%'
</if>
<if test="qsksrq != null and qsksrq != '' and qsksrq != 'null' and qsjsrq != null and qsjsrq != '' and qsjsrq != 'null'"> <if test="qsksrq != null and qsksrq != '' and qsksrq != 'null' and qsjsrq != null and qsjsrq != '' and qsjsrq != 'null'">
order by t.qs_date desc,t.invoice_date desc order by t.qs_date desc,t.invoice_date desc
</if> </if>

Loading…
Cancel
Save