dengbiao pirms 5 mēnešiem
vecāks
revīzija
1db0d90fde
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      src/implement/super_cloud_issuance_package_ord_db.go

+ 1
- 1
src/implement/super_cloud_issuance_package_ord_db.go Parādīt failu

@@ -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").


Notiek ielāde…
Atcelt
Saglabāt