feat:shopCode

This commit is contained in:
苏竹红
2024-10-12 20:28:07 +08:00
parent e2a97da1bc
commit 33e5bb08f7
7 changed files with 11 additions and 3 deletions

View File

@@ -47,12 +47,11 @@
<select id="getOpenPlanShopListByCondition"
resultType="com.cool.store.dto.openPreparation.OpenPlanShopInfoDTO">
select si.id as shopId, si.region_id AS regionId,si.line_id as lineId, si.shop_name as shopName,
si.store_num as storeNum, si.shop_manager_user_id as shopManagerUserId,op.submission_time AS submissionTime ,
si.store_num as storeNum,si.shop_code as shopCode, si.shop_manager_user_id as shopManagerUserId,op.submission_time AS submissionTime ,
op.result_type AS resultType,si.supervisor_user_id as supervisorUserId
from xfsg_opening_operation_plan op
join xfsg_shop_info si on si.id = op.shop_id
where 1=1
<if test="request.shopName != null and request.shopName != '' ">
AND si.shop_name like concat('%', #{request.shopName}, '%')
</if>

View File

@@ -151,7 +151,7 @@
</select>
<select id="selectShopListByRegionId" resultType="com.cool.store.entity.ShopInfoDO">
select
xsi.id,xsi.line_id as lineId,xsi.region_id as regionId,xsi.shop_name as shopName,xsi.store_num as storeNum
xsi.id,xsi.line_id as lineId,xsi.region_id as regionId,xsi.shop_name as shopName,xsi.store_num as storeNum,xsi.shop_code as shopCode
from xfsg_shop_info xsi
left join xfsg_shop_stage_info xssi on xssi.shop_id = xsi.id
where