- mtps, dada create waybill
- create legacy jxorder(not finished).
This commit is contained in:
@@ -20,7 +20,7 @@ func (w *WaybillController) onWaybillNew(bill *model.Waybill) (err error) {
|
||||
db := orm.NewOrm()
|
||||
isDuplicated, err := addOrderOrWaybillStatus(w.waybill2Status(bill), db)
|
||||
if !isDuplicated {
|
||||
bill.WaybillFinishedAt = DefaultTimeValue
|
||||
bill.WaybillFinishedAt = utils.DefaultTimeValue
|
||||
bill.ID = 0
|
||||
created, _, err2 := db.ReadOrCreate(bill, "VendorWaybillID", "WaybillVendorID")
|
||||
if err = err2; err == nil {
|
||||
|
||||
Reference in New Issue
Block a user