23 lines
558 B
MySQL
23 lines
558 B
MySQL
|
-- ****************************************
|
||
|
-- 创建人员: 杨坤安
|
||
|
-- 创建日期: 2024-07-17
|
||
|
-- 功 能: 帆软明细报表-车位空置率明细
|
||
|
-- 目 录: xianzuan>2_运营>车位空置率明细.fvs
|
||
|
-- ****************************************
|
||
|
|
||
|
|
||
|
|
||
|
-- 【数据集: report_车位】
|
||
|
|
||
|
select * from dws_operation_room_park_info_d
|
||
|
where 1=1
|
||
|
${if(len(p_area) == 0,"","and organ_code = '" + p_area + "'")}
|
||
|
|
||
|
|
||
|
-- 【筛选框数据集: dic_erp片区 】
|
||
|
|
||
|
SELECT DISTINCT
|
||
|
organ_code AS 片区id,
|
||
|
organ_name AS 片区名称
|
||
|
FROM dim_organ_mapping
|
||
|
;
|