Commit Graph

28 Commits

Author SHA1 Message Date
gazebo
075e936dc0 - use actual price when creating waybill. 2018-07-31 09:57:30 +08:00
gazebo
2933392731 - retry logic in swtich2SelfDeliverWithRetry implemented.
- when WaybillStatusCanceled received, will create new waybill when order.WaybillVendorID is unknown.
- don't treat mtps exception msg as failed.
- when waybill delivered msg received, set order delivered anyway.
2018-07-30 21:02:16 +08:00
gazebo
0615758d9a - limit mtps max addfee to 200. 2018-07-30 17:45:38 +08:00
gazebo
58e91a8f5c - avoid duplicaated sku name when creating mtps bill. 2018-07-29 17:08:42 +08:00
gazebo
5f4af9ced0 - fixed some price bug. 2018-07-26 16:49:21 +08:00
gazebo
c0770e9ab5 - big refactor for scheduler. 2018-07-25 20:43:41 +08:00
gazebo
ca9bf8f0a3 没有显示处理model.WaybillStatusCourierArrived事件,导致TIMER没有停掉,又执行了在第3方门店创建运单操作。(改为只要收到了大于NEW的运单事件,都将TIMER停掉,状态需要添加TIMER的,再自行添加)
然后createWaybillOn3rdProviders又没有判断状态,导致又重新创建运单(添加状态判断,另外将所有TIMER事件中的逻辑都添加状态判断,合适后才真正执行)
2018-07-24 15:50:24 +08:00
gazebo
857f2cae45 - jxstorefeature support added. 2018-07-23 18:35:48 +08:00
gazebo
479ce46200 - fixed a bug in defsch.init, replace LoadOrder with GetOrder.
- dynamic table name for legacy order related table.
2018-07-23 17:30:22 +08:00
gazebo
ae214d38b9 - timer task shceuled to order goroutine to avoid concurrent problem. 2018-07-22 23:11:20 +08:00
gazebo
7ae0944fc9 - log msg refactor, add orderID to all logs. 2018-07-22 16:44:44 +08:00
gazebo
77c1dd07b5 - refactor
- load pending orders, fixed bug.
2018-07-22 00:19:38 +08:00
gazebo
486eee8bcd - don't treat no rows as error. 2018-07-19 22:15:13 +08:00
gazebo
fb2cd82e20 - move some funcs from controller to jxutils. 2018-07-19 21:20:18 +08:00
gazebo
680c0a0696 - fixed mtps fee cal bug. 2018-07-19 21:10:26 +08:00
gazebo
61157174e6 - fix mtps delivery fee bug. 2018-07-19 19:12:54 +08:00
gazebo
a56cb64f8e - delivery fee added.
- fixed scheduler bug
2018-07-19 18:05:40 +08:00
gazebo
cc9e1dc5d2 - first version of order schedule. 2018-07-18 22:52:30 +08:00
gazebo
15439779b2 - order.WaybillVendorID default to order vendor. 2018-07-18 09:44:53 +08:00
gazebo
f9096a7b17 - write legacy jxoder almost ok. 2018-07-17 18:01:49 +08:00
gazebo
b75739d6c2 - jxorder, only waybill status related left, other info saved. 2018-07-16 17:14:17 +08:00
gazebo
d3ba00679d - fix bug about elm order callback msg replay. 2018-07-16 11:10:16 +08:00
gazebo
de2545c3e2 - purchase platform, cancel waybill added. 2018-07-15 09:57:29 +08:00
gazebo
805925ff58 - mtps, dada create waybill
- create legacy jxorder(not finished).
2018-07-14 14:35:51 +08:00
gazebo
52248ca427 - empty scheduler added. 2018-07-12 20:57:34 +08:00
gazebo
6386f1b6f5 - big big refactor. 2018-07-12 14:41:40 +08:00
gazebo
c6a3066daf - record order ok. 2018-07-10 19:06:51 +08:00
gazebo
a76213e8f0 - first compilable version of order handler. 2018-07-10 13:37:35 +08:00