fix: kpi granularity column update to NULL

This commit is contained in:
simonzhangsz committed 2024-01-23 20:15:45 +08:00
1 parent 413f0b4951
commit 5e4183cebc
4 files changed
+21 -6

No files matched your search

@@ -117,7 +117,7 @@ func (s *BarProcessor) Execute(data any) (any, error) {
state := new(SystemState)
_ = json.Unmarshal(response.Body(), &state)
var dateStr *string = nil
if state.ExpiryDate != "" {
if state.ExpiryDate != "" && state.ExpiryDate != "-" {
dateStr = &state.ExpiryDate
}
neState := new(dborm.NeState)