修复pgsql和数据库导入bug,增加默认mod中的datatypes (#1712)

* 多文件: fix error specified more than once in PG

* Update sys_authority.go

* Update sys_authority.go

* sys_export_template.go: 导入Excel时使用批量插入提高性能

* 添加gorm.io/datatypes

---------

Co-authored-by: crazyrunsnail <fjyuan1991@163.com>
Co-authored-by: XiMo-210 <2831802697@qq.com>
This commit is contained in:
PiexlMax(奇淼
2024-04-13 18:46:58 +08:00
committed by GitHub
co-authored by crazyrunsnail XiMo-210
parent 61dd524c26
commit 4074a52b1b
6 changed files with 30 additions and 11 deletions
+1
View File
@@ -134,6 +134,7 @@ require (
google.golang.org/protobuf v1.30.0 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
gorm.io/datatypes v1.2.0 // indirect
gorm.io/plugin/dbresolver v1.4.1 // indirect
modernc.org/libc v1.24.1 // indirect
modernc.org/mathutil v1.5.0 // indirect