From 504404beedd006d029bb44fe2290aba649795229 Mon Sep 17 00:00:00 2001 From: huanghongfeng <huanghongfeng@hnkhzn.com> Date: 星期日, 01 十二月 2024 19:53:39 +0800 Subject: [PATCH] 1 --- 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfo.cs | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfo.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfo.cs" index 84b7812..4a506f2 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfo.cs" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfo.cs" @@ -1,4 +1,5 @@ -锘縰sing SqlSugar; +锘縰sing Magicodes.ExporterAndImporter.Core; +using SqlSugar; using System; using System.Collections.Generic; using System.Linq; @@ -11,12 +12,13 @@ [SugarTable(nameof(Dt_StockInfo), "搴撳瓨淇℃伅")] public class Dt_StockInfo : BaseEntity { + [ExporterHeader(IsIgnore =true)] [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] public int Id { get; set; } - + [ExporterHeader(DisplayName = "鎵樼洏缂栧彿")] [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鎵樼洏缂栧彿")] public string PalletCode { get; set; } - + [ExporterHeader(DisplayName = "绫诲瀷")] [SugarColumn(IsNullable = false, ColumnDescription = "绫诲瀷")] public int MaterialType { get; set; } @@ -30,7 +32,7 @@ public int StockStatus { get; set; } [SugarColumn(IsNullable = false, ColumnDescription = "閲嶉噺")] - public float Materialweight { get; set; } + public decimal Materialweight { get; set; } [SugarColumn(IsNullable = true, ColumnDescription = "澶囨敞")] public string Remark { get; set; } -- Gitblit v1.9.3