增加管理员模块的增删改查~

This commit is contained in:
YunaiV
2019-03-02 17:19:37 +08:00
parent ffeb866b91
commit 36f62b2459
25 changed files with 422 additions and 31 deletions

View File

@@ -19,4 +19,11 @@
WHERE id = #{id}
</select>
<update id="updateToInvalidByAdminId" parameterType="Integer">
UPDATE oauth2_access_token
SET valid = 0
WHERE admin_id = #{adminId}
AND valid = 1
</update>
</mapper>