|
|
@@ -293,7 +293,7 @@
|
|
|
</foreach>
|
|
|
</insert>
|
|
|
<select id="selectById" resultType="com.goafanti.message.bo.AppMessageBo">
|
|
|
- select a.id ,b.title,b.body,b.create_time as createTime,a.is_read as isRead from jt_message_consumer a
|
|
|
+ select a.id ,b.title,b.body,b.send_time as sendTime,b.create_time as createTime,a.is_read as isRead from jt_message_consumer a
|
|
|
left join jt_message_producer b on a.message_id=b.id
|
|
|
where a.delete_sign=0 and b.delete_sign=0 and b.is_draft=0 and b.is_send=1
|
|
|
and a.id=#{id,jdbcType=VARCHAR}
|