Showing
1 changed file
with
7 additions
and
1 deletions
... | ... | @@ -71,7 +71,13 @@ |
71 | 71 | AND base.request LIKE concat('%',#{oneway}::TEXT,'%') |
72 | 72 | </if> |
73 | 73 | <if test="status !=null"> |
74 | - AND base.status = #{status} | |
74 | + AND base.status | |
75 | + <if test="status.toString() == 'SUCCESSFUL'"> | |
76 | + = #{status} | |
77 | + </if> | |
78 | + <if test="status.toString() != 'SUCCESSFUL'"> | |
79 | + != 'SUCCESSFUL' | |
80 | + </if> | |
75 | 81 | </if> |
76 | 82 | <if test="organization !=null"> |
77 | 83 | AND dev.organization_id IN | ... | ... |