新增城市巡检配时方案
Signed-off-by: yinzijian <yinzijian@haomozhixing.onaliyun.com>
This commit is contained in:
parent
e15bbd2ef1
commit
848855534a
|
|
@ -227,7 +227,8 @@ def GetCrossPhaseDiagnosis(citycode: int, area_id: int, schedule_week: str, tp:
|
||||||
stub, channel = channel_stub()
|
stub, channel = channel_stub()
|
||||||
try:
|
try:
|
||||||
request_params = phase_server_pb2.CrossPhaseDiagnosisByCityRequest(citycode=citycode,
|
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)
|
tp=tp)
|
||||||
response = stub.CrossPhaseDiagnosisByCity(request_params, timeout=30)
|
response = stub.CrossPhaseDiagnosisByCity(request_params, timeout=30)
|
||||||
if response.code != 0:
|
if response.code != 0:
|
||||||
|
|
|
||||||
|
|
@ -392,7 +392,8 @@ message CrossPhaseDiagnosisByCityResponse {
|
||||||
message List {
|
message List {
|
||||||
string name = 1; //问题类型
|
string name = 1; //问题类型
|
||||||
int32 total_num = 2; //数量
|
int32 total_num = 2; //数量
|
||||||
repeated item_problems problems = 3; //问题详情
|
string key = 3; //问题类型key
|
||||||
|
repeated item_problems problems = 4; //问题详情
|
||||||
}
|
}
|
||||||
|
|
||||||
message item_problems {
|
message item_problems {
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue