2
3
lining 6 лет назад
Родитель
Сommit
eedd4ce79e
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      src/dashoo.cn/backend/api/controllers/oilsupplier/select.go

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

@@ -277,10 +277,10 @@ func (this *SelectController) GetProcessAuditList() {
 	supplierTypeCode := this.GetString("SupplierTypeCode")
 	supplierName := this.GetString("SupplierName")
 
-	if (supplierTypeCode != "") {
+	if supplierTypeCode != "" {
 		where = where + " and SupplierTypeCode like '%" + supplierTypeCode + "%'"
 	}
-	if (supplierName != "") {
+	if supplierName != "" {
 		where = where + " and SupplierName like '%" + supplierName + "%'"
 	}
 
@@ -319,4 +319,4 @@ func (this *SelectController) GetProcessAuditList() {
 	this.Data["json"] = &datainfo
 	this.ServeJSON()
 
-}
+}