Kaynağa Gözat

准入范围查询去bug

wd 4 yıl önce
ebeveyn
işleme
394ca5cfb0

+ 1 - 1
src/dashoo.cn/backend/api/conf/app.conf

@@ -87,7 +87,7 @@ callbackHost=http://localhost:10091/api
 
 [HSE]
 #HSEUrl=http://weed1.labsop.cn:9390/6,04fc24a640a08b
-HSEUrl=http://weed1.labsop.cn:9390/1,04fda990234e91
+HSEUrl=http://weed1.labsop.cn:9390/2,04fdff47db0074
 HSEPdfUrl=http://weed1.labsop.cn:9390/5,04fda2a24476d8
 
 [MsgUrl]

+ 1 - 1
src/dashoo.cn/backend/api/controllers/oilsupplier/select.go

@@ -1034,7 +1034,7 @@ func (this *SelectController) ZrfwSelect() {
 		svc.GetEntity(&company, sql1)
 	}
 
-	where := "CertSubStatus != '-1'"
+	where := "and CertSubStatus != '-1'"
 	if certsub != "" {
 		where = " and (Code like '%" + certsub + "%' or Name like '%" + certsub + "%')"
 	}