|
@@ -23,6 +23,7 @@
|
|
<result property="createBy.name" column="name" jdbcType="VARCHAR"/>
|
|
<result property="createBy.name" column="name" jdbcType="VARCHAR"/>
|
|
<result property="createBy.photo" column="photo" jdbcType="VARCHAR"/>
|
|
<result property="createBy.photo" column="photo" jdbcType="VARCHAR"/>
|
|
<result property="readFlag" column="read_flag" jdbcType="VARCHAR"/>
|
|
<result property="readFlag" column="read_flag" jdbcType="VARCHAR"/>
|
|
|
|
+ <result property="isClose" column="is_close" jdbcType="VARCHAR"/>
|
|
<collection property="workAttachmentDtoList" ofType="com.jeeplus.test.workContract.service.dto.WorkAttachmentDto" column="id" select="getFileList"></collection>
|
|
<collection property="workAttachmentDtoList" ofType="com.jeeplus.test.workContract.service.dto.WorkAttachmentDto" column="id" select="getFileList"></collection>
|
|
<collection property="pluginNotifyOfficesDTOList" ofType="com.jeeplus.notify.service.dto.PluginNotifyOfficesDTO" column="id" select="getOfficeList"></collection>
|
|
<collection property="pluginNotifyOfficesDTOList" ofType="com.jeeplus.notify.service.dto.PluginNotifyOfficesDTO" column="id" select="getOfficeList"></collection>
|
|
<collection property="pluginNotifyUserDTOList" ofType="com.jeeplus.notify.service.dto.PluginNotifyUserDTO" column="id" select="getUserList"></collection>
|
|
<collection property="pluginNotifyUserDTOList" ofType="com.jeeplus.notify.service.dto.PluginNotifyUserDTO" column="id" select="getUserList"></collection>
|
|
@@ -63,7 +64,8 @@
|
|
u.name,
|
|
u.name,
|
|
u.photo,
|
|
u.photo,
|
|
b.read_num,
|
|
b.read_num,
|
|
- b.un_read_num
|
|
|
|
|
|
+ b.un_read_num,
|
|
|
|
+ a.is_close
|
|
</sql>
|
|
</sql>
|
|
<sql id="File_Column_List">
|
|
<sql id="File_Column_List">
|
|
wa.id,
|
|
wa.id,
|
|
@@ -221,4 +223,10 @@
|
|
update plugin_notify set is_close = "1" where id = #{id}
|
|
update plugin_notify set is_close = "1" where id = #{id}
|
|
</update>
|
|
</update>
|
|
|
|
|
|
|
|
+ <update id="updateNotifyClose">
|
|
|
|
+ update plugin_notify set is_close = "1"
|
|
|
|
+ where
|
|
|
|
+ notify_type = 0 and NOW() > end_date and del_flag = 0
|
|
|
|
+ </update>
|
|
|
|
+
|
|
</mapper>
|
|
</mapper>
|