1
This commit is contained in:
@@ -1344,6 +1344,7 @@ func (c *OrderManager) AmendMissingOrders(ctx *jxcontext.Context, vendorIDs []in
|
||||
VendorOrgCode string
|
||||
VendorStoreID string
|
||||
}
|
||||
globals.SugarLogger.Debugf("dateVendorList============== :%s", utils.Format4Output(dateVendorList, false))
|
||||
if len(dateVendorList) > 0 {
|
||||
var missingOrderList []*tOrderVendorPair
|
||||
var updateOrderStatusList []*model.GoodsOrder
|
||||
|
||||
@@ -104,7 +104,6 @@ func (c *DeliveryHandler) onWaybillMsg(msg *mtpsapi.CallbackOrderMsg) (retVal *m
|
||||
}
|
||||
}
|
||||
|
||||
globals.SugarLogger.Debugf("===========msg := %s", utils.Format4Output(msg, false))
|
||||
store, _ := dao.GetStoreDetail(dao.GetDB(), goodsOrder.JxStoreID, goodsOrder.VendorID, goodsOrder.VendorOrgCode)
|
||||
switch msg.Status {
|
||||
case mtpsapi.OrderStatusWaitingForSchedule:
|
||||
|
||||
@@ -661,6 +661,7 @@ func (c *PurchaseHandler) ListOrders(ctx *jxcontext.Context, vendorOrgCode strin
|
||||
} else {
|
||||
tmpOrderIDs, err = getAPI(vendorOrgCode, 0, vendorStoreID).GetOrderIdByDaySeq(vendorStoreID, queryDate, seqStart, seqEnd)
|
||||
}
|
||||
globals.SugarLogger.Debugf("============tmpOrderIDs := %s", utils.Format4Output(tmpOrderIDs, false))
|
||||
if len(tmpOrderIDs) > 0 {
|
||||
for _, v := range tmpOrderIDs {
|
||||
orderIDs = append(orderIDs, utils.Int64ToStr(v))
|
||||
|
||||
Reference in New Issue
Block a user