소스 검색

fix:管理规则添加

zqbao 6 달 전
부모
커밋
5a36fee302
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      services/data/excel/excel_info.go

+ 2 - 0
services/data/excel/excel_info.go

@@ -719,8 +719,10 @@ func ExcelRuleFormat(req *request.ExcelRuleMappingReq, lang string) (res *excel.
 		if err != nil {
 			return nil, err
 		}
+		res.LeftValue = req.LeftValue
 		res.LeftValueBack = fmt.Sprintf("%d,%d", x, y)
 	default:
+		res.LeftValue = req.LeftValue
 		res.LeftValueBack = req.LeftValue
 	}
 	switch req.RightValueType {