|
|
@ -293,10 +293,13 @@ |
|
|
|
like |
|
|
|
like |
|
|
|
CONCAT('%',#{keyWord},'%') |
|
|
|
CONCAT('%',#{keyWord},'%') |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
and t.gf_tax_no in |
|
|
|
<if test="sign != '88'"> |
|
|
|
<foreach collection="gfsh" index="index" item="item" open="(" separator="," close=")"> |
|
|
|
and t.gf_tax_no in |
|
|
|
#{item} |
|
|
|
<foreach collection="gfsh" index="index" item="item" open="(" separator="," close=")"> |
|
|
|
</foreach> |
|
|
|
#{item} |
|
|
|
|
|
|
|
</foreach> |
|
|
|
|
|
|
|
</if> |
|
|
|
|
|
|
|
|
|
|
|
<if test="invoiceType != null and invoiceType != '' and invoiceType != 'null' and invoiceType != '99' "> |
|
|
|
<if test="invoiceType != null and invoiceType != '' and invoiceType != 'null' and invoiceType != '99' "> |
|
|
|
and t.invoice_type = #{invoiceType} |
|
|
|
and t.invoice_type = #{invoiceType} |
|
|
|
</if> |
|
|
|
</if> |
|
|
@ -400,10 +403,13 @@ |
|
|
|
like |
|
|
|
like |
|
|
|
CONCAT('%',#{keyWord},'%') |
|
|
|
CONCAT('%',#{keyWord},'%') |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
and t.xf_tax_no in |
|
|
|
<if test="sign != '88'"> |
|
|
|
<foreach collection="gfsh" index="index" item="item" open="(" separator="," close=")"> |
|
|
|
and t.xf_tax_no in |
|
|
|
#{item} |
|
|
|
<foreach collection="gfsh" index="index" item="item" open="(" separator="," close=")"> |
|
|
|
</foreach> |
|
|
|
#{item} |
|
|
|
|
|
|
|
</foreach> |
|
|
|
|
|
|
|
</if> |
|
|
|
|
|
|
|
|
|
|
|
<if test="invoiceType != null and invoiceType != '' and invoiceType != 'null' and invoiceType != '99' "> |
|
|
|
<if test="invoiceType != null and invoiceType != '' and invoiceType != 'null' and invoiceType != '99' "> |
|
|
|
and t.invoice_type = #{invoiceType} |
|
|
|
and t.invoice_type = #{invoiceType} |
|
|
|
</if> |
|
|
|
</if> |
|
|
@ -559,10 +565,13 @@ |
|
|
|
like |
|
|
|
like |
|
|
|
CONCAT('%',#{keyWord},'%') |
|
|
|
CONCAT('%',#{keyWord},'%') |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
and t.gf_tax_no in |
|
|
|
<if test="sign != '88'"> |
|
|
|
<foreach collection="gfsh" index="index" item="item" open="(" separator="," close=")"> |
|
|
|
and t.gf_tax_no in |
|
|
|
#{item} |
|
|
|
<foreach collection="gfsh" index="index" item="item" open="(" separator="," close=")"> |
|
|
|
</foreach> |
|
|
|
#{item} |
|
|
|
|
|
|
|
</foreach> |
|
|
|
|
|
|
|
</if> |
|
|
|
|
|
|
|
|
|
|
|
<if test="invoiceType != null and invoiceType != '' and invoiceType != 'null' and invoiceType != '99' "> |
|
|
|
<if test="invoiceType != null and invoiceType != '' and invoiceType != 'null' and invoiceType != '99' "> |
|
|
|
and t.invoice_type = #{invoiceType} |
|
|
|
and t.invoice_type = #{invoiceType} |
|
|
|
</if> |
|
|
|
</if> |
|
|
@ -669,10 +678,13 @@ |
|
|
|
like |
|
|
|
like |
|
|
|
CONCAT('%',#{keyWord},'%') |
|
|
|
CONCAT('%',#{keyWord},'%') |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
and t.xf_tax_no in |
|
|
|
<if test="sign != '88'"> |
|
|
|
<foreach collection="gfsh" index="index" item="item" open="(" separator="," close=")"> |
|
|
|
and t.xf_tax_no in |
|
|
|
#{item} |
|
|
|
<foreach collection="gfsh" index="index" item="item" open="(" separator="," close=")"> |
|
|
|
</foreach> |
|
|
|
#{item} |
|
|
|
|
|
|
|
</foreach> |
|
|
|
|
|
|
|
</if> |
|
|
|
|
|
|
|
|
|
|
|
<if test="invoiceType != null and invoiceType != '' and invoiceType != 'null' and invoiceType != '99' "> |
|
|
|
<if test="invoiceType != null and invoiceType != '' and invoiceType != 'null' and invoiceType != '99' "> |
|
|
|
and t.invoice_type = #{invoiceType} |
|
|
|
and t.invoice_type = #{invoiceType} |
|
|
|
</if> |
|
|
|
</if> |
|
|
|