|
|
|
@ -140,8 +140,17 @@ |
|
|
|
|
<if test="qsr != null and qsr != '' and qsr != 'null' "> |
|
|
|
|
and t.qs_name = #{qsr} |
|
|
|
|
</if> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<if test="rzhr != null and rzhr != '' and rzhr != 'null' "> |
|
|
|
|
and t.confirm_user like CONCAT(#{rzhr},'%') |
|
|
|
|
<choose> |
|
|
|
|
<when test="rzhr = 'admin'"> |
|
|
|
|
and (t.confirm_user = 'admin' or t.confirm_user is null or t.confirm_user = '') |
|
|
|
|
</when> |
|
|
|
|
<otherwise> |
|
|
|
|
and t.confirm_user like CONCAT(#{rzhr},'%') |
|
|
|
|
</otherwise> |
|
|
|
|
</choose> |
|
|
|
|
</if> |
|
|
|
|
<if test="settlementNo != null and settlementNo != ''"> |
|
|
|
|
and t.settlement_no like concat(#{settlementNo},'%') |
|
|
|
@ -403,7 +412,14 @@ |
|
|
|
|
and t.qs_name = #{qsr} |
|
|
|
|
</if> |
|
|
|
|
<if test="rzhr != null and rzhr != '' and rzhr != 'null' "> |
|
|
|
|
and t.confirm_user like CONCAT(#{rzhr},'%') |
|
|
|
|
<choose> |
|
|
|
|
<when test="rzhr = 'admin'"> |
|
|
|
|
and (t.confirm_user = 'admin' or t.confirm_user is null or t.confirm_user = '') |
|
|
|
|
</when> |
|
|
|
|
<otherwise> |
|
|
|
|
and t.confirm_user like CONCAT(#{rzhr},'%') |
|
|
|
|
</otherwise> |
|
|
|
|
</choose> |
|
|
|
|
</if> |
|
|
|
|
<if test="glzt != null and glzt != '' and glzt != 'null' and glzt != '99'"> |
|
|
|
|
and t.glzt = #{glzt} |
|
|
|
|