16 lines
661 B
XML
16 lines
661 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="com.nflg.wms.repository.mapper.RoleMapper">
|
|
|
|
<select id="search" resultType="com.nflg.wms.common.pojo.vo.RoleVO">
|
|
SELECT id,code,name,enable,create_by AS 'createBy',create_time AS 'createTime',update_by AS 'updateBy'
|
|
,update_time AS 'updateTime'
|
|
FROM admin_role
|
|
<where>
|
|
<if test="request.name != null and request.name != ''">
|
|
AND name LIKE CONCAT('%',#{request.name},'%')
|
|
</if>
|
|
</where>
|
|
</select>
|
|
</mapper>
|