From 1db0d90fde50f06d8f1465091f369c4e7f786d8f Mon Sep 17 00:00:00 2001 From: dengbiao Date: Mon, 1 Jul 2024 20:23:53 +0800 Subject: [PATCH] 1 --- src/implement/super_cloud_issuance_package_ord_db.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/implement/super_cloud_issuance_package_ord_db.go b/src/implement/super_cloud_issuance_package_ord_db.go index b3c75c4..6f17fb1 100644 --- a/src/implement/super_cloud_issuance_package_ord_db.go +++ b/src/implement/super_cloud_issuance_package_ord_db.go @@ -36,7 +36,7 @@ func (s SuperCloudIssuancePackageOrdDb) SaveCloudIssuancePackageOrd(id interface func (s SuperCloudIssuancePackageOrdDb) UserOrdList(uid interface{}, req md.BuyPackageRecordsRequest) (resp []*md.BuyPackageRecordsResponse, total int64, err error) { total, err = s.Db.Table("super_cloud_issuance_package_ord"). - Join("INNER", "super_cloud_issuance_package_ord", "super_cloud_issuance_package_ord.package_id = super_cloud_issuance_robot_package.id"). + Join("INNER", "super_cloud_issuance_robot_package", "super_cloud_issuance_package_ord.package_id = super_cloud_issuance_robot_package.id"). Where("super_cloud_issuance_package_ord.uid = ?", uid). OrderBy("super_cloud_issuance_package_ord.id DESC"). Cols("super_cloud_issuance_package_ord.*, super_cloud_issuance_robot_package.name as package_name").