|
|
|
@ -80,9 +80,12 @@ |
|
|
|
|
<if test="bdkStatus != null and bdkStatus != '' and bdkStatus != 'null' and bdkStatus != '99'"> |
|
|
|
|
and t.bdk_status = #{bdkStatus} |
|
|
|
|
</if> |
|
|
|
|
<if test="confirmUser != null and confirmUser != '' and confirmUser != 'null' "> |
|
|
|
|
<if test="confirmUser != null and confirmUser != '' and confirmUser != 'null' and confirmUser != 'admin'"> |
|
|
|
|
and t.confirm_user like CONCAT(#{confirmUser},'%') |
|
|
|
|
</if> |
|
|
|
|
<if test="confirmUser == 'admin'"> |
|
|
|
|
and (t.confirm_user = #{confirmUser} or t.confirm_user is null or t.confirm_user = '') and t.auth_status = '4' |
|
|
|
|
</if> |
|
|
|
|
<if test="glzt != null and glzt != '' and glzt != 'null' and glzt != '99'"> |
|
|
|
|
and t.glzt = #{glzt} |
|
|
|
|
</if> |
|
|
|
@ -245,9 +248,12 @@ |
|
|
|
|
<if test="bdkStatus != null and bdkStatus != '' and bdkStatus != 'null' and bdkStatus != '99'"> |
|
|
|
|
and t.bdk_status = #{bdkStatus} |
|
|
|
|
</if> |
|
|
|
|
<if test="confirmUser != null and confirmUser != '' and confirmUser != 'null' "> |
|
|
|
|
<if test="confirmUser != null and confirmUser != '' and confirmUser != 'null' and confirmUser != 'admin'"> |
|
|
|
|
and t.confirm_user like CONCAT(#{confirmUser},'%') |
|
|
|
|
</if> |
|
|
|
|
<if test="confirmUser == 'admin'"> |
|
|
|
|
and (t.confirm_user = #{confirmUser} or t.confirm_user is null or t.confirm_user = '') and t.auth_status = '4' |
|
|
|
|
</if> |
|
|
|
|
<if test="glzt != null and glzt != '' and glzt != 'null' and glzt != '99'"> |
|
|
|
|
and t.glzt = #{glzt} |
|
|
|
|
</if> |
|
|
|
|