feat:门店人员
This commit is contained in:
@@ -124,4 +124,26 @@
|
||||
from store_${enterpriseId} where is_delete = 'effective' order by id asc
|
||||
</select>
|
||||
|
||||
<select id="getStoreAreaList" resultType="com.cool.store.dto.store.StoreAreaDTO">
|
||||
select
|
||||
a.store_name as storeName,
|
||||
a.store_id as storeId,
|
||||
a.region_path as regionPath,
|
||||
a.region_id as regionId,
|
||||
a.region_id as areaId,
|
||||
a.store_status as storeStatus
|
||||
FROM store_${enterpriseId} a
|
||||
<where>
|
||||
a.is_delete='effective'
|
||||
<if test="storeIds!=null and storeIds.size>0">
|
||||
<foreach collection="storeIds" item="storeId" index="index" separator="," open="and a.store_id in("
|
||||
close=")">
|
||||
#{storeId}
|
||||
</foreach>
|
||||
</if>
|
||||
</where>
|
||||
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user