|
@@ -103,7 +103,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateUpdate(param Re |
|
@@ -103,7 +103,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateUpdate(param Re |
103
|
}
|
103
|
}
|
104
|
|
104
|
|
105
|
// Dividends-estimatesSearch-dividends-incentives 查询业绩分红
|
105
|
// Dividends-estimatesSearch-dividends-incentives 查询业绩分红
|
106
|
-func (gateway HttplibAlliedCreationCooperation) DividendsEstimateSearchDividends(param ReqDividendsEstimateSearchDividend) (*DataDividendsEstimateSearchDividend,error) {
|
106
|
+func (gateway HttplibAlliedCreationCooperation) DividendsEstimateSearchDividends(param ReqDividendsEstimateSearchDividend) (*DataDividendsEstimateSearchDividend, error) {
|
107
|
url := gateway.baseUrL + "/dividends-estimates/search-dividends-incentives"
|
107
|
url := gateway.baseUrL + "/dividends-estimates/search-dividends-incentives"
|
108
|
method := "POST"
|
108
|
method := "POST"
|
109
|
req := gateway.CreateRequest(url, method)
|
109
|
req := gateway.CreateRequest(url, method)
|
|
@@ -134,7 +134,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateSearchDividends |
|
@@ -134,7 +134,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateSearchDividends |
134
|
}
|
134
|
}
|
135
|
|
135
|
|
136
|
// DividendsEstimatesSearch查询分红预算单
|
136
|
// DividendsEstimatesSearch查询分红预算单
|
137
|
-func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesSearch(param ReqDividendsEstimatesSearch) (*DataDividendsEstimatesSearch, error) {
|
137
|
+func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesSearch(param ReqDividendsEstimateSearch) (*DataDividendsEstimateSearch, error) {
|
138
|
url := gateway.baseUrL + "/dividends-estimates/search"
|
138
|
url := gateway.baseUrL + "/dividends-estimates/search"
|
139
|
method := "POST"
|
139
|
method := "POST"
|
140
|
req := gateway.CreateRequest(url, method)
|
140
|
req := gateway.CreateRequest(url, method)
|
|
@@ -159,7 +159,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesSearch(param R |
|
@@ -159,7 +159,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesSearch(param R |
159
|
if err != nil {
|
159
|
if err != nil {
|
160
|
return nil, fmt.Errorf("解析查询分红预算单:%w", err)
|
160
|
return nil, fmt.Errorf("解析查询分红预算单:%w", err)
|
161
|
}
|
161
|
}
|
162
|
- var data DataDividendsEstimatesSearch
|
162
|
+ var data DataDividendsEstimateSearch
|
163
|
err = gateway.GetResponseData(result, &data)
|
163
|
err = gateway.GetResponseData(result, &data)
|
164
|
return &data, err
|
164
|
return &data, err
|
165
|
}
|
165
|
}
|
|
@@ -196,8 +196,8 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesSearchMoney(pa |
|
@@ -196,8 +196,8 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesSearchMoney(pa |
196
|
}
|
196
|
}
|
197
|
|
197
|
|
198
|
// Dividends-estimates[dividendsEstimateId}Cancel 取消分红预算
|
198
|
// Dividends-estimates[dividendsEstimateId}Cancel 取消分红预算
|
199
|
-func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesCancel(param ReqDividendsEstimateCancel) (*DataDividendsEstimatesCancel, error) {
|
|
|
200
|
- url := gateway.baseUrL + "/dividends-estimates/"+strconv.ItoA(param.DividendsEstimateId)+"/cancel"
|
199
|
+func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesCancel(param ReqDividendsEstimateCancel) (*DataDividendsEstimateCancel, error) {
|
|
|
200
|
+ url := gateway.baseUrL + "/dividends-estimates/" + strconv.Itoa(param.DividendsEstimateId) + "/cancel"
|
201
|
method := "POST"
|
201
|
method := "POST"
|
202
|
req := gateway.CreateRequest(url, method)
|
202
|
req := gateway.CreateRequest(url, method)
|
203
|
log.Logger.Debug("向基础模块请求数据:取消分红预算。", map[string]interface{}{
|
203
|
log.Logger.Debug("向基础模块请求数据:取消分红预算。", map[string]interface{}{
|
|
@@ -221,13 +221,13 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesCancel(param R |
|
@@ -221,13 +221,13 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesCancel(param R |
221
|
if err != nil {
|
221
|
if err != nil {
|
222
|
return nil, fmt.Errorf("解析取消分红预算:%w", err)
|
222
|
return nil, fmt.Errorf("解析取消分红预算:%w", err)
|
223
|
}
|
223
|
}
|
224
|
- var data DataDividendsEstimatesCancel
|
224
|
+ var data DataDividendsEstimateCancel
|
225
|
err = gateway.GetResponseData(result, &data)
|
225
|
err = gateway.GetResponseData(result, &data)
|
226
|
return &data, err
|
226
|
return &data, err
|
227
|
}
|
227
|
}
|
228
|
|
228
|
|
229
|
-// Dividends-estimatesEstimate-money-incentives 确定预算金额激励分红
|
|
|
230
|
-func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesEstimateMoneys(param ReqDividendsEestimatesEstimateMoney) (*DataDividendsEstimatesEstimateMoney, error) {
|
229
|
+// DividendsEstimatesEstimateMoneys 确定预算金额激励分红
|
|
|
230
|
+func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesEstimateMoneys(param ReqDividendsEstimateMoneyIncentives) (*DataDividendsEstimateMoneyIncentives, error) {
|
231
|
url := gateway.baseUrL + "/dividends-estimates/estimate-money-incentives"
|
231
|
url := gateway.baseUrL + "/dividends-estimates/estimate-money-incentives"
|
232
|
method := "POST"
|
232
|
method := "POST"
|
233
|
req := gateway.CreateRequest(url, method)
|
233
|
req := gateway.CreateRequest(url, method)
|
|
@@ -252,15 +252,15 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesEstimateMoneys |
|
@@ -252,15 +252,15 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesEstimateMoneys |
252
|
if err != nil {
|
252
|
if err != nil {
|
253
|
return nil, fmt.Errorf("解析确定预算金额激励分红:%w", err)
|
253
|
return nil, fmt.Errorf("解析确定预算金额激励分红:%w", err)
|
254
|
}
|
254
|
}
|
255
|
- var data DataDividendsEstimatesEstimateMoney
|
255
|
+ var data DataDividendsEstimateMoneyIncentives
|
256
|
err = gateway.GetResponseData(result, &data)
|
256
|
err = gateway.GetResponseData(result, &data)
|
257
|
return &data, err
|
257
|
return &data, err
|
258
|
}
|
258
|
}
|
259
|
|
259
|
|
260
|
-// Dividends-estimates[dividendsEstimateId} 移除分红预算
|
260
|
+// DividendAestimatesdivDidendsEstimat 移除分红预算
|
261
|
func (gateway HttplibAlliedCreationCooperation) DividendAestimatesdivDidendsEstimat(param ReqDividendsEstimateRemove) (
|
261
|
func (gateway HttplibAlliedCreationCooperation) DividendAestimatesdivDidendsEstimat(param ReqDividendsEstimateRemove) (
|
262
|
*DataDividendsEstimateRemove, error) {
|
262
|
*DataDividendsEstimateRemove, error) {
|
263
|
- url := gateway.baseUrL + "/dividends-estimates/"+strconv.Itoa(param.DividendsEstimateId)
|
263
|
+ url := gateway.baseUrL + "/dividends-estimates/" + strconv.Itoa(param.DividendsEstimateId)
|
264
|
method := "DELETE"
|
264
|
method := "DELETE"
|
265
|
req := gateway.CreateRequest(url, method)
|
265
|
req := gateway.CreateRequest(url, method)
|
266
|
log.Logger.Debug("向基础模块请求数据:移除分红预算。", map[string]interface{}{
|
266
|
log.Logger.Debug("向基础模块请求数据:移除分红预算。", map[string]interface{}{
|
|
@@ -289,8 +289,8 @@ func (gateway HttplibAlliedCreationCooperation) DividendAestimatesdivDidendsEsti |
|
@@ -289,8 +289,8 @@ func (gateway HttplibAlliedCreationCooperation) DividendAestimatesdivDidendsEsti |
289
|
return &data, err
|
289
|
return &data, err
|
290
|
}
|
290
|
}
|
291
|
|
291
|
|
292
|
-// Dividends-estimatesList-dividends-incentives 返回业绩激励分红详情
|
|
|
293
|
-func (gateway HttplibAlliedCreationCooperation) Dividends-estimatesList-dividends-incentives(param ReqDividends-estimatesList-dividends-incentives) (*DataDividends-estimatesList-dividends-incentives, error) {
|
292
|
+// DividendsEstimateListDividend 返回业绩激励分红详情
|
|
|
293
|
+func (gateway HttplibAlliedCreationCooperation) DividendsEstimateListDividend(param ReqDividendsEstimateListDividend) (*DataDividendsEstimateListDividend, error) {
|
294
|
url := gateway.baseUrL + "/dividends-estimates/list-dividends-incentives"
|
294
|
url := gateway.baseUrL + "/dividends-estimates/list-dividends-incentives"
|
295
|
method := "GET"
|
295
|
method := "GET"
|
296
|
req := gateway.CreateRequest(url, method)
|
296
|
req := gateway.CreateRequest(url, method)
|
|
@@ -315,13 +315,13 @@ func (gateway HttplibAlliedCreationCooperation) Dividends-estimatesList-dividend |
|
@@ -315,13 +315,13 @@ func (gateway HttplibAlliedCreationCooperation) Dividends-estimatesList-dividend |
315
|
if err != nil {
|
315
|
if err != nil {
|
316
|
return nil, fmt.Errorf("解析返回业绩激励分红详情:%w", err)
|
316
|
return nil, fmt.Errorf("解析返回业绩激励分红详情:%w", err)
|
317
|
}
|
317
|
}
|
318
|
- var data DataDividends-estimatesList-dividends-incentives
|
318
|
+ var data DataDividendsEstimateListDividend
|
319
|
err = gateway.GetResponseData(result, &data)
|
319
|
err = gateway.GetResponseData(result, &data)
|
320
|
return &data, err
|
320
|
return &data, err
|
321
|
}
|
321
|
}
|
322
|
|
322
|
|
323
|
-// Dividends-estimates 返回分红预算列表
|
|
|
324
|
-func (gateway HttplibAlliedCreationCooperation) Dividends-estimates(param ReqDividends-estimates) (*DataDividends-estimates, error) {
|
323
|
+// DividendsEstimateList 返回分红预算列表
|
|
|
324
|
+func (gateway HttplibAlliedCreationCooperation) DividendsEstimateList(param ReqDividendsEstimateList) (*DataDividendsEstimateList, error) {
|
325
|
url := gateway.baseUrL + "/dividends-estimates"
|
325
|
url := gateway.baseUrL + "/dividends-estimates"
|
326
|
method := "GET"
|
326
|
method := "GET"
|
327
|
req := gateway.CreateRequest(url, method)
|
327
|
req := gateway.CreateRequest(url, method)
|
|
@@ -346,14 +346,14 @@ func (gateway HttplibAlliedCreationCooperation) Dividends-estimates(param ReqDiv |
|
@@ -346,14 +346,14 @@ func (gateway HttplibAlliedCreationCooperation) Dividends-estimates(param ReqDiv |
346
|
if err != nil {
|
346
|
if err != nil {
|
347
|
return nil, fmt.Errorf("解析返回分红预算列表:%w", err)
|
347
|
return nil, fmt.Errorf("解析返回分红预算列表:%w", err)
|
348
|
}
|
348
|
}
|
349
|
- var data DataDividends-estimates
|
349
|
+ var data DataDividendsEstimateList
|
350
|
err = gateway.GetResponseData(result, &data)
|
350
|
err = gateway.GetResponseData(result, &data)
|
351
|
return &data, err
|
351
|
return &data, err
|
352
|
}
|
352
|
}
|
353
|
|
353
|
|
354
|
-// Dividends-estimates[dividendsEstimateId} 返回分红预算详情
|
|
|
355
|
-func (gateway HttplibAlliedCreationCooperation) Dividends-estimates[dividendsEstimateId}(param ReqDividends-estimates[dividendsEstimateId}) (*DataDividends-estimates[dividendsEstimateId}, error) {
|
|
|
356
|
- url := gateway.baseUrL + "/dividends-estimates/{dividendsEstimateId}"
|
354
|
+//DividendsEstimateGet 返回分红预算详情
|
|
|
355
|
+func (gateway HttplibAlliedCreationCooperation) DividendsEstimateGet(param ReqDividendsEstimateGet) (*DataDividendsEstimateGet, error) {
|
|
|
356
|
+ url := gateway.baseUrL + "/dividends-estimates/" + strconv.Itoa(param.DividendsEstimateId)
|
357
|
method := "GET"
|
357
|
method := "GET"
|
358
|
req := gateway.CreateRequest(url, method)
|
358
|
req := gateway.CreateRequest(url, method)
|
359
|
log.Logger.Debug("向基础模块请求数据:返回分红预算详情。", map[string]interface{}{
|
359
|
log.Logger.Debug("向基础模块请求数据:返回分红预算详情。", map[string]interface{}{
|
|
@@ -377,13 +377,13 @@ func (gateway HttplibAlliedCreationCooperation) Dividends-estimates[dividendsEst |
|
@@ -377,13 +377,13 @@ func (gateway HttplibAlliedCreationCooperation) Dividends-estimates[dividendsEst |
377
|
if err != nil {
|
377
|
if err != nil {
|
378
|
return nil, fmt.Errorf("解析返回分红预算详情:%w", err)
|
378
|
return nil, fmt.Errorf("解析返回分红预算详情:%w", err)
|
379
|
}
|
379
|
}
|
380
|
- var data DataDividends-estimates[dividendsEstimateId}
|
380
|
+ var data DataDividendsEstimateGet
|
381
|
err = gateway.GetResponseData(result, &data)
|
381
|
err = gateway.GetResponseData(result, &data)
|
382
|
return &data, err
|
382
|
return &data, err
|
383
|
}
|
383
|
}
|
384
|
|
384
|
|
385
|
-// Dividends-estimatesList-money-incentives 返回金额激励分红列表
|
|
|
386
|
-func (gateway HttplibAlliedCreationCooperation) Dividends-estimatesList-money-incentives(param ReqDividends-estimatesList-money-incentives) (*DataDividends-estimatesList-money-incentives, error) {
|
385
|
+// DividendsEstimatesListMoney 返回金额激励分红列表
|
|
|
386
|
+func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesListMoney(param ReqDividendsEstimatesListMoney) (*DataDividendsEstimatesListMoney, error) {
|
387
|
url := gateway.baseUrL + "/dividends-estimates/list-money-incentives"
|
387
|
url := gateway.baseUrL + "/dividends-estimates/list-money-incentives"
|
388
|
method := "GET"
|
388
|
method := "GET"
|
389
|
req := gateway.CreateRequest(url, method)
|
389
|
req := gateway.CreateRequest(url, method)
|
|
@@ -408,8 +408,7 @@ func (gateway HttplibAlliedCreationCooperation) Dividends-estimatesList-money-in |
|
@@ -408,8 +408,7 @@ func (gateway HttplibAlliedCreationCooperation) Dividends-estimatesList-money-in |
408
|
if err != nil {
|
408
|
if err != nil {
|
409
|
return nil, fmt.Errorf("解析返回金额激励分红列表:%w", err)
|
409
|
return nil, fmt.Errorf("解析返回金额激励分红列表:%w", err)
|
410
|
}
|
410
|
}
|
411
|
- var data DataDividends-estimatesList-money-incentives
|
411
|
+ var data DataDividendsEstimatesListMoney
|
412
|
err = gateway.GetResponseData(result, &data)
|
412
|
err = gateway.GetResponseData(result, &data)
|
413
|
return &data, err
|
413
|
return &data, err
|
414
|
} |
414
|
} |
415
|
- |
|
|