瀏覽代碼

Merge branch 'feature/yb11.10_rai_report' into debug

xyxie 4 周之前
父節點
當前提交
ff24935d29
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      models/fms/contract_service_template.go

+ 1 - 1
models/fms/contract_service_template.go

@@ -40,7 +40,7 @@ func (st *ContractServiceTemplate) OrderList(condition string, pars []interface{
 	err = global.DEFAULT_MYSQL.Model(st).
 		Where("is_delete = 0").
 		Where(condition, pars...).
-		Order("sort ASC ").
+		Order("product_id ASC, sort ASC ").
 		Find(&list).Error
 	return
 }