Bug Fix ( Hot fix )

- Fix a database Error
This commit is contained in:
Somebody
2024-07-07 22:31:45 +08:00
parent f8de1898e1
commit 1d7dd69ef1
3 changed files with 7 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ using SqlSugar;
namespace EggLink.DanhengServer.Database.Inventory
{
[SugarTable("InventoryData")]
public class InventoryData : BaseDatabaseDataHelper
{
[SugarColumn(IsJson = true)]

View File

@@ -9,6 +9,7 @@ using System.Threading.Tasks;
namespace EggLink.DanhengServer.Database.Mission
{
[SugarTable("StoryLineData")]
public class StoryLineData : BaseDatabaseDataHelper
{
public int CurStoryLineId { get; set; }
@@ -16,7 +17,11 @@ namespace EggLink.DanhengServer.Database.Mission
public int OldPlaneId { get; set; }
public int OldFloorId { get; set; }
public int OldEntryId { get; set; }
[SugarColumn(IsJson = true)]
public Position OldPos { get; set; } = new();
[SugarColumn(IsJson = true)]
public Position OldRot { get; set; } = new();
[SugarColumn(IsJson = true)]

View File

@@ -10,6 +10,7 @@ using System.Threading.Tasks;
namespace EggLink.DanhengServer.Database.Scene
{
[SugarTable("RaidData")]
public class RaidData : BaseDatabaseDataHelper
{
[SugarColumn(IsJson = true)]