<?xml version="1.0" encoding="UTF-8"?>
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
<mapper namespace="com.ruoyi.system.mapper.TNoticeMapper">
|
|
|
<select id="noticeList" resultType="com.ruoyi.system.applet.vo.NoticeListVO">
|
select t1.* from
|
t_notice t1
|
where t1.user_id = #{query.userId}
|
and t1.`disabled` = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()}
|
order by t1.create_time desc
|
</select>
|
</mapper>
|