From ef839d119eec2c28fac5f5ba175d71f926afae44 Mon Sep 17 00:00:00 2001 From: kazelee <1847801760@qq.com> Date: 星期二, 20 五月 2025 11:49:22 +0800 Subject: [PATCH] 修复数据库表字段不匹配、读取重量错误处理等逻辑 --- Controllers/DebugController.cs | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Controllers/DebugController.cs b/Controllers/DebugController.cs index d4ef008..8d56d64 100644 --- a/Controllers/DebugController.cs +++ b/Controllers/DebugController.cs @@ -19,6 +19,7 @@ using HH.WCS.Mobox3.AnGang.Debug; using static HH.WCS.Mobox3.AnGang.Dtos.Request.DebugRequest; using static HH.WCS.Mobox3.AnGang.Dtos.Response.DebugResponse; +using static HH.WCS.Mobox3.AnGang.Models.DebugModel; namespace HH.WCS.Mobox3.AnGang.Controllers { @@ -55,8 +56,8 @@ /// <returns></returns> [HttpPost] [Route("InsertLocCntrCg")] - public string InsertLocCntrCg() { - return DebugService.InsertLocCntrCg(); + public string InsertLocCntrCg(LocCntrCg model) { + return DebugService.InsertLocCntrCg(model); } [HttpPost] -- Gitblit v1.9.1