+ partner.ListOrders
+ AmendMissingOrders
This commit is contained in:
@@ -719,4 +719,14 @@ func (c *OrderController) GetStoreAfsOrderCountInfo() {
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /AmendMissingOrders [post]
|
||||
func (c *OrderController) AmendMissingOrders() {
|
||||
c.callAmendMissingOrders(func(params *tOrderAmendMissingOrdersParams) (retVal interface{}, errCode string, err error) {
|
||||
timeList, err := jxutils.BatchStr2Time(params.FromDate, params.ToDate)
|
||||
if err == nil {
|
||||
var vendorIDs []int
|
||||
if err = jxutils.Strings2Objs(params.VendorIDs, &vendorIDs); err == nil {
|
||||
retVal, err = orderman.FixedOrderManager.AmendMissingOrders(params.Ctx, vendorIDs, params.StoreID, timeList[0], timeList[1], params.IsAsync, params.IsContinueWhenError)
|
||||
}
|
||||
}
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user