开业运营方案
This commit is contained in:
@@ -73,5 +73,26 @@
|
||||
#{shopId}
|
||||
</foreach>
|
||||
</select>
|
||||
<select id="getOpenPlanShopListByShopName" resultType="com.cool.store.dto.openPlan.OpenPlanShopInfoDTO">
|
||||
|
||||
select si.id as shopId, si.line_id as lineId, si.shop_name as shopName,
|
||||
si.shop_code as shopCode, si.shop_manager_user_id as shopManagerUserId,si.shop_manager_user_id as shopManagerUserId
|
||||
xsbs.big_name as bigName, xsbs.fight_name as fightName
|
||||
from xfsg_shop_info si
|
||||
join xfsg_line_info li on si.line_id = li.id
|
||||
join xfsg_system_building_shop xsbs on si.id = xsbs.big_name
|
||||
where 1=1
|
||||
<if test="shopName != null and shopName != ''">
|
||||
AND si.shop_name = #{shopName}
|
||||
</if>
|
||||
<if test="bigName != null and bigName != ''">
|
||||
AND xsbs.big_name = #{bigName}
|
||||
</if>
|
||||
<if test="fightName != null and fightName != ''">
|
||||
AND xsbs.fight_name = #{fightName}
|
||||
</if>
|
||||
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user