zhangqian
2024-01-08 f1842bf9b5bb69b5078a215c02cb16b7e33f893a
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
 
type AddContract struct {
    Contract
}
 
type Contract struct {
    ContractName string `json:"contractName"` //合同名称
    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
    SendTime     string `json:"sendTime"`    //发货时间
}
 
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": "创建时间"}
    Keyword   string                 `json:"keyword"`
}
 
type DeleteContract struct {
    Ids []int `json:"ids"`
}