12345678910111213141516171819202122232425 |
- <?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.zy.bms.mapper.PrivilegeApplyRecordMapper">
- <select id="listPage" resultType="com.zy.bms.entity.PrivilegeApplyRecord">
- SELECT
- *
- FROM
- privilege_apply_record
- <where>
- <if test="io.phone != null and io.phone != ''">
- AND phone LIKE CONCAT('%',#{io.phone},'%')
- </if>
- <if test="io.remark != null and io.remark != ''">
- AND remark LIKE CONCAT('%',#{io.phone},'%')
- </if>
- <if test="io.status != null">
- AND status = #{io.status}
- </if>
- </where>
- </select>
- </mapper>
|