|
|
|
@ -524,13 +524,13 @@ |
|
|
|
|
<foreach collection="gfsh" index="index" item="item" open="(" separator="," close=")"> |
|
|
|
|
#{item} |
|
|
|
|
</foreach> |
|
|
|
|
<if test="companyCodes != null and companyCodes != '99' and companyCodes != '88' and companyCodes != '' and companyCodes != 'null'" > |
|
|
|
|
and t.comp_code = #{companyCodes} |
|
|
|
|
<if test="companyCode != null and companyCode != '99' and companyCode != '88' and companyCode != '' and companyCode != 'null'" > |
|
|
|
|
and t.comp_code = #{companyCode} |
|
|
|
|
</if> |
|
|
|
|
<if test="companyCodes != null and companyCodes != '' and companyCodes == '88'"> |
|
|
|
|
<if test="companyCode != null and companyCode != '' and companyCode == '88'"> |
|
|
|
|
and (t.comp_code = '' or t.comp_code is null) |
|
|
|
|
</if> |
|
|
|
|
<if test="qszt != null and qszt != '' and qszt != 'null' "> |
|
|
|
|
<if test="qszt != null and qszt != '' and qszt != 'null' and qszt != '99'"> |
|
|
|
|
and t.qs_status = #{qszt} |
|
|
|
|
</if> |
|
|
|
|
<if test="bzdh != null and bzdh != '' and bzdh != 'null' and bzdh != '99'"> |
|
|
|
@ -557,7 +557,7 @@ |
|
|
|
|
<if test="invoiceType != null and invoiceType != '' and invoiceType != 'null' and invoiceType == '14' "> |
|
|
|
|
and t.invoice_type = '14' or (t.invoice_type = '32' and t.lq_tdyslxDm='08') |
|
|
|
|
</if> |
|
|
|
|
<if test="invoiceType != null and invoiceType != '' and invoiceType != 'null' and invoiceType != '14' "> |
|
|
|
|
<if test="invoiceType != null and invoiceType != '' and invoiceType != 'null' and invoiceType != '14' and invoiceType != '99'"> |
|
|
|
|
and t.invoice_type = #{invoiceType} |
|
|
|
|
</if> |
|
|
|
|
<if test="invoiceSource!=null and invoiceSource!='' and invoiceSource!='null' and invoiceSource!='99'"> |
|
|
|
@ -566,7 +566,7 @@ |
|
|
|
|
<if test="fpzt != null and fpzt != '' and fpzt != 'null'"> |
|
|
|
|
and t.invoice_status = #{fpzt} |
|
|
|
|
</if> |
|
|
|
|
<if test="qsfs != null and qsfs != '' and qsfs != 'null' "> |
|
|
|
|
<if test="qsfs != null and qsfs != '' and qsfs != 'null' and qsfs != '99'"> |
|
|
|
|
and t.qs_type = #{qsfs} |
|
|
|
|
</if> |
|
|
|
|
<if test="xfmc != null and xfmc != '' and xfmc != 'null' "> |
|
|
|
|