Closed nexthero closed 1 year ago
默认就是按数据来排序的
如果你查出来不是按数据库排序你可以提供一个建表语句给我
CREATE TABLE "public"."bas_error_cause" ( "id" varchar(40) COLLATE "pg_catalog"."default" NOT NULL, "error_cause_code" varchar(40) COLLATE "pg_catalog"."default" NOT NULL, "error_cause_name" varchar(100) COLLATE "pg_catalog"."default" NOT NULL, "org_id" varchar(40) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying, "remark" varchar(400) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying, "create_id" varchar(40) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying, "create_time" timestamp(6) NOT NULL, "modify_id" varchar(40) COLLATE "pg_catalog"."default" DEFAULT NULL::character varying, "modify_time" timestamp(6), "extras" text COLLATE "pg_catalog"."default", CONSTRAINT "bas_error_cause_pkey" PRIMARY KEY ("id") );
源码已修复
SqlSugarCore 5.1.4.61-preview01 预览版本已修复
还有疑问发布新的ISSUES,先关闭
PostgreSql获取字段列表:DbMaintenance.GetColumnInfosByTableName() 返回结果能否按ordinal_position排序,或者把ordinal_position加到DbColumnInfo里