DeleteDeviceThresholdAlarm
DeleteAreaThresholdAlarm
This commit is contained in:
@@ -56,7 +56,7 @@ func NewListDeviceCommandLogResponse(data []models.DeviceCommandLog, total int64
|
||||
func NewListPlanExecutionLogResponse(planLogs []models.PlanExecutionLog, plans []models.Plan, total int64, page, pageSize int) *ListPlanExecutionLogResponse {
|
||||
planId2Name := make(map[uint]string)
|
||||
for _, plan := range plans {
|
||||
planId2Name[plan.ID] = plan.Name
|
||||
planId2Name[plan.ID] = string(plan.Name)
|
||||
}
|
||||
|
||||
dtos := make([]PlanExecutionLogDTO, len(planLogs))
|
||||
|
||||
Reference in New Issue
Block a user