diff --git a/Src/Dlhis.Entity/Basic/Entity/WorkGridScheduleEntity.cs b/Src/Dlhis.Entity/Basic/Entity/WorkGridScheduleEntity.cs
index 22e58f7d..21ff88d1 100644
--- a/Src/Dlhis.Entity/Basic/Entity/WorkGridScheduleEntity.cs
+++ b/Src/Dlhis.Entity/Basic/Entity/WorkGridScheduleEntity.cs
@@ -21,13 +21,13 @@ public class WorkGridScheduleEntity : SugarBaseEntity, ITenantId
///
/// 排班日期
///
- [SugarColumn(IsNullable = false, ColumnDescription = "排班日期")]
+ [SugarColumn(IsNullable = false, ColumnDataType = "date", ColumnDescription = "排班日期")]
public DateOnly Date { get; set; }
///
/// 排班类型
///
- [SugarColumn(IsNullable = false, ColumnDescription = "排班类型", SqlParameterDbType = typeof(EnumToStringConvert))]
+ [SugarColumn(IsNullable = false, ColumnDataType = "varchar(50)", ColumnDescription = "排班类型", SqlParameterDbType = typeof(EnumToStringConvert))]
public WorkGridTimePeriodEnumType PeriodType { get; set; }
///
diff --git a/Src/Dlhis.Entity/Basic/Entity/WorkGridTimePeriodEntity.cs b/Src/Dlhis.Entity/Basic/Entity/WorkGridTimePeriodEntity.cs
index 1d842130..721823da 100644
--- a/Src/Dlhis.Entity/Basic/Entity/WorkGridTimePeriodEntity.cs
+++ b/Src/Dlhis.Entity/Basic/Entity/WorkGridTimePeriodEntity.cs
@@ -3,6 +3,7 @@ using Kurisu.AspNetCore.DataAccess.Entity;
using Kurisu.AspNetCore.DataAccess.SqlSugar;
using Mapster;
using SqlSugar;
+using SqlSugar.DbConvert;
namespace Dlhis.Entity.Basic.Entity;
@@ -16,6 +17,7 @@ public class WorkGridTimePeriodEntity : SugarBaseEntity, ITenantId
/// 班次
///
[AdaptIgnore(MemberSide.Destination)]
+ [SugarColumn(IsNullable = false, ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert))]
public WorkGridTimePeriodEnumType Type { get; set; }
///
@@ -31,11 +33,13 @@ public class WorkGridTimePeriodEntity : SugarBaseEntity, ITenantId
///
/// 开始时间
///
+ [SugarColumn(IsNullable = false, ColumnDataType = "date")]
public TimeOnly Start { get; set; }
///
/// 结束时间
///
+ [SugarColumn(IsNullable = false, ColumnDataType = "date")]
public TimeOnly End { get; set; }
diff --git a/Src/Dlhis.Entity/Basic/Entity/WorkGridUserEntity.cs b/Src/Dlhis.Entity/Basic/Entity/WorkGridUserEntity.cs
index 7685a578..05ccd503 100644
--- a/Src/Dlhis.Entity/Basic/Entity/WorkGridUserEntity.cs
+++ b/Src/Dlhis.Entity/Basic/Entity/WorkGridUserEntity.cs
@@ -27,7 +27,7 @@ public class WorkGridUserEntity : SugarBaseEntity, ITenantId
///
/// 排班类型
///
- [SugarColumn(IsNullable = true, ColumnDescription = "排班类型", SqlParameterDbType = typeof(EnumToStringConvert))]
+ [SugarColumn(IsNullable = true,ColumnDataType = "varchar(50)",ColumnDescription = "排班类型", SqlParameterDbType = typeof(EnumToStringConvert))]
public WorkGridTimePeriodEnumType? ScheduleType { get; set; }
///