|
@@ -15,7 +15,9 @@ type DividendsIncentivesRule struct { |
|
@@ -15,7 +15,9 @@ type DividendsIncentivesRule struct { |
|
15
|
// 分红规则激励百分点
|
15
|
// 分红规则激励百分点
|
|
16
|
DividendsIncentivesPercentage float64 `json:"dividendsIncentivesPercentage"`
|
16
|
DividendsIncentivesPercentage float64 `json:"dividendsIncentivesPercentage"`
|
|
17
|
// 分红规则激励阶段,阶段返回时需要转换为中文数字
|
17
|
// 分红规则激励阶段,阶段返回时需要转换为中文数字
|
|
18
|
- DividendsIncentivesStage int64 `json:"dividendsIncentivesStage,string"`
|
18
|
+ DividendsIncentivesStage int64 `json:"dividendsIncentivesStage"`
|
|
|
|
19
|
+ // 分红激励规则阶段中文表示
|
|
|
|
20
|
+ DividendsIncentivesStageCN string `json:"dividendsIncentivesStageCN"`
|
|
19
|
// 分红规则激励阶段结束
|
21
|
// 分红规则激励阶段结束
|
|
20
|
DividendsIncentivesStageEnd time.Time `json:"dividendsIncentivesStageEnd"`
|
22
|
DividendsIncentivesStageEnd time.Time `json:"dividendsIncentivesStageEnd"`
|
|
21
|
// 分红规则激励阶段开始
|
23
|
// 分红规则激励阶段开始
|
|
@@ -73,20 +75,10 @@ func (dividendsIncentivesRule *DividendsIncentivesRule) Update(data map[string]i |
|
@@ -73,20 +75,10 @@ func (dividendsIncentivesRule *DividendsIncentivesRule) Update(data map[string]i |
|
73
|
if dividendsIncentivesStageStart, ok := data["dividendsIncentivesStageStart"]; ok {
|
75
|
if dividendsIncentivesStageStart, ok := data["dividendsIncentivesStageStart"]; ok {
|
|
74
|
dividendsIncentivesRule.DividendsIncentivesStageStart = dividendsIncentivesStageStart.(time.Time)
|
76
|
dividendsIncentivesRule.DividendsIncentivesStageStart = dividendsIncentivesStageStart.(time.Time)
|
|
75
|
}
|
77
|
}
|
|
76
|
- if orgId, ok := data["orgId"]; ok {
|
|
|
|
77
|
- dividendsIncentivesRule.Org.OrgId = orgId.(int64)
|
|
|
|
78
|
- }
|
|
|
|
79
|
- if orgName, ok := data["orgName"]; ok {
|
|
|
|
80
|
- dividendsIncentivesRule.Org.OrgName = orgName.(string)
|
|
|
|
81
|
- }
|
|
|
|
82
|
- if companyId, ok := data["companyId"]; ok {
|
|
|
|
83
|
- dividendsIncentivesRule.Org.Company.CompanyId = companyId.(int64)
|
|
|
|
84
|
- }
|
|
|
|
85
|
- if companyLogo, ok := data["companyLogo"]; ok {
|
|
|
|
86
|
- dividendsIncentivesRule.Org.Company.CompanyLogo = companyLogo.(string)
|
|
|
|
87
|
- }
|
|
|
|
88
|
- if companyName, ok := data["companyName"]; ok {
|
|
|
|
89
|
- dividendsIncentivesRule.Org.Company.CompanyName = companyName.(string)
|
|
|
|
90
|
- }
|
|
|
|
91
|
return nil
|
78
|
return nil
|
|
92
|
}
|
79
|
}
|
|
|
|
80
|
+
|
|
|
|
81
|
+// NumberToCNNumber 数字转中文数字
|
|
|
|
82
|
+func (dividendsIncentivesRule *DividendsIncentivesRule) NumberToCNNumber() (string, error) {
|
|
|
|
83
|
+ return "", nil
|
|
|
|
84
|
+} |