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