正在显示
2 个修改的文件
包含
8 行增加
和
2 行删除
| @@ -102,7 +102,7 @@ type OptionOpportunity struct { | @@ -102,7 +102,7 @@ type OptionOpportunity struct { | ||
| 102 | CloseChance int `json:"close_chance"` | 102 | CloseChance int `json:"close_chance"` |
| 103 | EditChance int `json:"edit_chance"` | 103 | EditChance int `json:"edit_chance"` |
| 104 | ExportExcel int `json:"export_excel"` //导出数据权限 | 104 | ExportExcel int `json:"export_excel"` //导出数据权限 |
| 105 | - ChanceStoreChange int `json:"chance_store_chance"` //移到机会池/储备池 | 105 | + ChanceStoreChange int `json:"chance_store_change"` //移到机会池/储备池 |
| 106 | } | 106 | } |
| 107 | 107 | ||
| 108 | /* | 108 | /* |
| @@ -206,6 +206,12 @@ func (p *OptionOpportunity) MergeObject(jsonString string) error { | @@ -206,6 +206,12 @@ func (p *OptionOpportunity) MergeObject(jsonString string) error { | ||
| 206 | if obj.EditChance > p.EditChance { | 206 | if obj.EditChance > p.EditChance { |
| 207 | p.EditChance = obj.EditChance | 207 | p.EditChance = obj.EditChance |
| 208 | } | 208 | } |
| 209 | + if obj.ExportExcel > p.ExportExcel { | ||
| 210 | + p.ExportExcel = obj.ExportExcel | ||
| 211 | + } | ||
| 212 | + if obj.ChanceStoreChange > p.ChanceStoreChange { | ||
| 213 | + p.ChanceStoreChange = obj.ChanceStoreChange | ||
| 214 | + } | ||
| 209 | return nil | 215 | return nil |
| 210 | } | 216 | } |
| 211 | 217 |
-
请 注册 或 登录 后发表评论