1
This commit is contained in:
@@ -318,6 +318,14 @@ func (p *PurchaseHandler) Map2Order(orderData map[string]interface{}) (order *mo
|
|||||||
v.IsVendorAct = model.YES
|
v.IsVendorAct = model.YES
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if len(orderData["order_tag_list"].([]interface{})) != 0 {
|
||||||
|
tagList := utils.Interface2Int64List(orderData["order_tag_list"].([]interface{}))
|
||||||
|
tagListStr := make([]string, len(tagList), len(tagList))
|
||||||
|
for _, v := range tagList {
|
||||||
|
tagListStr = append(tagListStr, utils.Int64ToStr(v))
|
||||||
|
}
|
||||||
|
order.CouponIDs = strings.Join(tagListStr, ",")
|
||||||
|
}
|
||||||
|
|
||||||
// 包装袋金额
|
// 包装袋金额
|
||||||
store, _ := dao.GetStoreDetailByVendorStoreID(dao.GetDB(), order.VendorStoreID, model.VendorIDMTWM, order.VendorOrgCode)
|
store, _ := dao.GetStoreDetailByVendorStoreID(dao.GetDB(), order.VendorStoreID, model.VendorIDMTWM, order.VendorOrgCode)
|
||||||
|
|||||||
Reference in New Issue
Block a user