jz.kai преди 5 години
родител
ревизия
99e08edf3b
променени са 2 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 1 0
      common/src/main/resources/mapper/base/MessageNotice.xml
  2. 1 0
      common/src/main/resources/mapper/base/MessageReport.xml

+ 1 - 0
common/src/main/resources/mapper/base/MessageNotice.xml

@@ -95,6 +95,7 @@ id_,title_,content_,sender_id,recipient_id,status_,del_flag,create_by,create_tim
 			select * from base_message_notice
 		]]>
 		<where>
+			and del_flag = false
 			<if test="searchParams.id != null">
 				and ID_ like #{searchParams.id}
 			</if>

+ 1 - 0
common/src/main/resources/mapper/base/MessageReport.xml

@@ -95,6 +95,7 @@ id_,title_,content_,sender_id,recipient_id,status_,del_flag,create_by,create_tim
 			select * from base_message_report
 		]]>
 		<where>
+			and del_flag = false
 			<if test="searchParams.id != null">
 				and ID_ like #{searchParams.id}
 			</if>