Procházet zdrojové kódy

bug

Signed-off-by: lijunqing <lijunqing@dashoo.cn>
lijunqing před 6 roky
rodič
revize
c4ce9e517d

+ 1 - 1
src/dashoo.cn/backend/api/business/oilsupplier/selectbusiness/selectservice.go

@@ -46,7 +46,7 @@ func (s *SelectService) GetMyPagingEntitiesWithOrderBytbl(supplierTableName, sup
 	sql += `from ` + supplierTableName + ` a `
 	sql += `left join ` + supplierCertTableName + ` b on b.SupplierId = a.Id `
 	sql += `left join ` + OilInfoChangeName + ` c  on c.SupplierId = a.Id `
-	sql += `left join ` + OilSupplierCert2FileName + ` d  on d.SupplierId = b.Id `
+	sql += `left join ` + OilSupplierCert2FileName + ` d  on d.SupplierCertId = b.Id `
 	sql += `where ` + where
 
 	sql += ` group by a.Id,b.Id ` + having