展示未禁用的公告
This commit is contained in:
parent
dd2aef808e
commit
c9989abc86
|
@ -63,7 +63,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
|
||||
<select id="selectAgreementById" parameterType="Long" resultMap="AgreementResult">
|
||||
<include refid="selectAgreementVo"/>
|
||||
where bag.id = #{id}
|
||||
where bag.id = #{id}
|
||||
</select>
|
||||
<select id="selectDistinct" resultType="com.ruoyi.bst.agreement.domain.AgreementVO">
|
||||
<include refid="selectAgreementVo"/>
|
||||
|
|
|
@ -2,6 +2,7 @@ package com.ruoyi.web.system;
|
|||
|
||||
import java.util.List;
|
||||
|
||||
import com.ruoyi.system.notice.domain.enums.NoticeStatus;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
|
@ -44,6 +45,7 @@ public class SysNoticeController extends BaseController
|
|||
public TableDataInfo list(NoticeQuery notice)
|
||||
{
|
||||
startPage();
|
||||
notice.setStatus(NoticeStatus.ENABLED.getStatus());
|
||||
List<NoticeVO> list = noticeService.selectNoticeList(notice);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user