|
|
@ -11,7 +11,7 @@
|
|
|
|
limit 1
|
|
|
|
limit 1
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
<select id="selectStoreIdByUserId" resultType="java.lang.Long">
|
|
|
|
<select id="selectStoreIdByUserId" resultType="java.lang.Long">
|
|
|
|
SELECT store_id from poi_store_staff where user_id = #{userId}
|
|
|
|
SELECT store_id from poi_store_staff where user_id = #{userId} limit 1
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
<select id="selecctRoleByUserId" resultType="com.kiisoo.ic.system.entity.PrivilageRoleDO">
|
|
|
|
<select id="selecctRoleByUserId" resultType="com.kiisoo.ic.system.entity.PrivilageRoleDO">
|
|
|
|
select t2.*
|
|
|
|
select t2.*
|
|
|
|