作者 tangxuhui

数据结构调整

... ... @@ -21,10 +21,10 @@ func (cooperationApplicationService *CooperationApplicationService) AuditCoopera
auditCooperationApplicationCommand.Operator)
_, err := creationCooperationGateway.CooperationApplicationsBatchApproval(allied_creation_cooperation.ReqCooperationApplicationBatchApproval{
CooperationApplicationIds: auditCooperationApplicationCommand.CooperationApplicationId,
CooperationApplicationDescription: auditCooperationApplicationCommand.CooperationApplicationVerifyDescription,
Action: auditCooperationApplicationCommand.CooperationApplicationStatus,
Code: "BatchApproval",
CooperationApplicationIds: auditCooperationApplicationCommand.CooperationApplicationId,
CooperationApplicationVerifyDescription: auditCooperationApplicationCommand.CooperationApplicationVerifyDescription,
Action: auditCooperationApplicationCommand.CooperationApplicationStatus,
Code: "BatchApproval",
})
if err != nil {
return nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error())
... ...
... ... @@ -19,9 +19,8 @@ type UpdateDividendsReturnedOrderCommand struct {
OrderGoodPrice float64 `json:"orderGoodPrice"` //订单产品单价
OrderGoodQuantity int `json:"orderGoodQuantity"` //订单产品数量
} `json:"orderGoods"` //货品
DividendsReturnedDate int64 `json:"dividendsReturnedDate"` //退货日期
OrderTime int64 `json:"orderTime"` //订单日期
Remarks string `json:"remarks"` //
RegionName string `json:"regionName"`
DividendsReturnedDate int64 `json:"dividendsReturnedDate"` //退货日期
OrderTime int64 `json:"orderTime"` //订单日期
Remarks string `json:"remarks"` //
RegionName string `json:"regionName"`
}
... ...
... ... @@ -83,10 +83,10 @@ type (
//共创申请批量审核
type (
ReqCooperationApplicationBatchApproval struct {
CooperationApplicationIds []string `json:"cooperationApplicationIds"`
CooperationApplicationDescription string `json:"cooperationApplicationDescription"` //描述
Action int `json:"action"` //审核动作,1同意,2拒绝
Code string `json:"code" ` //cname:"菜单编码"
CooperationApplicationIds []string `json:"cooperationApplicationIds"`
CooperationApplicationVerifyDescription string `json:"cooperationApplicationVerifyDescription"` //描述
Action int `json:"action"` //审核动作,1同意,2拒绝
Code string `json:"code" ` //cname:"菜单编码"
}
DataCooperationApplicationBatchApproval struct {
... ...