浏览代码

去掉判断

xyxie 10 月之前
父节点
当前提交
3f87b70aad
共有 1 个文件被更改,包括 4 次插入5 次删除
  1. 4 5
      controllers/data_manage/excel/balance_table.go

+ 4 - 5
controllers/data_manage/excel/balance_table.go

@@ -1113,11 +1113,10 @@ func (c *ExcelInfoController) AddStaticExcel() {
 				if !ok {
 					child = make(map[int][]*data_manage.EdbDataList)
 				}
-				err, errMsg = excelService.GetBalanceExcelEdbData(mapping, newExcelDataMap, child, excelAllRows, excelAllCols)
-				if err != nil {
-					br.Msg = "获取图表,指标信息失败"
-					br.ErrMsg = fmt.Sprintf(" 获取图表,指标信息失败 Err:%s", err.Error())
-					return
+				er, msg := excelService.GetBalanceExcelEdbData(mapping, newExcelDataMap, child, excelAllRows, excelAllCols)
+				if er != nil {
+					utils.FileLog.Info(fmt.Sprintf(" 获取图表,指标信息失败 Err:%s, %s", msg, er.Error()))
+					continue
 				}
 				excelDataMap[mapping.ChartInfoId] = child
 			}