浏览代码

充值记录

k.zhang 11 月之前
父节点
当前提交
988637d720
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      models/shanghu/merchant.recharge.client.account.log.go

+ 1 - 1
models/shanghu/merchant.recharge.client.account.log.go

@@ -46,7 +46,7 @@ func (m *MerchantRechargeClientAccountLog) MerchantRechargeClientAccountLogList(
 
 	table := orm.ShMysql.Table(m.TableName())
 
-	table = table.Where("merchant_open_id = ? ", m.MerchantOpenID)
+	table = table.Where("merchant_open_id = ?  and trans_type = 1", m.MerchantOpenID)
 	var count int
 	if err := table.Select("*").Order("id desc").Offset((pageIndex - 1) * pageSize).Limit(pageSize).Find(&doc).Error; err != nil {
 		return nil, 0, err