浏览代码

fix:gorm调整

Roc 22 小时之前
父节点
当前提交
feb1b4d2a7
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      utils/common.go

+ 1 - 0
utils/common.go

@@ -924,6 +924,7 @@ func getMonthDay(year, month int) (days int) {
 
 // GetOrmInReplace 获取orm的in查询替换?的方法
 func GetOrmInReplace(num int) string {
+	return `?`
 	template := make([]string, num)
 	for i := 0; i < num; i++ {
 		template[i] = "?"