[後端] 修改排程儲存資料格式問題
This commit is contained in:
parent
7271af8b0e
commit
1abd1f3c5b
@ -1243,7 +1243,7 @@ namespace BackendWorkerService.Quartz.Jobs
|
|||||||
arrangeRawData.Add("@avg_rawdata", avg);
|
arrangeRawData.Add("@avg_rawdata", avg);
|
||||||
break;
|
break;
|
||||||
case "sum":
|
case "sum":
|
||||||
var sum = Convert.ToDecimal(real["@val"].ToString());
|
var sum = Decimal.Parse(real["@val"].ToString(), System.Globalization.NumberStyles.Float);
|
||||||
arrangeRawData.Add("@sum_rawdata", sum);
|
arrangeRawData.Add("@sum_rawdata", sum);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -1311,7 +1311,7 @@ namespace BackendWorkerService.Quartz.Jobs
|
|||||||
arrangeRawData.Add("@avg_rawdata", avg);
|
arrangeRawData.Add("@avg_rawdata", avg);
|
||||||
break;
|
break;
|
||||||
case "sum":
|
case "sum":
|
||||||
var sum = Convert.ToDecimal(real["@val"].ToString());
|
var sum = Decimal.Parse(real["@val"].ToString(), System.Globalization.NumberStyles.Float);
|
||||||
arrangeRawData.Add("@sum_rawdata", sum);
|
arrangeRawData.Add("@sum_rawdata", sum);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -826,7 +826,7 @@ namespace BackendWorkerService.Services.Implement
|
|||||||
arrangeRawData.Add("@avg_rawdata", avg);
|
arrangeRawData.Add("@avg_rawdata", avg);
|
||||||
break;
|
break;
|
||||||
case "sum":
|
case "sum":
|
||||||
var sum = Convert.ToDecimal(real["@val"].ToString());
|
var sum = Decimal.Parse(real["@val"].ToString(), System.Globalization.NumberStyles.Float);
|
||||||
arrangeRawData.Add("@sum_rawdata", sum);
|
arrangeRawData.Add("@sum_rawdata", sum);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -894,7 +894,7 @@ namespace BackendWorkerService.Services.Implement
|
|||||||
arrangeRawData.Add("@avg_rawdata", avg);
|
arrangeRawData.Add("@avg_rawdata", avg);
|
||||||
break;
|
break;
|
||||||
case "sum":
|
case "sum":
|
||||||
var sum = Convert.ToDecimal(real["@val"].ToString());
|
var sum = Decimal.Parse(real["@val"].ToString(), System.Globalization.NumberStyles.Float);
|
||||||
arrangeRawData.Add("@sum_rawdata", sum);
|
arrangeRawData.Add("@sum_rawdata", sum);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user