From 26fadad29b5de7846ebf5ec043f39a7d5e0448bb Mon Sep 17 00:00:00 2001 From: zjh <2207896513@qq.com> Date: 星期二, 13 五月 2025 13:53:02 +0800 Subject: [PATCH] 查询来料检验单所有不良描述信息接口上传 --- StandardPda/MES.Service/service/QC/LljService.cs | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/StandardPda/MES.Service/service/QC/LljService.cs b/StandardPda/MES.Service/service/QC/LljService.cs index 2659e0b..888e9b9 100644 --- a/StandardPda/MES.Service/service/QC/LljService.cs +++ b/StandardPda/MES.Service/service/QC/LljService.cs @@ -762,6 +762,25 @@ } return Components; } + + public DataTable getBlmsItem() + { + OracleSQLHelper SQLHelper = new(); + //鏌ヤ笉鑹弿杩� + var sql1 = string.Format(@"select DEFECT_NAME + from MES_DEFECT_CODE A + left join MES_DEFECT_TYPE X ON X.TYPE_NO = A.DEFECT_SORT AND X.COMPANY = A.COMPANY AND X.FACTORY = A.FACTORY"); + + return SQLHelper.ExecuteQuery(sql1); + } + public DataTable getBlmsItem(string id) + { + OracleSQLHelper SQLHelper = new(); + //鏌ヤ笉鑹弿杩� + var sql1 = string.Format(@"select FCHECK_ITEM,FUNIT from mes_qa_items_detect_detail5 f where RELEASE_NO='"+id+"' and FUNIT is not null order by FCHECK_ITEM"); + + return SQLHelper.ExecuteQuery(sql1); + } public void saveYzxBDlist(string id,DataTable DB) { OracleSQLHelper SQLHelper = new(); -- Gitblit v1.9.3