|
|
@@ -447,7 +447,7 @@
|
|
|
a.consumer_id = #{uid,jdbcType=VARCHAR}
|
|
|
and a.send_time is null <!-- 未发送 -->
|
|
|
and c.is_draft = 0 <!-- 非草稿 -->
|
|
|
- and c.delete_sign = false <!-- 未删除 -->
|
|
|
+ and c.delete_sign = 0 <!-- 未删除 -->
|
|
|
</select>
|
|
|
|
|
|
<update id="updateJpushEasemobAccount">
|
|
|
@@ -511,7 +511,7 @@
|
|
|
<if test="isDraft != null">
|
|
|
and a.is_draft = #{isDraft,jdbcType=INTEGER}
|
|
|
</if>
|
|
|
- and a.delete_sign = false
|
|
|
+ and a.delete_sign = 0
|
|
|
<if test="page_sql!=null">
|
|
|
${page_sql}
|
|
|
</if>
|
|
|
@@ -534,7 +534,7 @@
|
|
|
<if test="isDraft != null">
|
|
|
and a.is_draft = #{isDraft,jdbcType=INTEGER}
|
|
|
</if>
|
|
|
- and a.delete_sign = false
|
|
|
+ and a.delete_sign = 0
|
|
|
</select>
|
|
|
|
|
|
<select id="selectMessageWithGroup" resultType="com.goafanti.app.bo.IndexBo">
|
|
|
@@ -558,7 +558,7 @@
|
|
|
where
|
|
|
consumer_id = #{uid,jdbcType=VARCHAR}
|
|
|
and a.read_time is not null
|
|
|
- and a.delete_sign = false
|
|
|
+ and a.delete_sign = 0
|
|
|
and b.subject = 1
|
|
|
order by
|
|
|
a.create_time desc limit 1
|
|
|
@@ -572,7 +572,7 @@
|
|
|
where
|
|
|
consumer_id = #{uid,jdbcType=VARCHAR}
|
|
|
and a.read_time is not null
|
|
|
- and a.delete_sign = false
|
|
|
+ and a.delete_sign = 0
|
|
|
and b.subject = 1
|
|
|
) t2 on
|
|
|
t1.nouse = t2.nouse
|
|
|
@@ -594,7 +594,7 @@
|
|
|
where
|
|
|
consumer_id = #{uid,jdbcType=VARCHAR}
|
|
|
and a.read_time is not null
|
|
|
- and a.delete_sign = false
|
|
|
+ and a.delete_sign = 0
|
|
|
and b.subject = 2
|
|
|
order by
|
|
|
a.create_time desc limit 1
|
|
|
@@ -608,7 +608,7 @@
|
|
|
where
|
|
|
consumer_id = #{uid,jdbcType=VARCHAR}
|
|
|
and a.read_time is not null
|
|
|
- and a.delete_sign = false
|
|
|
+ and a.delete_sign = 0
|
|
|
and b.subject = 2
|
|
|
) t4 on
|
|
|
t3.nouse = t4.nouse
|
|
|
@@ -624,7 +624,7 @@
|
|
|
a.message_id = b.id
|
|
|
where
|
|
|
a.consumer_id = #{uid,jdbcType=VARCHAR}
|
|
|
- and a.delete_sign = false
|
|
|
+ and a.delete_sign = 0
|
|
|
<if test="subject != null">
|
|
|
and b.subject = #{subject,jdbcType=INTEGER}
|
|
|
</if>
|
|
|
@@ -644,7 +644,7 @@
|
|
|
a.message_id = b.id
|
|
|
where
|
|
|
a.consumer_id = #{uid,jdbcType=VARCHAR}
|
|
|
- and a.delete_sign = false
|
|
|
+ and a.delete_sign = 0
|
|
|
<if test="subject != null">
|
|
|
and b.subject = #{subject,jdbcType=INTEGER}
|
|
|
</if>
|