- new field GoodsOrder.Flag

- SetOrderPrintStatus
This commit is contained in:
gazebo
2019-03-06 12:22:41 +08:00
parent 19b49a030c
commit acc3cd5731
7 changed files with 81 additions and 15 deletions

View File

@@ -159,6 +159,7 @@ func (c *CmsController) GetProductInfoByBarCode() {
// @Param storeID query int true "京西门店ID"
// @Param lastOrderTime query string true "最后订单时间"
// @Param lastOrderSeqID query string true "最后订单流水ID"
// @Param waitingSecond query int false "等待时间"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /GetNewOrderMsg [get]
@@ -167,7 +168,7 @@ func (c *CmsController) GetNewOrderMsg() {
timeList, err := jxutils.BatchStr2Time(params.LastOrderTime)
if err == nil {
lastOrderSeqID := utils.Str2Int64WithDefault(params.LastOrderSeqID, 0)
retVal, err = msghub.GetMsg(params.Ctx, params.StoreID, timeList[0], lastOrderSeqID, nil)
retVal, err = msghub.GetMsg(params.Ctx, params.StoreID, timeList[0], lastOrderSeqID, nil, params.WaitingSecond)
}
return retVal, "", err
})