2
3
Просмотр исходного кода

后端: 集中评审列表查询推荐单位

baichengfei 4 лет назад
Родитель
Сommit
c3a8a4c89b
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      src/dashoo.cn/backend/api/controllers/oilsupplier/supplier.go

+ 5 - 0
src/dashoo.cn/backend/api/controllers/oilsupplier/supplier.go

@@ -590,6 +590,7 @@ func (this *OilSupplierController) GetJZPSJoinCertEntityList() {
 	RegCapital2 := this.GetString("RegCapital2")
 	BusinessScope := this.GetString("BusinessScope")
 	RecUnitName := this.GetString("RecUnitName")
+	RecUnitId := this.GetString("RecUnitId")
 
 	if SupplierName != "" {
 		where = where + " and a.SupplierName like '%" + SupplierName + "%'"
@@ -680,6 +681,10 @@ func (this *OilSupplierController) GetJZPSJoinCertEntityList() {
 		where = where + " and b.RecUnitName like '%" + RecUnitName + "%'"
 	}
 
+	if RecUnitId != "" {
+		where = where + " and b.RecUnitId = '" + RecUnitId + "' "
+	}
+
 	status := this.GetString("Status")
 	if status != "" {
 		where = where + " and b.Status='" + status + "'"