浏览代码

Process: llplanType传0值问题 1

Yi 1 年之前
父节点
当前提交
a9931df128
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      model/formula_estimate.go

+ 1 - 1
model/formula_estimate.go

@@ -248,7 +248,7 @@ func NewProcessAnalysisParams(pastureId int64, req *operationPb.ProcessAnalysisR
 	}
 
 	lpPlanType := ""
-	if req.PlanType == 0 {
+	if req.PlanType > 0 {
 		lpPlanType = fmt.Sprintf("%d", req.PlanType)
 	}
 	return &ProcessAnalysisParams{