zqbao 6 月之前
父节点
当前提交
b98bef0a8e
共有 1 个文件被更改,包括 3 次插入8 次删除
  1. 3 8
      services/data/excel/mixed_table.go

+ 3 - 8
services/data/excel/mixed_table.go

@@ -8,12 +8,13 @@ import (
 	"eta/eta_api/services/data"
 	"eta/eta_api/utils"
 	"fmt"
-	"github.com/dengsgo/math-engine/engine"
-	"github.com/shopspring/decimal"
 	"sort"
 	"strconv"
 	"strings"
 	"time"
+
+	"github.com/dengsgo/math-engine/engine"
+	"github.com/shopspring/decimal"
 )
 
 // BaseCalculate
@@ -1277,13 +1278,7 @@ func handleMixCellShowStyle(showStyleList []string, calculateCellMap map[string]
 				cell.ShowFormatValue = cell.ShowValue
 			}
 			// 前端传过来的json中有可能有glObj,需要去掉
-<<<<<<< HEAD
 			styleConf.GlObj = nil
-=======
-			if styleConf.GlObj != nil {
-				styleConf.GlObj = nil
-			}
->>>>>>> 2b87a411fbc8b3f0f69825135dc8f61df939c1bc
 			tmpStyleConf, err := json.Marshal(styleConf)
 			if err == nil {
 				cell.ShowStyle = string(tmpStyleConf)