新增城市巡检配时方案

Signed-off-by: yinzijian <yinzijian@haomozhixing.onaliyun.com>
This commit is contained in:
yinzijian 2025-11-25 15:24:19 +08:00
parent e15bbd2ef1
commit 848855534a
3 changed files with 12 additions and 10 deletions

View File

@ -227,7 +227,8 @@ def GetCrossPhaseDiagnosis(citycode: int, area_id: int, schedule_week: str, tp:
stub, channel = channel_stub()
try:
request_params = phase_server_pb2.CrossPhaseDiagnosisByCityRequest(citycode=citycode,
area_id=area_id, schedule_week=schedule_week,
area_id=area_id,
schedule_week=schedule_week,
tp=tp)
response = stub.CrossPhaseDiagnosisByCity(request_params, timeout=30)
if response.code != 0:

View File

@ -392,7 +392,8 @@ message CrossPhaseDiagnosisByCityResponse {
message List {
string name = 1; //
int32 total_num = 2; //
repeated item_problems problems = 3; //
string key = 3; //key
repeated item_problems problems = 4; //
}
message item_problems {

File diff suppressed because one or more lines are too long