Prechádzať zdrojové kódy

fix: 已审批研报

hsun 1 rok pred
rodič
commit
ea13c037ca

+ 1 - 1
controller/english_report/english_report.go

@@ -38,7 +38,7 @@ func (er *EnglishReportController) List(c *gin.Context) {
 	item := new(english_report.Report)
 	enClassify := new(english_classify.Classify)
 
-	condition := " state=2"
+	condition := " state IN (2, 6)"
 	var pars []interface{}
 	var total int64
 	var tmpList []*english_report.Report