|
|
@@ -148,7 +148,7 @@ func (this *OilSupplierCertAppendController) GetSupplier() {
|
|
|
|
|
|
svc := suppliercertappend.GetOilSupplierCertAppendService(utils.DBE)
|
|
|
sqlStr := "SELECT b.Id AS SupplierId, a.Id AS SupplierCertId, b.SupplierName AS SupplierName FROM OilSupplierCert AS a LEFT JOIN OilSupplier AS b ON a.SupplierId = b.Id "
|
|
|
- where := "WHERE b.Id is NOT NULL AND a.SupplierTypeCode = " + Id
|
|
|
+ where := "WHERE b.Id is NOT NULL AND a.SupplierTypeCode = " + Id + " and a.InFlag='1'"
|
|
|
|
|
|
sqlStr = sqlStr + where
|
|
|
|