|
|
|
@ -93,10 +93,16 @@ |
|
|
|
|
<foreach collection="gfsh" index="index" item="item" open="(" separator="," close=")"> |
|
|
|
|
#{item} |
|
|
|
|
</foreach> |
|
|
|
|
and t.comp_code in |
|
|
|
|
<foreach collection="companyCodes" index="index" item="companyCode" open="(" close=")" separator=","> |
|
|
|
|
#{companyCode} |
|
|
|
|
</foreach> |
|
|
|
|
<!-- and t.comp_code in--> |
|
|
|
|
<!-- <foreach collection="companyCodes" index="index" item="companyCode" open="(" close=")" separator=",">--> |
|
|
|
|
<!-- #{companyCode}--> |
|
|
|
|
<!-- </foreach>--> |
|
|
|
|
<if test="companyCodes != null and companyCodes != '99' and companyCodes != '88' and companyCodes != '' and companyCodes != 'null'" > |
|
|
|
|
and t.comp_code = #{companyCodes} |
|
|
|
|
</if> |
|
|
|
|
<if test="companyCodes != null and companyCodes != '' and companyCodes = '88'"> |
|
|
|
|
and (t.comp_code = '' or t.comp_code is null) |
|
|
|
|
</if> |
|
|
|
|
<if test="qszt != null and qszt != '' and qszt != 'null' "> |
|
|
|
|
and t.qs_status = #{qszt} |
|
|
|
|
</if> |
|
|
|
@ -388,10 +394,16 @@ |
|
|
|
|
<foreach collection="gfsh" index="index" item="item" open="(" separator="," close=")"> |
|
|
|
|
#{item} |
|
|
|
|
</foreach> |
|
|
|
|
and t.comp_code in |
|
|
|
|
<foreach collection="companyCodes" index="index" item="companyCode" open="(" close=")" separator=","> |
|
|
|
|
#{companyCode} |
|
|
|
|
</foreach> |
|
|
|
|
<!-- and t.comp_code in--> |
|
|
|
|
<!-- <foreach collection="companyCodes" index="index" item="companyCode" open="(" close=")" separator=",">--> |
|
|
|
|
<!-- #{companyCode}--> |
|
|
|
|
<!-- </foreach>--> |
|
|
|
|
<if test="companyCodes != null and companyCodes != '99' and companyCodes != '88' and companyCodes != '' and companyCodes != 'null'" > |
|
|
|
|
and t.comp_code = #{companyCodes} |
|
|
|
|
</if> |
|
|
|
|
<if test="companyCodes != null and companyCodes != '' and companyCodes = '88'"> |
|
|
|
|
and (t.comp_code = '' or t.comp_code is null) |
|
|
|
|
</if> |
|
|
|
|
<if test="qszt != null and qszt != '' and qszt != 'null' "> |
|
|
|
|
and t.qs_status = #{qszt} |
|
|
|
|
</if> |
|
|
|
|