aa
This commit is contained in:
@@ -1146,8 +1146,7 @@ type GetStoreAcctExpendLastCreateWayBillFeeResult struct {
|
||||
MulitIncomePrice int `json:"mulitIncomePrice"`
|
||||
}
|
||||
|
||||
func GetStoreAcctExpendLastCreateWayBillFee(db *DaoDB, vendorOrderID string) (lastFee int, err error) {
|
||||
var expend *GetStoreAcctExpendLastCreateWayBillFeeResult
|
||||
func GetStoreAcctExpendLastCreateWayBillFee(db *DaoDB, vendorOrderID string) (expend *GetStoreAcctExpendLastCreateWayBillFeeResult, lastFee int, err error) {
|
||||
sql := `
|
||||
SELECT a.id, b.id exp_id, c.id inc_id,
|
||||
a.expend_price, b.expend_price mulit_expend_price, c.income_price mulit_income_price
|
||||
@@ -1176,7 +1175,7 @@ func GetStoreAcctExpendLastCreateWayBillFee(db *DaoDB, vendorOrderID string) (la
|
||||
if expend.IncID != 0 {
|
||||
lastFee -= expend.MulitIncomePrice
|
||||
}
|
||||
return lastFee, err
|
||||
return expend, lastFee, err
|
||||
}
|
||||
|
||||
type GetStoreManageStateResult struct {
|
||||
|
||||
Reference in New Issue
Block a user