Commit 046d846c authored by wang.wenrong's avatar wang.wenrong

Merge branch 'wwr' into 'develop'

扬尘返回空处理

See merge request !18
parents d3aa5fa5 28403dc9
......@@ -210,14 +210,14 @@ async def post_info_yang_chen(req, body: CountInfoReq) -> IycResp:
# 1. 获取cid
cid = body.cid
# return await info_yang_chen_service(cid)
return IycResp() # 扬尘不维护,返回空
return IycResp() # 扬尘接口,返回空数据
@summary("工厂版首页地图信息-扬尘")
async def post_info_yang_chen_map(req, body: CountInfoReq) -> IycmResp:
# 1. 获取cid
cid = body.cid
return await info_yang_chen_map_service(cid)
# return IycmResp()
# return await info_yang_chen_map_service(cid)
return IycmResp()
@summary("获取首页用电经济指数")
async def post_electric_economic_index_new(request,
......
......@@ -20,8 +20,8 @@ async def post_tsp_history(req, body: ThReq) -> ThResp:
tsp_id = body.tsp_id
start = body.start
end = body.end
return await tsp_history_service(tsp_id, start, end)
# return await tsp_history_service(tsp_id, start, end)
return ThResp()
@summary("TSP信息-指标统计")
async def post_tsp_index_statistics(req, body: TisReq) -> TisResp:
......@@ -29,8 +29,8 @@ async def post_tsp_index_statistics(req, body: TisReq) -> TisResp:
start = body.start
end = body.end
# return await tsp_index_statistics_service(tsp_id, start, end)
return await tsp_index_statistics_service_new15(tsp_id, start, end)
# return await tsp_index_statistics_service_new15(tsp_id, start, end)
return TisResp()
@summary("当日环境")
async def post_day_env(req, body: DeReq) -> DeResp:
......@@ -44,24 +44,24 @@ async def post_stat_analysis(req, body: ThReq) -> SaResp:
tsp_id = body.tsp_id
start = body.start
end = body.end
return await stat_analysis_service(cid, tsp_id, start, end)
# return await stat_analysis_service(cid, tsp_id, start, end)
return SaResp()
@summary("TSP信息-预测偏差")
async def post_tsp_predict_deviation(req, body: TisReq) -> TpdResp:
tsp_id = body.tsp_id
start = body.start
end = body.end
return await tsp_predict_deviation_service(tsp_id, start, end)
# return await tsp_predict_deviation_service(tsp_id, start, end)
return TpdResp()
@summary("TSP信息-对比偏差")
async def post_tsp_contrast_deviation(req, body: TisReq) -> TcdResp:
tsp_id = body.tsp_id
start = body.start
end = body.end
return await tsp_contrast_deviation_service(tsp_id, start, end)
# return await tsp_contrast_deviation_service(tsp_id, start, end)
return TcdResp()
@summary("统计分析-扬尘-描述")
async def post_analysis_describe(req, body: AdReq) -> AdResp:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment