From bbac60058524198c13c4a22943719f853ef8e2bc Mon Sep 17 00:00:00 2001 From: xcd <834800634@qq.com> Date: 星期三, 15 七月 2020 19:34:15 +0800 Subject: [PATCH] Excel输出4个sheet,横向排布 解决启动延迟问题 --- src/Bro.M071.Model/Model/MeasurementUnitResult.cs | 29 +++++++++++++---------------- 1 files changed, 13 insertions(+), 16 deletions(-) diff --git a/src/Bro.M071.Model/Model/MeasurementUnitResult.cs b/src/Bro.M071.Model/Model/MeasurementUnitResult.cs index 62898f4..ef6ba51 100644 --- a/src/Bro.M071.Model/Model/MeasurementUnitResult.cs +++ b/src/Bro.M071.Model/Model/MeasurementUnitResult.cs @@ -2,6 +2,7 @@ using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; namespace Bro.M071.Model.Model { @@ -39,6 +40,18 @@ /// </summary> [StringLength(64)] public string MeasurementResult { get; set; } + + /// <summary> + /// 浜у搧缂栫爜 + /// </summary> + [NotMapped] + public string ProductionCode { get; set; } + [NotMapped] + public string ProductionBarcode { get; set; } + [NotMapped] + public string Keys { get; set; } + [NotMapped] + public string Positions { get; set; } } public class MeasurementUnitResultRequest : BaseRequest @@ -67,22 +80,6 @@ /// 妫�娴嬬粨鏋� ok ng /// </summary> public string MeasurementResult { get; set; } - } - - public class MeasurementUnitResult_DTO : MeasurementUnitResult - { - //浜у搧鐩稿叧 - /// <summary> - /// 浜у搧缂栫爜 - /// </summary> - public string ProductionCode { get; set; } - - /// <summary> - /// 浜у搧鏉$爜 - /// </summary> - public string ProductionBarcode { get; set; } - - } public class ProductionMeasurementUnitResultAndKeyUnitDataSet -- Gitblit v1.8.0