From 36bc0d6f0f872fef35bf673cc2483a9f0a0f2d3f Mon Sep 17 00:00:00 2001 From: liangkun Date: Sat, 5 Aug 2023 14:27:26 +0800 Subject: [PATCH] =?UTF-8?q?ef=E4=B8=AD=EF=BC=8Cdecimal=E7=B2=BE=E5=BA=A6?= =?UTF-8?q?=E5=9C=A8map=E4=B8=AD=E6=8C=87=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PersonnelManagement/ADR_RestrictionMap.cs | 2 ++ .../ADR_Restriction/ADR_RestrictionEntity.cs | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) 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; }