|
|
@ -66,7 +66,7 @@
|
|
|
|
<select id="selectEhsNoticeMessageListAdmin" parameterType="EhsNoticeMessage" resultMap="EhsNoticeMessageResult">
|
|
|
|
<select id="selectEhsNoticeMessageListAdmin" parameterType="EhsNoticeMessage" resultMap="EhsNoticeMessageResult">
|
|
|
|
SELECT m.notice_message_id, m.create_user_id, m.create_time, m.dept_id,
|
|
|
|
SELECT m.notice_message_id, m.create_user_id, m.create_time, m.dept_id,
|
|
|
|
m.title, m.display_content, m.STATUS, m.dept_list, GROUP_CONCAT( ft.dept_name SEPARATOR ';' ) dept_name,
|
|
|
|
m.title, m.display_content, m.STATUS, m.dept_list, GROUP_CONCAT( ft.dept_name SEPARATOR ';' ) dept_name,
|
|
|
|
m.mesg_type, m.read_dept_id, m.all_dept,m.file_temp_name,m.file_temp_original_name,
|
|
|
|
m.mesg_type, m.read_dept_id, m.all_dept,m.file_temp_name,m.file_temp_original_name, m.remark,
|
|
|
|
( SELECT count( 1 ) FROM ehs_notice_message_file f WHERE f.notice_message_id = m.notice_message_id ) file_count
|
|
|
|
( SELECT count( 1 ) FROM ehs_notice_message_file f WHERE f.notice_message_id = m.notice_message_id ) file_count
|
|
|
|
FROM ehs_notice_message m
|
|
|
|
FROM ehs_notice_message m
|
|
|
|
LEFT JOIN sys_user e ON e.user_id = m.CREATE_USER_ID
|
|
|
|
LEFT JOIN sys_user e ON e.user_id = m.CREATE_USER_ID
|
|
|
|