| | |
| | | File string `json:"file" gorm:"column:file;type:varchar(255);comment:合同文件"` |
| | | CreatedAt *CustomTime `json:"created_at" gorm:"column:created_at;type:datetime;comment:创建时间"` |
| | | CodeStandID string `json:"codeStandID" gorm:"column:code_stand_id;type:varchar(255);comment:编码id"` |
| | | SendTime string `json:"sendTime" gorm:"column:send_time;type:varchar(255);comment:发货时间"` |
| | | gormModel |
| | | } |
| | | |
| | |
| | | if key == "member_id" { |
| | | db = db.Where(key+"= ?", v) |
| | | } |
| | | case []int: |
| | | if key == "member_ids" { |
| | | db = db.Where("contract.member_id in ?", v) |
| | | } |
| | | } |
| | | } |
| | | } |