Explorar el Código

Merge branch 'system-zyj' of uskycloud/usky-cloud into system-165

James hace 1 año
padre
commit
2aa2f71c54

+ 4 - 1
base-modules/service-system/service-system-biz/src/main/resources/mapper/system/SysNoticeMapper.xml

@@ -39,11 +39,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 			<if test="createBy != null and createBy != ''">
 				AND create_by like concat('%', #{createBy}, '%')
 			</if>
+			<if test="1 == 1">
+                and status = 0
+            </if>
             <if test="noticeId != null and noticeId != ''">
                 AND noticeId = #{noticeId}
             </if>
-            order by notice_id desc
 		</where>
+        order by notice_id desc
     </select>
     
     <insert id="insertNotice" parameterType="com.usky.system.domain.SysNotice">