2
3
wd 4 жил өмнө
parent
commit
96ed8d6222

+ 6 - 6
src/dashoo.cn/backend/api/controllers/oilsupplier/hsescore.go

@@ -122,7 +122,7 @@ func (this *HSEScoreController) GetSupplierHSEList() {
 	CommercialNo := this.GetString("CommercialNo")
 	AccessCardNo := this.GetString("AccessCardNo")
 	Name := this.GetString("Name")
-	IsThree := this.GetString("IsThree")
+	//IsThree := this.GetString("IsThree")
 	where := " 1=1"
 
 	if SupplierName != "" {
@@ -147,11 +147,11 @@ func (this *HSEScoreController) GetSupplierHSEList() {
 	size := 100
 	desc := true
 
-	if IsThree != "" {
-		orderby = "Score"
-		size = 3
-		desc = false
-	}
+	//if IsThree != "" {
+	//	orderby = "Score"
+	//	size = 3
+	//	desc = false
+	//}
 
 	//企业用户必须加创建人条件
 	if this.User.IsCompanyUser == 1 {