소스 검색

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{