Browse Source

fix:gorm调整

Roc 17 hours ago
parent
commit
feb1b4d2a7
1 changed files with 1 additions and 0 deletions
  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] = "?"