liujiandao
2023-10-24 6aa75c2a266a2522ae713b13dc702b5ad0a08f87
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
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
}
 
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"`
}