作者 yangfu

增加 单个部门统计接口

... ... @@ -636,4 +636,5 @@ type ChanceReviseDetailRequest struct {
}
type ChanceReviseDetailResponse struct {
ChanceReviseData ChanceReviseLog `json:"chanceReviseData"`
ChanceId int64 `json:"chanceId"` //机会编号
}
... ...
... ... @@ -111,7 +111,7 @@ type DepartmentStatistics struct {
/*DepartmentStatistic 单部门统计*/
type DepartmentStatisticRequest struct {
DepartmentId int `json:"did"`
DepartmentId int `json:"departmentId"`
}
type DepartmentStatisticResponse struct {
DepartmentStatistic DepartmentStatistics `json:"departmentStatistic"`
... ...
... ... @@ -2267,5 +2267,6 @@ func ChanceReviseDetail(header *protocol.RequestHeader, request *protocol.Chance
}
json.Unmarshal([]byte(detail.Data), &rsp.ChanceReviseData)
rsp.ChanceReviseData.Provider = provider
rsp.ChanceId = detail.ChanceId
return
}
... ...