liujiandao
2023-10-11 34ef7217a034599217a7fdd1e28e1ae6910e1b4b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package request
 
import "aps_crm/proto/code"
 
type AddContract struct {
    Contract
}
 
type Contract struct {
    ClientId    int               `json:"client_id"`
    MemberId    int               `json:"member_id"`
    Number      string            `json:"number"`
    QuotationId int               `json:"quotation_id"`
    StatusId    int               `json:"status_id"`
    File        string            `json:"file"`
    CodeStandID string            `json:"codeStandID"` //编码id
    CodeRule    code.CodeStandard `json:"codeRule"`
}
 
type UpdateContract struct {
    Id int `json:"id"`
    Contract
}
 
type GetContractList struct {
    PageInfo
    SearchMap map[string]interface{} `json:"search_map"` // 搜索条件: map[string]interface{} {"member_name": "销售负责人", "number": "合同编号", "created_at": "创建时间"}
}
 
type DeleteContract struct {
    Ids []int `json:"ids"`
}