修改门店发单运费收取,非京西门店先收取门店,门店不够在收取品牌.京西门店直接收取门店
This commit is contained in:
@@ -207,8 +207,8 @@ func OnWaybillMsg(msg *fnpsapi.OrderStatusNottify) (resp *fnpsapi.CallbackRespon
|
||||
}
|
||||
|
||||
order := &model.Waybill{
|
||||
VendorWaybillID: cc.PartnerOrderCode,
|
||||
VendorWaybillID2: utils.Int64ToStr(cc.OrderId),
|
||||
VendorWaybillID: utils.Int64ToStr(cc.OrderId),
|
||||
VendorWaybillID2: cc.PartnerOrderCode,
|
||||
WaybillVendorID: model.VendorIDFengNiao,
|
||||
CourierName: cc.CarrierDriverName,
|
||||
CourierMobile: cc.CarrierDriverPhone,
|
||||
|
||||
@@ -32,10 +32,10 @@ func InitStoreAcctManager(curStoreManager IStoreAcctManager) {
|
||||
}
|
||||
|
||||
type IStoreAcctManager interface {
|
||||
//增加一条收入流水
|
||||
InsertStoreAcctIncome(ctx *jxcontext.Context, storeID, price, acctType int, vendorOrderID string, expendID int) (err error)
|
||||
//增加一条支出流水
|
||||
InsertStoreAcctExpend(ctx *jxcontext.Context, storeID, price, acctType int, vendorOrderID string, expendID int) (err error)
|
||||
////增加一条收入流水
|
||||
//InsertStoreAcctIncome(ctx *jxcontext.Context, storeID, price, acctType int, vendorOrderID string, expendID int) (err error)
|
||||
////增加一条支出流水
|
||||
//InsertStoreAcctExpend(ctx *jxcontext.Context, storeID, price, acctType int, vendorOrderID string, expendID int) (err error)
|
||||
//更新门店账户
|
||||
UpdateStoreAcctBalance(ctx *jxcontext.Context, storeID, price int, isIncome bool) (err error)
|
||||
InsertStoreAcctExpendAndUpdateStoreAcctBalance(ctx *jxcontext.Context, storeID, price, acctType int, vendorOrderID string, expendID int) (err error)
|
||||
|
||||
Reference in New Issue
Block a user