正在显示
1 个修改的文件
包含
57 行增加
和
2 行删除
| 1 | package allied_creation_cooperation | 1 | package allied_creation_cooperation |
| 2 | 2 | ||
| 3 | +import "time" | ||
| 4 | + | ||
| 3 | //确定预算分红激励 | 5 | //确定预算分红激励 |
| 4 | type ( | 6 | type ( |
| 5 | ReqDividendsEstimateIncentive struct { | 7 | ReqDividendsEstimateIncentive struct { |
| @@ -35,13 +37,41 @@ type ( | @@ -35,13 +37,41 @@ type ( | ||
| 35 | //查询分红预算单 | 37 | //查询分红预算单 |
| 36 | type ( | 38 | type ( |
| 37 | ReqDividendsEstimateSearch struct { | 39 | ReqDividendsEstimateSearch struct { |
| 38 | - DividendsType int `json:"dividendsType"` | ||
| 39 | - DividendsEstimateOrderNumber string `json:"dividendsEstimateOrderNumber"` | ||
| 40 | PageNumber int `json:"pageNumber"` | 40 | PageNumber int `json:"pageNumber"` |
| 41 | PageSize int `json:"pageSize"` | 41 | PageSize int `json:"pageSize"` |
| 42 | } | 42 | } |
| 43 | 43 | ||
| 44 | DataDividendsEstimateSearch struct { | 44 | DataDividendsEstimateSearch struct { |
| 45 | + Grid struct { | ||
| 46 | + Total int | ||
| 47 | + List []struct { | ||
| 48 | + DividendsEstimateId int64 `json:"dividendsEstimateId,string"` // 承接人分红预算记录ID | ||
| 49 | + DividendsAccountStatus int32 `json:"dividendsAccountStatus"` // 分红结算状态 | ||
| 50 | + DividendsAmount float64 `json:"dividendsAmount"` // 分红金额 | ||
| 51 | + DividendsEstimateOrderNumber string `json:"dividendsEstimateOrderNumber"` // 承接人分红预算单号 | ||
| 52 | + DividendsEstimateTime time.Time `json:"dividendsEstimateTime"` // 分红预算时间 | ||
| 53 | + DividendsParticipateType int32 `json:"dividendsParticipateType"` // 参与分红类型,1承接人,2推荐人,3关联业务员 | ||
| 54 | + DividendsType int32 `json:"dividendsType"` // 分红类型,1订单分红,2退货冲销,3金额激励 | ||
| 55 | + OrderOrReturnedOrderNum string `json:"orderOrReturnedOrderNum"` // 分红订单号或退货单号 | ||
| 56 | + CooperationProjectNumber string `json:"cooperationProjectNumber"` // 共创项目编号, | ||
| 57 | + DividendsUser struct { | ||
| 58 | + UserId int64 `json:"userId,string"` // 用户ID, | ||
| 59 | + UserBaseId int64 `json:"userBaseId,string"` // 用户基本id | ||
| 60 | + UserType int32 `json:"userType"` // 用户类型 | ||
| 61 | + } `json:"dividendsUser"` // 分红用户 | ||
| 62 | + Org struct { | ||
| 63 | + OrgId int64 `json:"orgId,string"` // 组织机构ID | ||
| 64 | + OrgName string `json:"orgName"` // 组织名称 | ||
| 65 | + } `json:"org"` // 数据所属组织机构 | ||
| 66 | + Company struct { | ||
| 67 | + CompanyId int64 `json:"companyId,string"` // 公司ID, | ||
| 68 | + CompanyLogo string `json:"companyLogo"` // 公司logo | ||
| 69 | + CompanyName string `json:"companyName"` // 公司名称 | ||
| 70 | + } `json:"company"` // 公司 | ||
| 71 | + CreatedAt time.Time `json:"createdAt"` // 创建时间 | ||
| 72 | + UpdatedAt time.Time `json:"updatedAt"` // 更新时间 | ||
| 73 | + } | ||
| 74 | + } | ||
| 45 | } | 75 | } |
| 46 | ) | 76 | ) |
| 47 | 77 | ||
| @@ -108,6 +138,31 @@ type ( | @@ -108,6 +138,31 @@ type ( | ||
| 108 | } | 138 | } |
| 109 | 139 | ||
| 110 | DataDividendsEstimateGet struct { | 140 | DataDividendsEstimateGet struct { |
| 141 | + DividendsEstimateId int64 `json:"dividendsEstimateId,string"` // 承接人分红预算记录ID | ||
| 142 | + DividendsAccountStatus int32 `json:"dividendsAccountStatus"` // 分红结算状态 | ||
| 143 | + DividendsAmount float64 `json:"dividendsAmount"` // 分红金额 | ||
| 144 | + DividendsEstimateOrderNumber string `json:"dividendsEstimateOrderNumber"` // 承接人分红预算单号 | ||
| 145 | + DividendsEstimateTime time.Time `json:"dividendsEstimateTime"` // 分红预算时间 | ||
| 146 | + DividendsParticipateType int32 `json:"dividendsParticipateType"` // 参与分红类型,1承接人,2推荐人,3关联业务员 | ||
| 147 | + DividendsType int32 `json:"dividendsType"` // 分红类型,1订单分红,2退货冲销,3金额激励 | ||
| 148 | + OrderOrReturnedOrderNum string `json:"orderOrReturnedOrderNum"` // 分红订单号或退货单号 | ||
| 149 | + CooperationProjectNumber string `json:"cooperationProjectNumber"` // 共创项目编号, | ||
| 150 | + DividendsUser struct { | ||
| 151 | + UserId int64 `json:"userId,string"` // 用户ID, | ||
| 152 | + UserBaseId int64 `json:"userBaseId,string"` // 用户基本id | ||
| 153 | + UserType int32 `json:"userType"` // 用户类型 | ||
| 154 | + } `json:"dividendsUser"` // 分红用户 | ||
| 155 | + Org struct { | ||
| 156 | + OrgId int64 `json:"orgId,string"` // 组织机构ID | ||
| 157 | + OrgName string `json:"orgName"` // 组织名称 | ||
| 158 | + } `json:"org"` // 数据所属组织机构 | ||
| 159 | + Company struct { | ||
| 160 | + CompanyId int64 `json:"companyId,string"` // 公司ID, | ||
| 161 | + CompanyLogo string `json:"companyLogo"` // 公司logo | ||
| 162 | + CompanyName string `json:"companyName"` // 公司名称 | ||
| 163 | + } `json:"company"` // 公司 | ||
| 164 | + CreatedAt time.Time `json:"createdAt"` // 创建时间 | ||
| 165 | + UpdatedAt time.Time `json:"updatedAt"` // 更新时间 | ||
| 111 | } | 166 | } |
| 112 | ) | 167 | ) |
| 113 | 168 |
-
请 注册 或 登录 后发表评论