...
|
...
|
@@ -102,7 +102,7 @@ type OptionOpportunity struct { |
|
|
CloseChance int `json:"close_chance"`
|
|
|
EditChance int `json:"edit_chance"`
|
|
|
ExportExcel int `json:"export_excel"` //导出数据权限
|
|
|
ChanceStoreChange int `json:"chance_store_chance"` //移到机会池/储备池
|
|
|
ChanceStoreChange int `json:"chance_store_change"` //移到机会池/储备池
|
|
|
}
|
|
|
|
|
|
/*
|
...
|
...
|
@@ -206,6 +206,12 @@ func (p *OptionOpportunity) MergeObject(jsonString string) error { |
|
|
if obj.EditChance > p.EditChance {
|
|
|
p.EditChance = obj.EditChance
|
|
|
}
|
|
|
if obj.ExportExcel > p.ExportExcel {
|
|
|
p.ExportExcel = obj.ExportExcel
|
|
|
}
|
|
|
if obj.ChanceStoreChange > p.ChanceStoreChange {
|
|
|
p.ChanceStoreChange = obj.ChanceStoreChange
|
|
|
}
|
|
|
return nil
|
|
|
}
|
|
|
|
...
|
...
|
|