接口增加ctx
This commit is contained in:
@@ -1232,7 +1232,7 @@ func GetHalfHoursList() (strs []string) {
|
|||||||
return strs
|
return strs
|
||||||
}
|
}
|
||||||
|
|
||||||
func RefreshAllMatterOrderStatus() (err error) {
|
func RefreshAllMatterOrderStatus(ctx *jxcontext.Context) (err error) {
|
||||||
var (
|
var (
|
||||||
db = dao.GetDB()
|
db = dao.GetDB()
|
||||||
goodsList []*model.GoodsOrder
|
goodsList []*model.GoodsOrder
|
||||||
|
|||||||
@@ -183,7 +183,7 @@ func (c *JxOrderController) GetMatterOrderStatus() {
|
|||||||
// @router /RefreshAllMatterOrderStatus [put]
|
// @router /RefreshAllMatterOrderStatus [put]
|
||||||
func (c *JxOrderController) RefreshAllMatterOrderStatus() {
|
func (c *JxOrderController) RefreshAllMatterOrderStatus() {
|
||||||
c.callRefreshAllMatterOrderStatus(func(params *tJxorderRefreshAllMatterOrderStatusParams) (retVal interface{}, errCode string, err error) {
|
c.callRefreshAllMatterOrderStatus(func(params *tJxorderRefreshAllMatterOrderStatusParams) (retVal interface{}, errCode string, err error) {
|
||||||
err = localjx.RefreshAllMatterOrderStatus()
|
err = localjx.RefreshAllMatterOrderStatus(params.Ctx)
|
||||||
return retVal, "", err
|
return retVal, "", err
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user