|
@@ -150,7 +150,7 @@ func (srv TaskService) listTaskAnomaly2(param *command.ListTaskAnomalyCommand) ( |
|
@@ -150,7 +150,7 @@ func (srv TaskService) listTaskAnomaly2(param *command.ListTaskAnomalyCommand) ( |
150
|
item.AnomalyDesc2 = map[string]string{
|
150
|
item.AnomalyDesc2 = map[string]string{
|
151
|
"types": "2",
|
151
|
"types": "2",
|
152
|
"dayTime": recordBegin.Local().Format("2006-01-02"),
|
152
|
"dayTime": recordBegin.Local().Format("2006-01-02"),
|
153
|
- "interval": strconv.Itoa(subDay),
|
153
|
+ "interval": strconv.Itoa(val.AssessFlag),
|
154
|
"noticeWho": strings.Join(noticeWho, ","),
|
154
|
"noticeWho": strings.Join(noticeWho, ","),
|
155
|
}
|
155
|
}
|
156
|
}
|
156
|
}
|
|
@@ -315,7 +315,7 @@ func (srv TaskService) listTaskAnomaly3(param *command.ListTaskAnomalyCommand) ( |
|
@@ -315,7 +315,7 @@ func (srv TaskService) listTaskAnomaly3(param *command.ListTaskAnomalyCommand) ( |
315
|
item.AnomalyDesc2 = map[string]string{
|
315
|
item.AnomalyDesc2 = map[string]string{
|
316
|
"types": "2",
|
316
|
"types": "2",
|
317
|
"dayTime": recordBegin.Local().Format("2006-01-02"),
|
317
|
"dayTime": recordBegin.Local().Format("2006-01-02"),
|
318
|
- "interval": strconv.Itoa(subDay),
|
318
|
+ "interval": strconv.Itoa(val.AssessFlag),
|
319
|
"noticeWho": strings.Join(noticeWho, ","),
|
319
|
"noticeWho": strings.Join(noticeWho, ","),
|
320
|
}
|
320
|
}
|
321
|
}
|
321
|
}
|
|
@@ -535,7 +535,7 @@ func (srv TaskService) ListTaskAnomaly1(param *command.ListTaskAnomalyCommand) ( |
|
@@ -535,7 +535,7 @@ func (srv TaskService) ListTaskAnomaly1(param *command.ListTaskAnomalyCommand) ( |
535
|
item.AnomalyDesc2 = map[string]string{
|
535
|
item.AnomalyDesc2 = map[string]string{
|
536
|
"types": "2",
|
536
|
"types": "2",
|
537
|
"dayTime": recordBegin.Local().Format("2006-01-02"),
|
537
|
"dayTime": recordBegin.Local().Format("2006-01-02"),
|
538
|
- "interval": strconv.Itoa(subDay),
|
538
|
+ "interval": strconv.Itoa(val.AssessFlag),
|
539
|
"noticeWho": strings.Join(noticeWho, ","),
|
539
|
"noticeWho": strings.Join(noticeWho, ","),
|
540
|
}
|
540
|
}
|
541
|
}
|
541
|
}
|
|
@@ -993,7 +993,7 @@ func (srv TaskService) TaskAnomalyInfo(param *command.GetTaskAnomalyCommand) (*a |
|
@@ -993,7 +993,7 @@ func (srv TaskService) TaskAnomalyInfo(param *command.GetTaskAnomalyCommand) (*a |
993
|
result.AnomalyDesc2 = map[string]string{
|
993
|
result.AnomalyDesc2 = map[string]string{
|
994
|
"types": "2",
|
994
|
"types": "2",
|
995
|
"dayTime": recordBegin.Local().Format("2006-01-02"),
|
995
|
"dayTime": recordBegin.Local().Format("2006-01-02"),
|
996
|
- "interval": strconv.Itoa(subDay),
|
996
|
+ "interval": strconv.Itoa(anomalyData.AssessFlag),
|
997
|
"noticeWho": strings.Join(noticeWho, ","),
|
997
|
"noticeWho": strings.Join(noticeWho, ","),
|
998
|
}
|
998
|
}
|
999
|
}
|
999
|
}
|
|
@@ -1301,7 +1301,7 @@ func (srv TaskService) ListTaskAnomaly4(param *command.ListTaskAnomalyCommand) ( |
|
@@ -1301,7 +1301,7 @@ func (srv TaskService) ListTaskAnomaly4(param *command.ListTaskAnomalyCommand) ( |
1301
|
item.AnomalyDesc2 = map[string]string{
|
1301
|
item.AnomalyDesc2 = map[string]string{
|
1302
|
"types": "2",
|
1302
|
"types": "2",
|
1303
|
"dayTime": recordBegin.Local().Format("2006-01-02"),
|
1303
|
"dayTime": recordBegin.Local().Format("2006-01-02"),
|
1304
|
- "interval": strconv.Itoa(subDay),
|
1304
|
+ "interval": strconv.Itoa(val.AssessFlag),
|
1305
|
"noticeWho": strings.Join(noticeWho, ","),
|
1305
|
"noticeWho": strings.Join(noticeWho, ","),
|
1306
|
}
|
1306
|
}
|
1307
|
}
|
1307
|
}
|