aa
This commit is contained in:
@@ -6,7 +6,20 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
StoreAcctType1 = 1 //主动充值
|
||||
//账户收入类型
|
||||
StoreAcctTypeIncomePay = 10 //主动充值
|
||||
StoreAcctTypeRealFeeIncome = 15 //真实运费 < 临时运费, 临时运费-真实运费的值
|
||||
StoreAcctTypeIncomeCancelTemp = 18 //运单取消,回退的临时运费
|
||||
StoreAcctTypeIncomeCancelReal = 19 //运单取消,回退的真实运费
|
||||
|
||||
//账户支出类型
|
||||
StoreAcctTypeExpendCreateWaybillEx = 20 //手动发单扣除的临时运费
|
||||
StoreAcctTypeExpendCreateWaybillTip = 21 //手动加小费扣除
|
||||
StoreAcctTypeRealFeeExpend = 25 //真实运费 > 临时运费, 真实运费的值 - 临时运费的值
|
||||
)
|
||||
|
||||
const (
|
||||
MinCreateWaybillBalance = 1000 //余额小于这个值直接不能发
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -26,5 +39,5 @@ type IStoreAcctManager interface {
|
||||
UpdateStoreAcctBalance(ctx *jxcontext.Context, storeID, price int, isIncome bool) (err error)
|
||||
InsertStoreAcctExpendAndUpdateStoreAcctBalance(ctx *jxcontext.Context, storeID, price, acctType int, vendorOrderID string) (err error)
|
||||
InsertStoreAcctIncomeAndUpdateStoreAcctBalance(ctx *jxcontext.Context, storeID, price, acctType int, vendorOrderID string) (err error)
|
||||
CheckStoreAcctExpendExist(storeID int, vendorOrderID string) (result bool, err error)
|
||||
CheckStoreAcctExpendExist(vendorOrderID string) (isEqual, isZero bool, err error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user