Browse Source

后端: 提交年审时的判断

baichengfei 4 years ago
parent
commit
5bc86e0dc9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/dashoo.cn/backend/api/controllers/oilsupplier/annualaudit.go

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

@@ -592,7 +592,7 @@ func (this *AnnualAuditController) AddEntity() {
 		this.ServeJSON()
 		return
 	}
-	supWhere := "a.Id = " + utils.ToStr(model.SupplierId) + " and b.SupplierTypeCode = '" + model.SupplierTypeName + "' and (b.Status = '8' or b.Status = '11' "
+	supWhere := "a.Id = " + utils.ToStr(model.SupplierId) + " and b.SupplierTypeCode = '" + model.SupplierTypeName + "' and (b.Status = '8' or b.Status = '11')"
 	supSvc := supplier.GetOilSupplierService(utils.DBE)
 	var list []supplier.OilSupplierView
 	total := supSvc.GetMyPagingEntitiesWithOrderBytbl(OilSupplierName, OilSupplierCertName, 1, 1, "a.Id", true, &list, supWhere)