refactor: dbm包重构

This commit is contained in:
meilin.huang
2024-03-11 20:04:20 +08:00
parent 8589105e44
commit eb55f93864
28 changed files with 1489 additions and 2464 deletions

View File

@@ -278,7 +278,7 @@ func (d *dbSqlExecAppImpl) doUpdate(ctx context.Context, update *sqlparser.Updat
}
// 获取表主键列名,排除使用别名
primaryKey, err := dbConn.GetDialect().GetPrimaryKey(tableName)
primaryKey, err := dbConn.GetDialect().GetMetaData().GetPrimaryKey(tableName)
if err != nil {
return nil, errorx.NewBiz("获取表主键信息失败")
}