Browse Source

Process: llplanType传0值问题 1

Yi 1 năm trước cách đây
mục cha
commit
a9931df128
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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{