From b98df034707a61fd2857dbccd5a232605076ca59 Mon Sep 17 00:00:00 2001
From: lg <123456>
Date: 星期四, 20 十一月 2025 10:26:08 +0800
Subject: [PATCH] 标准版初始化
---
WebApi/Gs.Wom/WorkService/WorkCollectController.cs | 38 +++++++++++++++++++++++---------------
1 files changed, 23 insertions(+), 15 deletions(-)
diff --git a/WebApi/Gs.Wom/WorkService/WorkCollectController.cs b/WebApi/Gs.Wom/WorkService/WorkCollectController.cs
index f77dcdb..4d18473 100644
--- a/WebApi/Gs.Wom/WorkService/WorkCollectController.cs
+++ b/WebApi/Gs.Wom/WorkService/WorkCollectController.cs
@@ -1,7 +1,6 @@
锘縰sing System.Data;
using System.Data.SqlClient;
using System.Dynamic;
-using System.Text;
using Gs.Toolbox;
using Gs.Toolbox.ApiCore.Abstract.Mvc;
using Gs.Toolbox.ApiCore.Common.Mvc;
@@ -25,8 +24,6 @@
GetUserGuidAndOrgGuid(_http);
}
#region
-
-
/// <summary>
/// 璇诲彇锛岄噰闆�,閲囬泦鐨勬椂鍊欒繑鍥炲垪琛�
/// </summary>
@@ -41,6 +38,7 @@
string gongWei = model.gongWei;//宸ヤ綅
string checkResult = model.checkResult; //缁撴灉
string badDescription = model.badDescription;//涓嶈壇鎻忚堪
+ string collectGuid = model.collectGuid;
//姘存鍊�
string t001 = model.t001;
string t002 = model.t002;
@@ -53,6 +51,8 @@
string t009 = model.t009;
string t010 = model.t010;
string t011 = model.t011;
+ string t012 = model.t012;
+ string t013 = model.t013;
dynamic m = new ExpandoObject();
m.list = new List<dynamic>();
m.list2 = new List<dynamic>();
@@ -70,17 +70,20 @@
new("@banCi",banCi),
new("@gongWei",gongWei),
new("@badDescription",badDescription),
- new("@t001",t001),
- new("@t002",t002),
- new("@t003",t003),
- new("@t004",t004),
- new("@t005",t005),
- new("@t006",t006),
- new("@t007",t007),
- new("@t008",t008),
- new("@t009",t009),
- new("@t010",t010),
- new("@t011",t011),
+ new("@t001",t001),
+ new("@t002",t002),
+ new("@t003",t003),
+ new("@t004",t004),
+ new("@t005",t005),
+ new("@t006",t006),
+ new("@t007",t007),
+ new("@t008",t008),
+ new("@t009",t009),
+ new("@t010",t010),
+ new("@t011",t011),
+ new("@t012",t012),
+ new("@t013",t013),
+ new("@collectGuid",collectGuid),
};
var dset = new DataSet();
try
@@ -122,7 +125,12 @@
}
catch (Exception ex)
{
- LogHelper.Debug(this.ToString(), ex.Message);
+ System.Text.StringBuilder sbLog = new System.Text.StringBuilder();
+ sbLog.Append("_userGuid:" + _userGuid.ToString());
+ sbLog.Append("processNo:" + processNo.ToString());
+ sbLog.Append("gongWei:" + gongWei.ToString());
+ sbLog.Append("inP4:" + barCode);
+ LogHelper.Debug(this.ToString(), ex.Message + ":" + sbLog.ToString());
m.outMsg = ex.Message;
m.outSum = -1;
}
--
Gitblit v1.9.3