瀏覽代碼

bug

Signed-off-by: lijunqing <lijunqing@dashoo.cn>
lijunqing 6 年之前
父節點
當前提交
c4ce9e517d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/dashoo.cn/backend/api/business/oilsupplier/selectbusiness/selectservice.go

+ 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