From 8f51139ddb33b5ebc796577621302ebf7babdd49 Mon Sep 17 00:00:00 2001 From: duhe <226547893@qq.com> Date: 星期四, 03 四月 2025 14:30:14 +0800 Subject: [PATCH] 生产工单排产:Excel,导入时,查询是否已经存在时,增加对是否作废的过滤 --- WebAPI/Controllers/SCGL/日计划管理/JIT_DayPlanPlatFormImportController.cs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git "a/WebAPI/Controllers/SCGL/\346\227\245\350\256\241\345\210\222\347\256\241\347\220\206/JIT_DayPlanPlatFormImportController.cs" "b/WebAPI/Controllers/SCGL/\346\227\245\350\256\241\345\210\222\347\256\241\347\220\206/JIT_DayPlanPlatFormImportController.cs" index c3e0626..2faacf3 100644 --- "a/WebAPI/Controllers/SCGL/\346\227\245\350\256\241\345\210\222\347\256\241\347\220\206/JIT_DayPlanPlatFormImportController.cs" +++ "b/WebAPI/Controllers/SCGL/\346\227\245\350\256\241\345\210\222\347\256\241\347\220\206/JIT_DayPlanPlatFormImportController.cs" @@ -367,7 +367,7 @@ var HSeOrderBillNo = list[i]["HSeOrderBillNo"].ToString(); string sql = $"select * from Sc_WorkBillSortBillMain where HMainSourceInterID={HMainSourceInterID}" + - $" and HMainSourceEntryID={HMainSourceEntryID} and HICMOBillNo='{HICMOBillNo}' and HICMOEntrySEQ={HICMOEntrySEQ} and HSourceID={HSourceID}"; + $" and HMainSourceEntryID={HMainSourceEntryID} and HICMOBillNo='{HICMOBillNo}' and HICMOEntrySEQ={HICMOEntrySEQ} and HSourceID={HSourceID} and ISNULL(HDeleteMan,'') = ''"; LogService.Write("sql:" + sql); ds = oCN.RunProcReturn(sql, "Sc_WorkBillSortBillMain"); if (ds.Tables[0].Rows.Count > 0) -- Gitblit v1.9.1