消息--添加发起人字段

This commit is contained in:
zhn
2022-07-11 11:21:35 +08:00
parent 5d2023038a
commit 061ef75f2a
10 changed files with 48 additions and 18 deletions
@@ -153,4 +153,8 @@ public class SysAnnouncement implements Serializable {
* 文档id
*/
private java.lang.String documentId;
/**
* 发起人
*/
private java.lang.String initiator;
}
@@ -27,6 +27,7 @@
<result column="open_type" property="openType" jdbcType="VARCHAR"/>
<result column="open_page" property="openPage" jdbcType="VARCHAR"/>
<result column="document_id" property="documentId" jdbcType="VARCHAR"/>
<result column="initiator" property="initiator" jdbcType="VARCHAR"/>
</resultMap>
@@ -17,6 +17,7 @@
<result column="open_type" property="openType" jdbcType="VARCHAR"/>
<result column="open_page" property="openPage" jdbcType="VARCHAR"/>
<result column="document_id" property="documentId" jdbcType="VARCHAR"/>
<result column="initiator" property="initiator" jdbcType="VARCHAR"/>
</resultMap>
<select id="queryByUserId" parameterType="String" resultType="String">
@@ -41,7 +42,8 @@
sa.open_type as open_type,
sa.open_page as open_page,
sa.msg_abstract,
sa.document_id as document_id
sa.document_id as document_id,
sa.initiator as initiator
from sys_announcement_send sas
left join sys_announcement sa ON sas.annt_id = sa.id
where sa.del_flag = '0'
@@ -82,5 +82,9 @@ public class AnnouncementSendModel implements Serializable {
* 文档id
*/
private java.lang.String documentId;
/**
* 发起人
*/
private java.lang.String initiator;
}