|
@@ -90,7 +90,7 @@ func GetContractServiceTemplateMapByProductId(productId int) (items []*ContractS
|
|
|
items = make([]*ContractServiceTemplateItem, 0)
|
|
|
err = global.DEFAULT_MYSQL.Table("contract_service_template").
|
|
|
Where("product_id = ? AND pid = 0 AND is_delete = 0", productId).
|
|
|
- Order("service_template_id ASC").
|
|
|
+ Order("sort ASC").
|
|
|
Find(&items).Error
|
|
|
return
|
|
|
}
|