Browse Source

统一存过函数名

jyq 4 years ago
parent
commit
ebab1e726b
1 changed files with 1 additions and 1 deletions
  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