|
@@ -124,7 +124,7 @@ func GetContractServiceTemplateSecond() (items []*ContractServiceTemplateItem, e
|
|
items = make([]*ContractServiceTemplateItem, 0)
|
|
items = make([]*ContractServiceTemplateItem, 0)
|
|
err = global.DEFAULT_MYSQL.Table("contract_service_template").
|
|
err = global.DEFAULT_MYSQL.Table("contract_service_template").
|
|
Where("pid = 0 AND is_delete = 0").
|
|
Where("pid = 0 AND is_delete = 0").
|
|
- Order("service_template_id ASC").
|
|
|
|
|
|
+ Order("sort ASC").
|
|
Find(&items).Error
|
|
Find(&items).Error
|
|
return
|
|
return
|
|
}
|
|
}
|