门店归属订单不漏

This commit is contained in:
苏尹岚
2019-11-29 17:48:29 +08:00
parent 6d1129a61c
commit 6c0c837fae
5 changed files with 95 additions and 0 deletions

View File

@@ -382,3 +382,20 @@ func (c *TempOpController) GetJdUsers() {
return retVal, "", err
})
}
// @Title 订单门店归属补漏
// @Description 订单门店归属补漏
// @Param token header string true "认证token"
// @Param fromDate formData string false "开始日期"
// @Param toDate formData string false "结束日期(缺省不限制)"
// @Param isAsync formData bool false "是否异步操作"
// @Param isContinueWhenError formData bool false "单个同步失败是否继续缺省false"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /RefreshOrdersWithoutJxStoreID [post]
func (c *TempOpController) RefreshOrdersWithoutJxStoreID() {
c.callRefreshOrdersWithoutJxStoreID(func(params *tTempopRefreshOrdersWithoutJxStoreIDParams) (retVal interface{}, errCode string, err error) {
retVal, err = tempop.RefreshOrdersWithoutJxStoreID(params.Ctx, params.FromDate, params.ToDate, params.IsAsync, params.IsContinueWhenError)
return retVal, "", err
})
}