Commit c8d759a45e8a7911b768822022009a26d3e3f5d3

Authored by 云中非
1 parent 6ae695b7

fix: RPC记录只有成功或失败

... ... @@ -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
... ...