Showing
1 changed file
with
3 additions
and
3 deletions
| @@ -182,9 +182,9 @@ | @@ -182,9 +182,9 @@ | ||
| 182 | AND tb.type ='PRODUCTION' | 182 | AND tb.type ='PRODUCTION' |
| 183 | </when> | 183 | </when> |
| 184 | <when test="vo.queryType == 'CHANGE'"> | 184 | <when test="vo.queryType == 'CHANGE'"> |
| 185 | - and tb.examine_status = 'PASS' | ||
| 186 | - and tb.status != 'SHIPPED' | ||
| 187 | - and tb.revoke_status != 'UNDOING' | 185 | + AND tb.examine_status = 'PASS' |
| 186 | + AND tb.status != 'SHIPPED' | ||
| 187 | + AND (tb.revoke_status != 'UNDOING' OR tb.revoke_status IS NULL) | ||
| 188 | </when> | 188 | </when> |
| 189 | <otherwise> | 189 | <otherwise> |
| 190 | AND 1 = 0 <!-- 确保查询不到任何数据 --> | 190 | AND 1 = 0 <!-- 确保查询不到任何数据 --> |