瀏覽代碼

面积图

gmy 4 天之前
父節點
當前提交
e7fd4a4ae5
共有 1 個文件被更改,包括 0 次插入12 次删除
  1. 0 12
      services/data/area_graph/processor_factory.go

+ 0 - 12
services/data/area_graph/processor_factory.go

@@ -25,15 +25,3 @@ func CreateStrategy(dealWay int) (NullDealStrategy, error) {
 		return nil, fmt.Errorf("未知的空值处理类型: %d", dealWay)
 	}
 }
-
-type NullDealContext struct {
-	strategy NullDealStrategy
-}
-
-func (c *NullDealContext) SetStrategy(strategy NullDealStrategy) {
-	c.strategy = strategy
-}
-
-func (c *NullDealContext) ExecuteStrategy(tmpConfig data_manage.AreaExtraConf, edbDataList []*data_manage.ChartEdbInfoMapping, standardIndexMap map[string]*data_manage.EdbDataList) error {
-	return c.strategy.Deal(tmpConfig, edbDataList, standardIndexMap, "", "")
-}