更改配置

This commit is contained in:
lyf
2023-01-28 15:57:27 +08:00
parent e1ff6a0eb7
commit b017339f5f
1809 changed files with 32351 additions and 251 deletions

View File

@@ -0,0 +1,20 @@
<?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="cn.pluss.platform.mapper.NotificationMapper">
<select id="selectOneTime" resultType="cn.pluss.platform.entity.Notification">
select id,createTime FROM tb_pluss_notification ORDER BY createTime DESC LIMIT 0,1 ;
</select>
<select id="queryNotification" resultType="cn.pluss.platform.entity.Notification" parameterType="java.util.Map">
select * from tb_pluss_notification
order by case
when status=1 then 0 else 1
END,createTime desc limit #{pageSize} offset #{offset}
</select>
<update id="updateAll" parameterType="java.lang.String">
update tb_pluss_notification set status=#{status}
</update>
</mapper>