commit
d38be7aa4d
|
@ -3,7 +3,7 @@
|
|||
<mapper namespace="com.letoy.edu.dao.UserApiMapper">
|
||||
|
||||
<select id="getApiListByUserId" resultType="MyApi">
|
||||
select b.user_id, b.name, b.url, b.method from user_info as a, api_table as b
|
||||
select b.api_id, b.name, b.url, b.method from user_info as a, api_table as b
|
||||
where
|
||||
a.roles = b.role and a.user_id=#{id};
|
||||
</select>
|
||||
|
|
Loading…
Reference in New Issue