liujiandao
2023-11-18 115bd9b51f5d8eade4658f844de37516486c60e7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package request
 
type AddCollectionProjection struct {
    CollectionProjection
    SaleChanceId int `json:"sale_chance_id"` // 销售机会id
}
 
type CollectionProjection struct {
    EstimatedCollectionAmount float64 `json:"estimated_collection_amount"` // 预计收款金额
    EstimatedCollectionTime   string  `json:"estimated_collection_time"`   // 预计收款时间
}
 
type UpdateCollectionProjection struct {
    Id int `json:"id"`
    CollectionProjection
}
 
type GetCollectionProjectionList struct {
    PageInfo
    SearchMap map[string]interface{} // 搜索条件: map[string]interface{}{"name": "xxx"}; {"sale_chance_id": 销售机会id}
}