|
|
@@ -523,7 +523,7 @@
|
|
|
message_from_system a
|
|
|
where 1= 1
|
|
|
<choose>
|
|
|
- <when test="subject = 2">
|
|
|
+ <when test="subject == 2">
|
|
|
and a.subject = 2
|
|
|
</when>
|
|
|
<otherwise>
|
|
|
@@ -546,12 +546,12 @@
|
|
|
message_from_system a
|
|
|
where 1= 1
|
|
|
<choose>
|
|
|
- <when test="subject = 01">
|
|
|
- and a.subject != 2
|
|
|
- </when>
|
|
|
- <when test="subject = 2">
|
|
|
+ <when test="subject == 2">
|
|
|
and a.subject = 2
|
|
|
</when>
|
|
|
+ <otherwise>
|
|
|
+ and a.subject != 2
|
|
|
+ </otherwise>
|
|
|
</choose>
|
|
|
<if test="isDraft != null">
|
|
|
and a.is_draft = #{isDraft,jdbcType=INTEGER}
|