fix:订单逻辑
This commit is contained in:
parent
3f78cfd824
commit
1480298bd7
|
@ -910,7 +910,7 @@ func (d *defaultOrder) CreatePrePaymentByDeposit(ctx context.Context, in *Create
|
|||
func (d *defaultOrder) List(ctx context.Context, in *ListReq) (res *ListRes, err error) {
|
||||
var orderList []gmodel.FsOrder
|
||||
model := d.MysqlConn.Model(&gmodel.FsOrder{}).Where("is_del = ?", 0)
|
||||
// model.Where("pay_status > ?", 0)
|
||||
model = model.Where("pay_status > ?", 0)
|
||||
if in.UserId != 0 {
|
||||
model = model.Where("user_id = ?", in.UserId)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user