<?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.approve.mapper.NotificationManagementMapper">
|
|
<select id="listpage" resultType="com.ruoyi.approve.pojo.NotificationManagement">
|
select * from notification_management
|
<where>
|
1=1
|
<if test="notificationManagement.title != null and notificationManagement.title != ''">
|
and title like concat('%',#{notificationManagement.title},'%')
|
</if>
|
<if test="notificationManagement.type != null">
|
and type = #{notificationManagement.type}
|
</if>
|
</where>
|
</select>
|
</mapper>
|