| | |
| | | using 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; |
| | |
| | | GetUserGuidAndOrgGuid(_http); |
| | | } |
| | | #region |
| | | |
| | | |
| | | /// <summary> |
| | | /// 读取,采集,采集的时候返回列表 |
| | | /// </summary> |
| | |
| | | string gongWei = model.gongWei;//工位 |
| | | string checkResult = model.checkResult; //结果 |
| | | string badDescription = model.badDescription;//不良描述 |
| | | string collectGuid = model.collectGuid; |
| | | //水检值 |
| | | string t001 = model.t001; |
| | | string t002 = model.t002; |
| | |
| | | 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>(); |
| | |
| | | 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 |
| | |
| | | } |
| | | 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; |
| | | } |