|
|
|
@ -137,6 +137,11 @@ func (o *orderLogic) GuideLists(userId, status uint, page bean.Page, isSale bool
|
|
|
|
|
case 3: // 已收货
|
|
|
|
|
query += " and status = ? and express_status = ?"
|
|
|
|
|
queryArgs = append(queryArgs, manage.RecookOrderInfoStatusSuc, manage.RecookOrderInfoExpressStatusComp)
|
|
|
|
|
case 4:
|
|
|
|
|
if isSale {
|
|
|
|
|
query += " and status = 0 and can_pay = 0"
|
|
|
|
|
queryArgs = append(queryArgs, manage.RecookOrderInfoStatusSuc, manage.RecookOrderInfoExpressStatusComp)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
total = recookOrderInfoModel.ListCount(query, queryArgs...)
|
|
|
|
|