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