| | |
| | | Solution string `gorm:"column:solution;type:varchar(255);not null;default:'';comment:解决方法" json:"solution"` // 解决方法 |
| | | SolutionRemark string `gorm:"column:solution_remark;type:varchar(255);not null;default:'';comment:内部备注" json:"solutionRemark"` // 内部备注 |
| | | Remark string `gorm:"column:remark;type:varchar(255);not null;default:'';comment:备注" json:"remark"` // 备注 |
| | | CodeStandID string `json:"codeStandID" gorm:"column:code_stand_id;type:varchar(255);comment:编码id"` |
| | | CrmModel |
| | | } |
| | | |
| | |
| | | err := db.Find(&records).Error |
| | | return records, total, err |
| | | } |
| | | |
| | | func (slf *ServiceOrderSearch) UpdateByMap(data map[string]interface{}) error { |
| | | var db = slf.build() |
| | | return db.Updates(data).Error |
| | | } |