From d8db1698c125618c1b5f62b009204ddc5d4eed5a Mon Sep 17 00:00:00 2001
From: wangxinhui <wangxinhui@hnkhzn.com>
Date: 星期三, 19 三月 2025 20:34:08 +0800
Subject: [PATCH] 成品代码更新....
---
代码管理/WMS/WIDESEA_WMSServer/WIDESEA_DTO/MES/MesResponseContent.cs | 59 ++++++++++++++++++++++++++++++-----------------------------
1 files changed, 30 insertions(+), 29 deletions(-)
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_DTO/MES/MesResponseContent.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_DTO/MES/MesResponseContent.cs"
index 2dcef59..14adbe8 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_DTO/MES/MesResponseContent.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_DTO/MES/MesResponseContent.cs"
@@ -29,6 +29,35 @@
///
/// </summary>
public string DataTime { get; set; }
+
+ public static MesResponseContent Instance
+ {
+ get { return new MesResponseContent(); }
+ }
+
+ public MesResponseContent OK(string message = null)
+ {
+ BSucc = true;
+ StrCode = "0000";
+ StrMsg = message == null ? "鎵ц鎴愬姛" : message;
+ DataTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
+ return this;
+ }
+
+ public MesResponseContent Error(string message = null)
+ {
+ BSucc = false;
+ StrCode = "404";
+ StrMsg = message == null ? "鎵ц澶辫触" : message;
+ DataTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
+ return this;
+ }
+ public object Content { get; set; }
+ }
+
+ public class Contents
+ {
+ public string Contacts { get; set; }
/// <summary>
/// 鐗╂枡缂栫爜
/// </summary>
@@ -61,40 +90,12 @@
/// 鐗╂枡鎵规
/// </summary>
public string MaterialLot { get; set; }
-
- public static MesResponseContent Instance
- {
- get { return new MesResponseContent(); }
- }
-
- public MesResponseContent OK(string message = null)
- {
- BSucc = true;
- StrCode = "0000";
- StrMsg = message == null ? "鎵ц鎴愬姛" : message;
- DataTime= DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
- return this;
- }
-
- public MesResponseContent Error(string message = null)
- {
- BSucc = false;
- StrCode = "404";
- StrMsg = message == null ? "鎵ц澶辫触" : message;
- DataTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
- return this;
- }
- public ContentMes Content { get; set; }
- }
- public class ContentMes: Content
- {
- public string Contacts { get; set; }
}
/// <summary>
/// PP搴撳瓨鏌ヨ锛屽洖澶峂ES
/// </summary>
public class QueryPpByWidthModelCount
{
-
+
}
}
--
Gitblit v1.9.3