JToken 无默认构造函数,显式指定映射策略避免 Mapster
This commit is contained in:
parent
82e662c867
commit
a49912ec48
@ -1,6 +1,6 @@
|
||||
{
|
||||
"ConnectionStrings": {
|
||||
"Default": "Host=192.168.111.174;Port=5432;Database=jisheiotprodb68;Username=postgres;Password=JiShe!aqG#5kGgh&0;Encoding=UTF8;Pooling=true;Pooling=true;Minimum Pool Size=5;Maximum Pool Size=100;"
|
||||
"Default": "Host=192.168.111.174;Port=5432;Database=jisheiotprodb58;Username=postgres;Password=JiShe!aqG#5kGgh&0;Encoding=UTF8;Pooling=true;Pooling=true;Minimum Pool Size=5;Maximum Pool Size=100;"
|
||||
},
|
||||
"IoTDBOptions": {
|
||||
"UserName": "root",
|
||||
|
||||
@ -14,7 +14,7 @@ using Volo.Abp.EntityFrameworkCore;
|
||||
namespace JiShe.IoT.Migrations
|
||||
{
|
||||
[DbContext(typeof(IoTDbContext))]
|
||||
[Migration("20260325090415_InitialCreate")]
|
||||
[Migration("20260326023314_InitialCreate")]
|
||||
partial class InitialCreate
|
||||
{
|
||||
/// <inheritdoc />
|
||||
@ -838,8 +838,8 @@ namespace JiShe.IoT.Migrations
|
||||
.HasColumnType("timestamp with time zone")
|
||||
.HasComment("最后在线时间");
|
||||
|
||||
b.Property<int?>("NeedEquipmentProductionPlan")
|
||||
.HasColumnType("integer")
|
||||
b.Property<bool?>("NeedEquipmentProductionPlan")
|
||||
.HasColumnType("boolean")
|
||||
.HasComment("是否需要设备生产计划");
|
||||
|
||||
b.Property<int?>("OSACreatorId")
|
||||
@ -871,7 +871,6 @@ namespace JiShe.IoT.Migrations
|
||||
.HasComment("备注");
|
||||
|
||||
b.Property<string>("SimCardInfo")
|
||||
.IsRequired()
|
||||
.HasColumnType("jsonb")
|
||||
.HasComment("SIM卡信息");
|
||||
|
||||
@ -762,10 +762,10 @@ namespace JiShe.IoT.Migrations
|
||||
UpgradeDate = table.Column<DateTime>(type: "timestamp with time zone", nullable: true, comment: "升级日期"),
|
||||
SubDeviceCapacity = table.Column<int>(type: "integer", nullable: false, defaultValue: 64, comment: "子设备容量"),
|
||||
ReadingMode = table.Column<int>(type: "integer", nullable: false, defaultValue: 1, comment: "抄读模式"),
|
||||
SimCardInfo = table.Column<string>(type: "jsonb", nullable: false, comment: "SIM卡信息"),
|
||||
SimCardInfo = table.Column<string>(type: "jsonb", nullable: true, comment: "SIM卡信息"),
|
||||
EncryptionType = table.Column<int>(type: "integer", nullable: false, defaultValue: 1, comment: "设备加密类型,类型不同给,鉴权路径资源不同,默认为一型一密"),
|
||||
EncryptionMethod = table.Column<int>(type: "integer", nullable: false, defaultValue: 1, comment: "设备鉴权加密方式"),
|
||||
NeedEquipmentProductionPlan = table.Column<int>(type: "integer", nullable: true, comment: "是否需要设备生产计划"),
|
||||
NeedEquipmentProductionPlan = table.Column<bool>(type: "boolean", nullable: true, comment: "是否需要设备生产计划"),
|
||||
ConcurrencyStamp = table.Column<string>(type: "character varying(40)", maxLength: 40, nullable: false),
|
||||
CreationTime = table.Column<DateTime>(type: "timestamp with time zone", nullable: false),
|
||||
CreatorId = table.Column<Guid>(type: "uuid", nullable: true),
|
||||
@ -835,8 +835,8 @@ namespace JiShe.IoT.Migrations
|
||||
.HasColumnType("timestamp with time zone")
|
||||
.HasComment("最后在线时间");
|
||||
|
||||
b.Property<int?>("NeedEquipmentProductionPlan")
|
||||
.HasColumnType("integer")
|
||||
b.Property<bool?>("NeedEquipmentProductionPlan")
|
||||
.HasColumnType("boolean")
|
||||
.HasComment("是否需要设备生产计划");
|
||||
|
||||
b.Property<int?>("OSACreatorId")
|
||||
@ -868,7 +868,6 @@ namespace JiShe.IoT.Migrations
|
||||
.HasComment("备注");
|
||||
|
||||
b.Property<string>("SimCardInfo")
|
||||
.IsRequired()
|
||||
.HasColumnType("jsonb")
|
||||
.HasComment("SIM卡信息");
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user