|
@@ -71,6 +71,10 @@ WHERE
|
|
<include refid="selectXiaoyuanNoticeVo"/>
|
|
<include refid="selectXiaoyuanNoticeVo"/>
|
|
where sender_id = #{senderId} order by create_time DESC
|
|
where sender_id = #{senderId} order by create_time DESC
|
|
</select>
|
|
</select>
|
|
|
|
+ <select id="selectXiaoyuanNoticeByMyCollect" resultMap="XiaoyuanNoticeResult">
|
|
|
|
+ <include refid="selectXiaoyuanNoticeVo"/>
|
|
|
|
+ where collect like concat('%', #{collect}, '%') order by create_time DESC
|
|
|
|
+ </select>
|
|
|
|
|
|
<insert id="insertXiaoyuanNotice" parameterType="XiaoyuanNotice" useGeneratedKeys="true" keyProperty="noticeId">
|
|
<insert id="insertXiaoyuanNotice" parameterType="XiaoyuanNotice" useGeneratedKeys="true" keyProperty="noticeId">
|
|
insert into xiaoyuan_notice
|
|
insert into xiaoyuan_notice
|