作者 tangxuhui
1 FROM 192.168.0.243:5000/mmm/allied-creation-gateway:20210809 1 FROM 192.168.0.243:5000/mmm/allied-creation-gateway:20210809
2 -ENV APP_DIR $GOPATH/src/project-20210908 2 +ENV APP_DIR $GOPATH/src/project-20210909
3 RUN mkdir -p $APP_DIR 3 RUN mkdir -p $APP_DIR
4 WORKDIR $APP_DIR/ 4 WORKDIR $APP_DIR/
5 COPY ./pkg pkg 5 COPY ./pkg pkg
@@ -47,7 +47,7 @@ spec: @@ -47,7 +47,7 @@ spec:
47 - cn-hangzhou.i-bp1hyp5oips9cdwxxgxy 47 - cn-hangzhou.i-bp1hyp5oips9cdwxxgxy
48 containers: 48 containers:
49 - name: allied-creation-gateway 49 - name: allied-creation-gateway
50 - image: 192.168.0.243:5000/mmm/allied-creation-gateway:test 50 + image: 192.168.0.243:5000/mmm/allied-creation-gateway:dev
51 imagePullPolicy: Always 51 imagePullPolicy: Always
52 ports: 52 ports:
53 - containerPort: 8082 53 - containerPort: 8082
@@ -66,6 +66,7 @@ func ToCreditAccountItem(param *allied_creation_cooperation.CreditAccount) *Cred @@ -66,6 +66,7 @@ func ToCreditAccountItem(param *allied_creation_cooperation.CreditAccount) *Cred
66 AccountDetail: param.AccountDetail, 66 AccountDetail: param.AccountDetail,
67 Remarks: param.Remarks, 67 Remarks: param.Remarks,
68 } 68 }
  69 + data.Participator.UserName = param.Participator.UserInfo.UsersName
69 data.Participator.UserInfo.UserName = param.Participator.UserInfo.UsersName 70 data.Participator.UserInfo.UserName = param.Participator.UserInfo.UsersName
70 data.Participator.UserInfo.UserPhone = param.Participator.UserInfo.Phone 71 data.Participator.UserInfo.UserPhone = param.Participator.UserInfo.Phone
71 data.Participator.UserType = param.Participator.UserType 72 data.Participator.UserType = param.Participator.UserType
@@ -177,7 +177,7 @@ func (srv CompanyCreditAccountService) PaymentHistoryStatistics(cmd *command.Cre @@ -177,7 +177,7 @@ func (srv CompanyCreditAccountService) PaymentHistoryStatistics(cmd *command.Cre
177 cmd.Operator) 177 cmd.Operator)
178 178
179 var response = struct { 179 var response = struct {
180 - rankItems interface{} `json:"rankItems"` 180 + RankItems interface{} `json:"rankItems"`
181 TotalPaymentAmount interface{} `json:"totalPaymentAmount"` 181 TotalPaymentAmount interface{} `json:"totalPaymentAmount"`
182 }{} 182 }{}
183 cooperationContractNumbers, err := gateway.RelevantCooperationContractNumbers(allied_creation_cooperation.RelevantCooperationContractNumbers, map[string]interface{}{ 183 cooperationContractNumbers, err := gateway.RelevantCooperationContractNumbers(allied_creation_cooperation.RelevantCooperationContractNumbers, map[string]interface{}{
@@ -215,7 +215,7 @@ func (srv CompanyCreditAccountService) PaymentHistoryStatistics(cmd *command.Cre @@ -215,7 +215,7 @@ func (srv CompanyCreditAccountService) PaymentHistoryStatistics(cmd *command.Cre
215 if err != nil { 215 if err != nil {
216 return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error()) 216 return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error())
217 } 217 }
218 - response.rankItems = cooperationUsersStatistics 218 + response.RankItems = cooperationUsersStatistics
219 response.TotalPaymentAmount = creditAccountStatistics.Paid 219 response.TotalPaymentAmount = creditAccountStatistics.Paid
220 220
221 return response, nil 221 return response, nil