feat:完善项目

This commit is contained in:
henry
2021-11-16 11:46:44 +08:00
parent 78128277ff
commit 978918e5aa
14 changed files with 193 additions and 19 deletions

View File

@ -20,6 +20,10 @@ type WorkRepairInfo struct {
BreakdownTitle string `json:"breakdown_title"`
}
type WorkRepairEvaluateInfo struct {
Name string `json:"name"`
}
// Repairs 维修工单信息
func (m *WorkRepair) Repairs(page, pageSize int, count *int64, where ...*model.ModelWhere) ([]*WorkRepairInfo, error) {
db := orm.GetDB().Table(m.TableName()+" r").