Merge branch 'develop' of gitee.com:fusenpack/fusenapi into develop
This commit is contained in:
commit
cb4e15e54b
|
@ -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