This commit is contained in:
邹宗楠
2022-12-12 09:33:24 +08:00
parent cec915fda9
commit 632c96f059
14 changed files with 432 additions and 89 deletions

View File

@@ -1,7 +1,9 @@
package controllers
import (
"encoding/json"
"fmt"
"git.rosy.net.cn/jx-callback/business/bidding"
"strings"
"time"
@@ -432,6 +434,24 @@ func (c *OrderController) GetOrderStatusList() {
})
}
// @Title 加载物流信息(物料单子加载物流配送流程)
// @Description 加载物流信息(物料单子加载物流配送流程)
// @Param token header string true "认证token"
// @Param data body string true "物流参数"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /LoadingLogisticsStatus [post]
func (c *OrderController) LoadingLogisticsStatus() {
c.callLoadingLogisticsStatus(func(params *tOrderLoadingLogisticsStatusParams) (interface{}, string, error) {
var param = make([]*model.UpdateMaterialLogistic, 0, 0)
if err := json.Unmarshal([]byte(params.Data), &param); err != nil {
return nil, "", err
}
errList := bidding.LoadingLogistics(param)
return errList, "", nil
})
}
// @Title 查询门店营业数据
// @Description 查询门店营业数据
// @Param token header string true "认证token"