From f34f0751ef0c6305c94ff342ca7fbe24aa09844e Mon Sep 17 00:00:00 2001
From: tjx <t2856754968@163.com>
Date: 星期四, 18 十二月 2025 14:48:31 +0800
Subject: [PATCH] 111
---
StandardPda/MESApplication/Controllers/QC/LljController.cs | 38 ++++++++++++++++++++++++++++++++------
1 files changed, 32 insertions(+), 6 deletions(-)
diff --git a/StandardPda/MESApplication/Controllers/QC/LljController.cs b/StandardPda/MESApplication/Controllers/QC/LljController.cs
index 137bb16..e900dd4 100644
--- a/StandardPda/MESApplication/Controllers/QC/LljController.cs
+++ b/StandardPda/MESApplication/Controllers/QC/LljController.cs
@@ -1,12 +1,12 @@
-锘縰sing MES.Service.Dto.service;
+锘縰sing System.Data;
+using System.Dynamic;
+using MES.Service.Dto.service;
using MES.Service.Modes;
using MES.Service.service.QC;
using MES.Service.util;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
-using System.Data;
-using System.Dynamic;
namespace MESApplication.Controllers.QC;
@@ -36,7 +36,7 @@
return ResponseResult.ResponseError(ex);
}
}
-
+
/// <summary>
/// 鑾峰彇涓嶈壇鎻忚堪淇℃伅
/// </summary>
@@ -448,6 +448,7 @@
return ResponseResult.ResponseError(ex);
}
}
+
/// <summary>
/// 鑾峰彇涓�鑷存�ф牳瀵归」鐩�
/// </summary>
@@ -488,14 +489,12 @@
try
{
if (!dt.Columns.Contains("id"))
- {
return new ResponseResult
{
status = 1,
message = "璇峰厛閫夋嫨鏁版嵁鍐嶄繚瀛橈紒",
data = "璇峰厛閫夋嫨鏁版嵁鍐嶄繚瀛橈紒"
};
- }
new LljService().saveYzxBDlist(id, dt);
var msg = new LljService().YzxImgVerify(id);
@@ -511,4 +510,31 @@
return ResponseResult.ResponseError(ex);
}
}
+
+ /// <summary>
+ /// 鑾峰彇妫�楠屽崟鎵�鏈変笉鑹弿杩�
+ /// </summary>
+ /// <param name="data"></param>
+ /// <returns></returns>
+ [HttpPost("getJYBlmsItem")]
+ public ResponseResult getJYBlmsItem([FromBody] JObject data)
+ {
+ var id = data["id"]?.ToString();
+
+ try
+ {
+ var tbBillList = new LljService().getBlmsItem(id);
+
+ return new ResponseResult
+ {
+ status = 0,
+ message = "OK",
+ data = tbBillList
+ };
+ }
+ catch (Exception ex)
+ {
+ return ResponseResult.ResponseError(ex);
+ }
+ }
}
\ No newline at end of file
--
Gitblit v1.9.3