|
|
@ -11,9 +11,10 @@
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
<select id="selectSellersByShopIds" resultType="com.kiisoo.ic.store.bean.PoiStoreStaffDTO">
|
|
|
|
<select id="selectSellersByShopIds" resultType="com.kiisoo.ic.store.bean.PoiStoreStaffDTO">
|
|
|
|
select
|
|
|
|
select
|
|
|
|
t2.id, t2.name, t2.mobil, t2.email, t2.address, t2.remark, t2.status,t1.id as staffId,t1.staff_code,t1.store_id,t1.user_id,t1.store_code,t1.type,t1.avatar
|
|
|
|
t2.id, t2.name, t2.mobil, t2.email, t2.address, t2.remark, t2.status,t1.id as
|
|
|
|
|
|
|
|
staffId,t1.staff_code,t1.store_id,t1.user_id,t1.store_code,t1.type,t1.avatar
|
|
|
|
from poi_store_staff t1, privilage_user t2
|
|
|
|
from poi_store_staff t1, privilage_user t2
|
|
|
|
where t1.user_id = t2.id and
|
|
|
|
where t1.user_id = t2.id and t1.type=4 and
|
|
|
|
<choose>
|
|
|
|
<choose>
|
|
|
|
<when test="shopId != null and shopId.size > 0">
|
|
|
|
<when test="shopId != null and shopId.size > 0">
|
|
|
|
t1.store_id in
|
|
|
|
t1.store_id in
|
|
|
|