浏览代码

统一存过函数名

jyq 4 年之前
父节点
当前提交
ebab1e726b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      assembly/base/repository/postgre/class.go

+ 1 - 1
assembly/base/repository/postgre/class.go

@@ -165,7 +165,7 @@ func (PGClass) SchoolTimetablePreview(optUserId int64, objectShopId int64, jsonS
 }
 
 func (PGClass) SchoolTimeTableCopy(optUserId int64, objectShopId int64, jsonStr string, verfStr string) (result string, err error) {
-	err = getClient().Raw("select fn_stt_detail_copy(? ,? ,?, ? )", optUserId, objectShopId, jsonStr, verfStr).
+	err = getClient().Raw("select fn_stt_copy(? ,? ,?, ? )", optUserId, objectShopId, jsonStr, verfStr).
 		Scan(&result).Error
 
 	return