自动完成内部自提单

This commit is contained in:
gazebo
2019-12-08 17:49:26 +08:00
parent 6226b19e96
commit 769a66a08a
4 changed files with 80 additions and 1 deletions

View File

@@ -39,3 +39,11 @@ func TestGetStoreOrderSkuList(t *testing.T) {
t.Log(utils.Format4Output(afsSkuList, false))
}
func TestGetPendingFakeOrders(t *testing.T) {
orderList, err := GetPendingFakeOrders(GetDB(), nil, time.Now().Add(-48*time.Hour), time.Now().Add(-30*time.Minute))
if err != nil {
t.Fatal(err)
}
t.Log(len(orderList))
}