添加日志打印

release
yishiqihuasheng 2 years ago
parent 656373ea2c
commit eb8e9598bf
  1. 23
      dxhy-extend/src/main/resources/mapper/ExtInvoicePoolMapper.xml

@ -188,12 +188,10 @@
<foreach collection="gfsh" index="index" item="item" open="(" separator="," close=")"> <foreach collection="gfsh" index="index" item="item" open="(" separator="," close=")">
#{item} #{item}
</foreach> </foreach>
<if <if test="invoiceType != null and invoiceType != '' and invoiceType != 'null' and invoiceType != '99' ">
test="invoiceType != null and invoiceType != '' and invoiceType != 'null' and invoiceType != '99' ">
and t.invoice_type = #{invoiceType} and t.invoice_type = #{invoiceType}
</if> </if>
<if <if test="invoiceStatus != null and invoiceStatus != '' and invoiceStatus != 'null' and invoiceStatus != '99'">
test="invoiceStatus != null and invoiceStatus != '' and invoiceStatus != 'null' and invoiceStatus != '99'">
and t.invoice_status = #{invoiceStatus} and t.invoice_status = #{invoiceStatus}
</if> </if>
<if test="qszt != null and qszt != '' and qszt != 'null' and qszt != '99'"> <if test="qszt != null and qszt != '' and qszt != 'null' and qszt != '99'">
@ -223,26 +221,27 @@
<if test="qsfs != null and qsfs != '' and qsfs != 'null' and qsfs != '99'"> <if test="qsfs != null and qsfs != '' and qsfs != 'null' and qsfs != '99'">
and t.qs_type = #{qsfs} and t.qs_type = #{qsfs}
</if> </if>
<if <if test="inAccountStatus != null and inAccountStatus != '' and inAccountStatus != 'null' and inAccountStatus != '99'">
test="inAccountStatus != null and inAccountStatus != '' and inAccountStatus != 'null' and inAccountStatus != '99'">
and t.payment_status = #{inAccountStatus} and t.payment_status = #{inAccountStatus}
</if> </if>
<if test="postingTime != null and postingTime != '' and postingTime != 'null' and postingTime != '99'"> <if test="postingTimeStart != null and postingTimeStart != '' and postingTimeStart != 'null' and postingTimeStart != '99' and postingTimeEnd != null and postingTimeEnd != '' and postingTimeEnd != 'null' and postingTimeEnd != '99'">
and t.posting_time = #{postingTime} and posting_time between #{postingTimeStart} and #{postingTimeEnd}
</if> </if>
<if test="imageId != null and imageId != '' and imageId != 'null' and imageId != '99'"> <if test="imageNumber != null and imageNumber != '' and imageNumber != 'null' and imageNumber != '99'">
and t.image_id = #{imageId} and t.image_id = #{imageNumber}
</if> </if>
<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 <if test="inAccountMonth != null and inAccountMonth != null and inAccountMonth != '' and inAccountMonth != ''">
test="inAccountMonth != null and inAccountMonth != null and inAccountMonth != '' and inAccountMonth != ''">
and DATE_FORMAT(t.payment_date,'%Y-%m') = #{inAccountMonth} and DATE_FORMAT(t.payment_date,'%Y-%m') = #{inAccountMonth}
</if> </if>
<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 !='99'">
and t.sn_voucher_number = #{snVoucherNumber}
</if>
</select> </select>
<!--其他发票汇总--> <!--其他发票汇总-->
<select id="selectOtherHj" parameterType="java.util.Map" <select id="selectOtherHj" parameterType="java.util.Map"

Loading…
Cancel
Save