查找退费账单
This commit is contained in:
@@ -737,6 +737,25 @@ func GetOrderStatusList2(refVendorOrderID string, wayBillId string, orderType in
|
||||
return statusList, nil
|
||||
}
|
||||
|
||||
// GetOrderStatusCancelList 取消订单
|
||||
func GetOrderStatusCancelList(refVendorOrderID string) (statusList []*model.OrderStatus, err error) {
|
||||
sql := `
|
||||
SELECT *
|
||||
FROM order_status t1
|
||||
WHERE t1.ref_vendor_order_id = ? AND t1.vendor_order_id = ? AND t1.vendor_id = ?
|
||||
`
|
||||
sqlParams := []interface{}{
|
||||
refVendorOrderID,
|
||||
}
|
||||
sql += " ORDER BY t1.status_time, t1.order_type DESC, t1.status"
|
||||
|
||||
db := dao.GetDB()
|
||||
if err = dao.GetRows(db, &statusList, sql, sqlParams...); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return statusList, nil
|
||||
}
|
||||
|
||||
func (c *OrderManager) GetOrdersFinancial(ctx *jxcontext.Context, fromDateStr, toDateStr string, params map[string]interface{}, offset, pageSize int) (pagedInfo *model.PagedInfo, err error) {
|
||||
globals.SugarLogger.Debugf("GetOrdersFinancial from:%s to:%s", fromDateStr, toDateStr)
|
||||
pageSize = jxutils.FormalizePageSize(pageSize)
|
||||
|
||||
Reference in New Issue
Block a user