|
|
@@ -3,17 +3,18 @@ package comm_plan |
|
|
|
import "xorm.io/xorm" |
|
|
|
|
|
|
|
var Fn = map[string]func(opt *PlanOpt, totalAmt, integralTotalAmt float64, userList *LvUser, pvd string, sysFee float64, integralSysFee float64, level, levelWeight int, eg *xorm.Engine) error{ |
|
|
|
"lv_all": CalcAll, |
|
|
|
"niubei_commission": NiuBeiCalcAll, |
|
|
|
"niubei_amount": NiuBeiCalcAll, |
|
|
|
"lv_self": CalcSelf, |
|
|
|
"lv_subsidy": CalcAll, |
|
|
|
"lv_price": CalcAll, |
|
|
|
"lv_price_public_platoon": CalcAll, |
|
|
|
"lv_winery": CalcWinery, |
|
|
|
"lv_winery_adv": CalcAdv, |
|
|
|
"lv_price_other": CalcOther, |
|
|
|
"lv_ds_check": CalcDsCheck, |
|
|
|
"lv_all": CalcAll, |
|
|
|
"niubei_commission": NiuBeiCalcAll, |
|
|
|
"niubei_amount": NiuBeiCalcAll, |
|
|
|
"lv_self": CalcSelf, |
|
|
|
"lv_subsidy": CalcAll, |
|
|
|
"lv_price": CalcAll, |
|
|
|
"lv_price_public_platoon": CalcAll, |
|
|
|
"lv_commission_public_platoon": CalcAll, |
|
|
|
"lv_winery": CalcWinery, |
|
|
|
"lv_winery_adv": CalcAdv, |
|
|
|
"lv_price_other": CalcOther, |
|
|
|
"lv_ds_check": CalcDsCheck, |
|
|
|
} |
|
|
|
|
|
|
|
type NiuBeiIntegralReleaseO2oRatio struct { |
|
|
|