|
@@ -247,6 +247,9 @@ func makeSystemData(engine *xorm.Engine, regionalAgentRegion *model.RegionalAgen |
|
|
if err != nil { |
|
|
if err != nil { |
|
|
return nil, amount, 0, err |
|
|
return nil, amount, 0, err |
|
|
} |
|
|
} |
|
|
|
|
|
if regionalAgentRegionData == nil { |
|
|
|
|
|
return nil, amount, 0, err |
|
|
|
|
|
} |
|
|
var divideAmount float64 = 0 |
|
|
var divideAmount float64 = 0 |
|
|
//查询对应的等级方案 |
|
|
//查询对应的等级方案 |
|
|
scheme, err := db.GetCountByRegionalAgentSchemeInfoByParams(engine, map[string]interface{}{ |
|
|
scheme, err := db.GetCountByRegionalAgentSchemeInfoByParams(engine, map[string]interface{}{ |
|
|