Skip to content

Commit

Permalink
Update permissionMapper.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
feellmoose committed Nov 25, 2023
1 parent b8fc0d9 commit 8c067f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/mapper/permissionMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
<resultMap id="user" type="sast.evento.entitiy.User" autoMapping="true">
<result column="org" property="organization"/>
<result column="bio" property="biography"/>
<result column="link" property="link" typeHandler="com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler"/>
<result column="link" property="link"
typeHandler="com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler"/>
</resultMap>

<select id="getUserHasPermissionByEvent" resultMap="user">
Expand All @@ -29,5 +30,4 @@
where user_id = #{user_id}
and event_id = #{event_id}
</update>

</mapper>

0 comments on commit 8c067f6

Please sign in to comment.