aa
This commit is contained in:
@@ -1169,5 +1169,12 @@ func GetStoreAcctExpendLastCreateWayBillFee(db *DaoDB, vendorOrderID string) (la
|
||||
LIMIT 1
|
||||
`
|
||||
err = GetRow(db, &expend, sql, sqlParams)
|
||||
return expend.ExpendPrice, err
|
||||
lastFee = expend.ExpendPrice
|
||||
if expend.ExpID != 0 {
|
||||
lastFee += expend.MulitExpendPrice
|
||||
}
|
||||
if expend.IncID != 0 {
|
||||
lastFee -= expend.MulitIncomePrice
|
||||
}
|
||||
return lastFee, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user