mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-24 03:16:54 +08:00
v3.7.0 (2024-09-28) Java17+SpringBoot3重磅更新,【新增】支持Java17;【新增】支持SpringBoot3;【优化】优化AES和SM4加密;【优化】优化三级等保文档;
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?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="net.lab1024.sa.admin.module.system.role.dao.RoleDao">
|
||||
|
||||
<resultMap id="RoleEntity"
|
||||
type="net.lab1024.sa.admin.module.system.role.domain.entity.RoleEntity"></resultMap>
|
||||
|
||||
|
||||
<select id="getByRoleName" resultMap="RoleEntity">
|
||||
SELECT *
|
||||
FROM t_role
|
||||
WHERE role_name = #{roleName}
|
||||
</select>
|
||||
|
||||
|
||||
<select id="getByRoleCode" resultMap="RoleEntity">
|
||||
SELECT *
|
||||
FROM t_role
|
||||
WHERE role_code = #{roleCode}
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user