2025-06-03 17:18:11 +08:00
|
|
|
<?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.nflg.wms.repository.mapper.RoleMapper">
|
|
|
|
|
|
|
|
|
|
<select id="search" resultType="com.nflg.wms.common.pojo.vo.RoleVO">
|
2025-06-26 18:13:37 +08:00
|
|
|
SELECT *
|
|
|
|
|
FROM role
|
2025-06-03 17:18:11 +08:00
|
|
|
<where>
|
|
|
|
|
<if test="request.name != null and request.name != ''">
|
|
|
|
|
AND name LIKE CONCAT('%',#{request.name},'%')
|
|
|
|
|
</if>
|
|
|
|
|
</where>
|
|
|
|
|
</select>
|
|
|
|
|
</mapper>
|