Files
gitea-test/target/classes/cn/wujiangbo/mapper/app/AppUserMapper.xml
2025-12-30 11:02:57 +08:00

14 lines
550 B
XML

<?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.wujiangbo.mapper.app.AppUserMapper">
<select id="selectMySqlPage" resultType="cn.wujiangbo.domain.app.AppUser">
select t1.*
from app_user t1
<where>
<if test="query.keyword != null and query.keyword != '' ">
and t1.login_name like concat('%', #{query.keyword}, '%')
</if>
</where>
</select>
</mapper>