|
|
|
@ -15,7 +15,6 @@
|
|
|
|
|
<result column="bus_id" property="busId" jdbcType="VARCHAR"/>
|
|
|
|
|
<result column="open_type" property="openType" jdbcType="VARCHAR"/>
|
|
|
|
|
<result column="open_page" property="openPage" jdbcType="VARCHAR"/>
|
|
|
|
|
<result column="email_title" property="emailTitle" jdbcType="VARCHAR"/>
|
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
<select id="queryByUserId" parameterType="String" resultType="String">
|
|
|
|
@ -38,11 +37,9 @@
|
|
|
|
|
sa.bus_id as bus_id,
|
|
|
|
|
sa.open_type as open_type,
|
|
|
|
|
sa.open_page as open_page,
|
|
|
|
|
sa.msg_abstract,
|
|
|
|
|
emi.title as email_title
|
|
|
|
|
sa.msg_abstract
|
|
|
|
|
from sys_announcement_send sas
|
|
|
|
|
left join sys_announcement sa ON sas.annt_id = sa.id
|
|
|
|
|
left join eoa_mailbox_info emi ON emi.id = sa.bus_id
|
|
|
|
|
where sa.send_status = '1'
|
|
|
|
|
and sa.del_flag = '0'
|
|
|
|
|
and sas.user_id = #{announcementSendModel.userId}
|
|
|
|
|