diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Mapping/PersonnelManagement/ADR_RestrictionMap.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Mapping/PersonnelManagement/ADR_RestrictionMap.cs index e01bdd40e..9012b595b 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Mapping/PersonnelManagement/ADR_RestrictionMap.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Mapping/PersonnelManagement/ADR_RestrictionMap.cs @@ -19,6 +19,8 @@ namespace Learun.Application.Mapping this.ToTable("ADR_RESTRICTION"); //主键 this.HasKey(t => t.ID); + this.Property(e => e.GPSLon).HasPrecision(15, 8); + this.Property(e => e.GPSLat).HasPrecision(15, 8); #endregion #region 配置关系 diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/ADR_Restriction/ADR_RestrictionEntity.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/ADR_Restriction/ADR_RestrictionEntity.cs index dd6ae7593..61f6589db 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/ADR_Restriction/ADR_RestrictionEntity.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/ADR_Restriction/ADR_RestrictionEntity.cs @@ -11,6 +11,7 @@ namespace Learun.Application.TwoDevelopment.PersonnelManagement /// 日 期:2020-09-03 14:57 /// 描 述:考勤限制 /// + public class ADR_RestrictionEntity { #region 实体成员 @@ -125,10 +126,10 @@ namespace Learun.Application.TwoDevelopment.PersonnelManagement public bool EnableGPS { get; set; } [Column("GPSLON")] - public string GPSLon { get; set; } + public decimal? GPSLon { get; set; } [Column("GPSLAT")] - public string GPSLat { get; set; } + public decimal? GPSLat { get; set; } [Column("GPSADDR")] public string GPSAddr { get; set; }