fix: sql error
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
<select id="queryById" resultMap="AuthRolePermissionMap">
|
||||
select
|
||||
id, role_id, permission_id, created_by, created_time, update_by, update_time, is_deleted
|
||||
from auth_role_premission
|
||||
from auth_role_permission
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
|
||||
<!--新增所有列-->
|
||||
<insert id="insert" keyProperty="id" useGeneratedKeys="true">
|
||||
insert into auth_role_premission(role_id, permission_id, created_by, created_time, update_by, update_time, is_deleted)
|
||||
insert into auth_role_permission(role_id, permission_id, created_by, created_time, update_by, update_time, is_deleted)
|
||||
values (#{roleId}, #{permissionId}, #{createdBy}, #{createdTime}, #{updateBy}, #{updateTime}, #{isDeleted})
|
||||
</insert>
|
||||
|
||||
@@ -149,7 +149,7 @@
|
||||
|
||||
<!--通过主键删除-->
|
||||
<delete id="deleteById">
|
||||
delete from auth_role_premission where id = #{id}
|
||||
delete from auth_role_permission where id = #{id}
|
||||
</delete>
|
||||
|
||||
</mapper>
|
||||
|
Reference in New Issue
Block a user