Browse Source

Process: llplanType传0值问题 1

Yi 1 year ago
parent
commit
a9931df128
1 changed files with 1 additions and 1 deletions
  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{