| | |
| | | public string? StatusUser { get; set; } |
| | | |
| | | public SJPageResult? Result { get; set; } |
| | | |
| | | public string? userNo { get; set; } |
| | | } |
| | |
| | | [SugarColumn(ColumnName = "QS_TYPE")] //ç¨äºSqlSugar |
| | | [StringLength(1, ErrorMessage = "1ä¸ºé¦æ£ï¼2为巡æ£ï¼3为å
¥åºæ£é¿åº¦ä¸è½è¶
åº1")] |
| | | public string? QsType { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç©æid |
| | | /// </summary> |
| | | [Column("ITEM_ID")] |
| | | [SugarColumn(ColumnName = "ITEM_ID")] //ç¨äºSqlSugar |
| | | public decimal? ItemId { get; set; } |
| | | } |
| | |
| | | [SugarColumn(ColumnName = "USING_INSTRUMENTS")] //ç¨äºSqlSugar |
| | | [StringLength(50, ErrorMessage = "使ç¨ä»ªè¡¨é¿åº¦ä¸è½è¶
åº50")] |
| | | public string UsingInstruments { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç©æid |
| | | ///</summary> |
| | | [SugarColumn(ColumnName = "ITEM_ID")] |
| | | public decimal? ItemId { get; set; } |
| | | } |
| | |
| | | using MES.Service.DB; |
| | | using System.Data; |
| | | using MES.Service.DB; |
| | | using MES.Service.Dto.service; |
| | | using MES.Service.Modes; |
| | | using MES.Service.util; |
| | | using SqlSugar; |
| | | using DbType = System.Data.DbType; |
| | | |
| | | namespace MES.Service.service.QC; |
| | | |
| | |
| | | |
| | | return withOracle; |
| | | } |
| | | |
| | | public bool SJQaSubmit(QsItem item) |
| | | { |
| | | var (factory, company) = UserUtil.GetFactory(item.userNo); |
| | | try |
| | | { |
| | | // å®ä¹è¾åºåæ° |
| | | var outputResult = new SugarParameter("o_Result", null, DbType.Int32, ParameterDirection.Output, |
| | | 4000); |
| | | |
| | | var outputMessage = new SugarParameter("o_Msg", null, DbType.String, ParameterDirection.Output, 4000); |
| | | |
| | | // å®ä¹è¾å
¥åæ° |
| | | var parameters = new List<SugarParameter> |
| | | { |
| | | |
| | | new("p_Id", item.gid, DbType.Int32,ParameterDirection.Input), |
| | | new("p_Flag", 1, DbType.Int32,ParameterDirection.Input), |
| | | new("p_User", item.userNo, DbType.String, ParameterDirection.Input), |
| | | outputResult, |
| | | outputMessage |
| | | }; |
| | | |
| | | var db = SqlSugarHelper.GetInstance(); |
| | | |
| | | // ä½¿ç¨ SqlSugar æ§è¡åå¨è¿ç¨ |
| | | db.Ado.ExecuteCommand( |
| | | "BEGIN PRC_WOMDAA_SJ_UPDATE_RES(:p_Id,:p_Flag,:p_User,:o_Result, :o_Msg); END;", |
| | | parameters.ToArray()); |
| | | |
| | | // è·åè¾åºåæ°çå¼ |
| | | var resultValue = outputResult.Value?.ToString(); |
| | | var messageValue = outputMessage.Value?.ToString(); |
| | | |
| | | if ("1".Equals(resultValue)) { throw new Exception(messageValue); } |
| | | if ("0".Equals(resultValue)) { throw new Exception(messageValue); } |
| | | |
| | | return true; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | throw new Exception(ex.Message); |
| | | } |
| | | } |
| | | } |
| | |
| | | return db.Queryable<Womdaa>() |
| | | .Where(a => |
| | | a.Daa001 == daa001 && |
| | | statusArray.Contains(a.Daa018)) |
| | | a.Daa018 != "å®å·¥") |
| | | .ToList(); |
| | | } |
| | | |
| | |
| | | return db.Queryable<Womdaa, MesLine>((a, b) => |
| | | new JoinQueryInfos(JoinType.Left, a.Daa015 == b.LineNo)) |
| | | .Where((a, b) => b.LineName != null && |
| | | statusArray.Contains(a.Daa018)) |
| | | a.Daa018 != "å®å·¥") |
| | | .GroupBy((a, b) => new |
| | | { |
| | | b.LineNo, b.LineName |
| | |
| | | .Where((a, b) => |
| | | a.Daa015 == daa020 && |
| | | b.ItemNo == item && |
| | | statusArray.Contains(a.Daa018)) |
| | | a.Daa018 != "å®å·¥") |
| | | .Select<Womdaa>(a => new Womdaa |
| | | { |
| | | Id = a.Id, |
| | |
| | | var db = SqlSugarHelper.GetInstance(); |
| | | return db.Queryable<Womdaa, MesItems>((a, b) => |
| | | new JoinQueryInfos(JoinType.Inner, a.Daa002 == b.Id.ToString())) |
| | | .Where((a, b) => statusArray.Contains(a.Daa018) && |
| | | .Where((a, b) => a.Daa018 != "å®å·¥" && |
| | | a.Daa015 == lineNo) |
| | | .OrderBy((a, b) => b.ItemName) |
| | | .Select<MesItems>((a, b) => |
| | | new MesItems |
| | | { |
| | | Id = b.Id, |
| | | ItemId = b.ItemId, |
| | | ItemNo = b.ItemNo, |
| | | ItemName = b.ItemName, |
| | | ItemModel = b.ItemModel |
| | |
| | | } |
| | | |
| | | |
| | | public List<QsQaItemXj01> setJYItem(string itemNo) |
| | | public List<QsQaItemXj01> setJYItem(decimal itemId) |
| | | { |
| | | var db = SqlSugarHelper.GetInstance(); |
| | | |
| | | var count = db.Queryable<MesQa>().Where(s => s.QsType == "2" |
| | | && s.ItemNo == itemNo && s.Fsubmit == 1).Count(); |
| | | && s.ItemId == itemId && s.Fsubmit == 1).Count(); |
| | | |
| | | if (count <= 0) return new List<QsQaItemXj01>(); |
| | | |
| | | return db |
| | | .Queryable<MesQualityStandard>() |
| | | .Where(b => b.QsType == "2" |
| | | && b.ItemNo == itemNo).Select( |
| | | && b.ItemId == itemId).Select( |
| | | b => new QsQaItemXj01 |
| | | { |
| | | ProjName = b.ProjName, |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using MES.Service.DB; |
| | | |
| | | namespace MES.Service.util; |
| | | |
| | | public class UserUtil : RepositoryNoEntity |
| | | { |
| | | public static (string factory, string company) GetFactory(string user) |
| | | { |
| | | var sql = |
| | | "select t.Ffactory factory, t.Fcompany company from sys_user t where t.fcode = upper(trim('" + |
| | | user + "'))"; |
| | | |
| | | var sqlQuerySingle = Db.Ado.SqlQuerySingle<dynamic>(sql); |
| | | |
| | | return (sqlQuerySingle.FACTORY, sqlQuerySingle.COMPANY); |
| | | } |
| | | } |
| | |
| | | [HttpPost("SetQSItems")] |
| | | public ResponseResult SetQSItems([FromBody] JObject data) |
| | | { |
| | | var itemNo = data["itemNo"].ToString(); |
| | | var itemNo = data["itemId"].ToString(); |
| | | try |
| | | { |
| | | |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | var tbBillList = new SJService(); |
| | | var detail021 = tbBillList.SetQSItems(itemNo); |
| | |
| | | } |
| | | } |
| | | |
| | | |
| | | [HttpPost("SJQaSubmit")] |
| | | public ResponseResult SJQaSubmit([FromBody] QsItem item) |
| | | { |
| | | try |
| | | { |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | var tbBillList = new SJService(); |
| | | var detail021 = tbBillList.SJQaSubmit(item); |
| | | resultInfos.tbBillList = detail021; |
| | | return new ResponseResult |
| | | { |
| | | status = 0, |
| | | message = "OK", |
| | | data = resultInfos |
| | | }; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | |
| | | [HttpPost("Save")] |
| | | public ResponseResult Save([FromBody] QsItem item) |
| | | { |
| | |
| | | using MES.Service.service.QC; |
| | | using MES.Service.util; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using Microsoft.Data.SqlClient.Server; |
| | | using Newtonsoft.Json.Linq; |
| | | |
| | | namespace MESApplication.Controllers.QC; |
| | |
| | | [HttpPost("setJYItem")] |
| | | public ResponseResult setJYItem([FromBody] JObject data) |
| | | { |
| | | var itemNo = data["itemNo"].ToString(); |
| | | var itemId = Convert.ToDecimal(data["itemId"].ToString()); |
| | | try |
| | | { |
| | | |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | var tbBillList = |
| | | new XJService().setJYItem(itemNo); |
| | | new XJService().setJYItem(itemId); |
| | | resultInfos.tbBillList = tbBillList; |
| | | return new ResponseResult |
| | | { |
| | |
| | | { |
| | | "$schema": "http://json.schemastore.org/launchsettings.json", |
| | | "iisSettings": { |
| | | "windowsAuthentication": false, |
| | | "anonymousAuthentication": true, |
| | | "iisExpress": { |
| | | "applicationUrl": "http://localhost:10054", |
| | | "sslPort": 0 |
| | | } |
| | | }, |
| | | { |
| | | "profiles": { |
| | | "http": { |
| | | "commandName": "Project", |
| | | "dotnetRunMessages": true, |
| | | "launchBrowser": true, |
| | | "launchUrl": "swagger", |
| | | "applicationUrl": "http://localhost:5184", |
| | | "environmentVariables": { |
| | | "ASPNETCORE_ENVIRONMENT": "Development" |
| | | } |
| | | }, |
| | | "dotnetRunMessages": true, |
| | | "applicationUrl": "http://localhost:5184" |
| | | }, |
| | | "IIS Express": { |
| | | "commandName": "IISExpress", |
| | |
| | | "ASPNETCORE_ENVIRONMENT": "Development" |
| | | } |
| | | } |
| | | }, |
| | | "$schema": "http://json.schemastore.org/launchsettings.json", |
| | | "iisSettings": { |
| | | "windowsAuthentication": false, |
| | | "anonymousAuthentication": true, |
| | | "iisExpress": { |
| | | "applicationUrl": "http://localhost:10056", |
| | | "sslPort": 0 |
| | | } |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 2025-02-10 16:36:40:779 æ¥å£å¼å¸¸ï¼{"ClassName":"System.NullReferenceException","Message":"Object reference not set to an instance of an object.","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":" at MESApplication.Controllers.QC.XJController.getDaa001(JObject data) in C:\\Users\\Administrator\\Desktop\\TLM\\MESApplication\\Controllers\\QC\\XJController.cs:line 92\r\n at lambda_method102(Closure, Object, Object[])\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncObjectResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2147467261,"Source":"MESApplication","WatsonBuckets":null} |
| | | 2025-02-10 16:36:40:799 å¼å¸¸æç¤ºä¿¡æ¯ï¼"Object reference not set to an instance of an object." |
| | | ================================================================================================================================== |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 2025-02-10 17:02:00:298 æ¥å£å¼å¸¸ï¼{"ClassName":"System.NullReferenceException","Message":"Object reference not set to an instance of an object.","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":" at MESApplication.Controllers.QC.SJController.SetQSItems(JObject data) in C:\\Users\\Administrator\\Desktop\\TLM\\MESApplication\\Controllers\\QC\\SJController.cs:line 65\r\n at lambda_method158(Closure, Object, Object[])\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncObjectResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2147467261,"Source":"MESApplication","WatsonBuckets":null} |
| | | 2025-02-10 17:02:00:317 å¼å¸¸æç¤ºä¿¡æ¯ï¼"Object reference not set to an instance of an object." |
| | | ================================================================================================================================== |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 2025-02-12 13:13:45:516 æ¥å£å¼å¸¸ï¼{"ClassName":"System.NullReferenceException","Message":"Object reference not set to an instance of an object.","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":" at MESApplication.Controllers.QC.XJController.setJYItem(JObject data) in C:\\Users\\Administrator\\Desktop\\TLM\\MESApplication\\Controllers\\QC\\XJController.cs:line 167\r\n at lambda_method206(Closure, Object, Object[])\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncObjectResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2147467261,"Source":"MESApplication","WatsonBuckets":null} |
| | | 2025-02-12 13:13:45:536 å¼å¸¸æç¤ºä¿¡æ¯ï¼"Object reference not set to an instance of an object." |
| | | ================================================================================================================================== |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 2025-02-12 14:09:48:129 æ¥å£å¼å¸¸ï¼{"ClassName":"System.NullReferenceException","Message":"Object reference not set to an instance of an object.","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":" at MESApplication.Controllers.QC.XJController.setJYItem(JObject data) in C:\\Users\\Administrator\\Desktop\\TLM\\MESApplication\\Controllers\\QC\\XJController.cs:line 167\r\n at lambda_method206(Closure, Object, Object[])\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2147467261,"Source":"MESApplication","WatsonBuckets":null} |
| | | 2025-02-12 14:09:48:141 å¼å¸¸æç¤ºä¿¡æ¯ï¼"Object reference not set to an instance of an object." |
| | | ================================================================================================================================== |
| | | 2025-02-12 14:37:08:660 æ¥å£å¼å¸¸ï¼{"ClassName":"System.NullReferenceException","Message":"Object reference not set to an instance of an object.","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":" at MESApplication.Controllers.QC.XJController.setJYItem(JObject data) in C:\\Users\\Administrator\\Desktop\\TLM\\MESApplication\\Controllers\\QC\\XJController.cs:line 167\r\n at lambda_method154(Closure, Object, Object[])\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2147467261,"Source":"MESApplication","WatsonBuckets":null} |
| | | 2025-02-12 14:37:08:678 å¼å¸¸æç¤ºä¿¡æ¯ï¼"Object reference not set to an instance of an object." |
| | | ================================================================================================================================== |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 2025-02-12 15:04:16:163 æ¥å£å¼å¸¸ï¼{"ClassName":"System.FormatException","Message":"The input string '' was not in a correct format.","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":" at System.Number.ThrowFormatException[TChar](ReadOnlySpan`1 value)\r\n at System.Number.ParseDecimal[TChar](ReadOnlySpan`1 value, NumberStyles styles, NumberFormatInfo info)\r\n at System.Convert.ToDecimal(String value)\r\n at MESApplication.Controllers.QC.XJController.setJYItem(JObject data) in C:\\Users\\Administrator\\Desktop\\TLM\\MESApplication\\Controllers\\QC\\XJController.cs:line 167\r\n at lambda_method60(Closure, Object, Object[])\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncObjectResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2146233033,"Source":"System.Private.CoreLib","WatsonBuckets":null} |
| | | 2025-02-12 15:04:16:182 å¼å¸¸æç¤ºä¿¡æ¯ï¼"The input string '' was not in a correct format." |
| | | ================================================================================================================================== |
| | | 2025-02-12 15:04:47:748 æ¥å£å¼å¸¸ï¼{"ClassName":"System.FormatException","Message":"The input string '' was not in a correct format.","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":" at System.Number.ThrowFormatException[TChar](ReadOnlySpan`1 value)\r\n at System.Number.ParseDecimal[TChar](ReadOnlySpan`1 value, NumberStyles styles, NumberFormatInfo info)\r\n at System.Convert.ToDecimal(String value)\r\n at MESApplication.Controllers.QC.XJController.setJYItem(JObject data) in C:\\Users\\Administrator\\Desktop\\TLM\\MESApplication\\Controllers\\QC\\XJController.cs:line 167\r\n at lambda_method60(Closure, Object, Object[])\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncObjectResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2146233033,"Source":"System.Private.CoreLib","WatsonBuckets":null} |
| | | 2025-02-12 15:04:47:759 å¼å¸¸æç¤ºä¿¡æ¯ï¼"The input string '' was not in a correct format." |
| | | ================================================================================================================================== |
| | | 2025-02-12 15:10:22:915 æ¥å£å¼å¸¸ï¼{"ClassName":"System.FormatException","Message":"The input string '' was not in a correct format.","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":" at System.Number.ThrowFormatException[TChar](ReadOnlySpan`1 value)\r\n at System.Number.ParseDecimal[TChar](ReadOnlySpan`1 value, NumberStyles styles, NumberFormatInfo info)\r\n at System.Convert.ToDecimal(String value)\r\n at MESApplication.Controllers.QC.XJController.setJYItem(JObject data)\r\n at lambda_method60(Closure, Object, Object[])\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncObjectResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2146233033,"Source":"System.Private.CoreLib","WatsonBuckets":null} |
| | | 2025-02-12 15:10:22:933 å¼å¸¸æç¤ºä¿¡æ¯ï¼"The input string '' was not in a correct format." |
| | | ================================================================================================================================== |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 2025-02-12 17:09:46:409 æ¥å£å¼å¸¸ï¼{"ClassName":"System.NullReferenceException","Message":"Object reference not set to an instance of an object.","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":" at MESApplication.Controllers.QC.SJController.SetQSItems(JObject data)\r\n at lambda_method320(Closure, Object, Object[])\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2147467261,"Source":"MESApplication","WatsonBuckets":null} |
| | | 2025-02-12 17:09:46:425 å¼å¸¸æç¤ºä¿¡æ¯ï¼"Object reference not set to an instance of an object." |
| | | ================================================================================================================================== |
| | | 2025-02-12 17:18:16:148 æ¥å£å¼å¸¸ï¼{"ClassName":"System.NullReferenceException","Message":"Object reference not set to an instance of an object.","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":" at MESApplication.Controllers.QC.SJController.SetQSItems(JObject data)\r\n at lambda_method446(Closure, Object, Object[])\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2147467261,"Source":"MESApplication","WatsonBuckets":null} |
| | | 2025-02-12 17:18:16:167 å¼å¸¸æç¤ºä¿¡æ¯ï¼"Object reference not set to an instance of an object." |
| | | ================================================================================================================================== |
| | | 2025-02-12 17:22:05:925 æ¥å£å¼å¸¸ï¼{"ClassName":"System.FormatException","Message":"The input string '' was not in a correct format.","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":" at System.Number.ThrowFormatException[TChar](ReadOnlySpan`1 value)\r\n at System.Number.ParseDecimal[TChar](ReadOnlySpan`1 value, NumberStyles styles, NumberFormatInfo info)\r\n at System.Convert.ToDecimal(String value)\r\n at MESApplication.Controllers.QC.XJController.setJYItem(JObject data) in C:\\Users\\Administrator\\Desktop\\TLM\\MESApplication\\Controllers\\QC\\XJController.cs:line 168\r\n at lambda_method258(Closure, Object, Object[])\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncObjectResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2146233033,"Source":"System.Private.CoreLib","WatsonBuckets":null} |
| | | 2025-02-12 17:22:05:941 å¼å¸¸æç¤ºä¿¡æ¯ï¼"The input string '' was not in a correct format." |
| | | ================================================================================================================================== |