diff --git a/余坯替代——宽板/SlabWidThkHandle/SlabHandle/SlabWidThkService - 复制.cs b/余坯替代——宽板/SlabWidThkHandle/SlabHandle/SlabWidThkService - 复制.cs index 6aaf790..0622618 100644 --- a/余坯替代——宽板/SlabWidThkHandle/SlabHandle/SlabWidThkService - 复制.cs +++ b/余坯替代——宽板/SlabWidThkHandle/SlabHandle/SlabWidThkService - 复制.cs @@ -30,9 +30,10 @@ namespace SlabHandle public class SlabWidThkService_test { private static readonly ILog logger = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); - private static string slab = " AND SLAB_NO in ('2430657804') "; - private static string boi = " boi.ORD_NO || '-' || boi.ORD_ITEM in ('OM824070105-030','OM824070105-035')"; - private static string lack_num = ",'4'AS SUB_LACK_NUM,'4'AS LACK_NUM"; + private static string slab = " AND SLAB_NO in ('2420957304') "; + private static string boi = " boi.ORD_NO || '-' || boi.ORD_ITEM in ('OM424110002-007')"; + + private static string lack_num = ",'1'AS SUB_LACK_NUM,'1'AS LACK_NUM"; private static string wgt_max = ",'200' AS WGT_MAX "; private static string wgt_min = ",'150' AS WGT_MIN "; #region 获取数据 diff --git a/余坯替代——宽板/SlabWidThkHandle/SlabHandle/SlabWidThkService.cs b/余坯替代——宽板/SlabWidThkHandle/SlabHandle/SlabWidThkService.cs index bbf5497..b8ba6e6 100644 --- a/余坯替代——宽板/SlabWidThkHandle/SlabHandle/SlabWidThkService.cs +++ b/余坯替代——宽板/SlabWidThkHandle/SlabHandle/SlabWidThkService.cs @@ -366,7 +366,7 @@ namespace SlabHandle strSql.AppendLine(" AND boi.PROD_CD = 'PP' "); strSql.AppendLine("AND boi.REC_STS = '2' "); strSql.AppendLine("and boi.ORD_STS IN('E','D') "); - strSql.AppendLine(" AND (boi.ord_knd ='A' OR (boi.ord_knd ='T' AND ((SELECT COUNT(*) FROM NISCO.BP_ODER_XY BOXY WHERE BOXY.ORDER_NO=BOI.ORD_NO AND BOXY.ORDER_ITEM=BOI.ORD_ITEM )>0) or boi.ord_no in('OMH23040079','OMH23040083') or boi.ord_no like 'OM6%' )) "); + strSql.AppendLine(" AND (boi.ord_knd ='A' OR (boi.ord_knd ='T' AND ((SELECT COUNT(*) FROM NISCO.BP_ODER_XY BOXY WHERE BOXY.ORDER_NO=BOI.ORD_NO AND BOXY.ORDER_ITEM=BOI.ORD_ITEM )>0) or boi.ord_no in('OMH23040079','OMH23040083') or (boi.ord_no like 'OM6%' AND boi.ord_knd ='T') )) "); strSql.AppendLine("AND boi.CFM_MILL_PLT='C2'"); strSql.AppendLine("AND (boi.CUST_DEL_TO_DATE>= to_char(sysdate-183,'YYYYMMDD') OR BOI.ORD_NO LIKE 'OMA%' )"); strSql.AppendLine("AND boi.STDSPEC NOT LIKE '%-KP'"); diff --git a/余坯替代——宽板/SlabWidThkHandle/SlabHandle/bin/Debug/SlabHandle.exe b/余坯替代——宽板/SlabWidThkHandle/SlabHandle/bin/Debug/SlabHandle.exe index ef5d0be..20ff29c 100644 Binary files a/余坯替代——宽板/SlabWidThkHandle/SlabHandle/bin/Debug/SlabHandle.exe and b/余坯替代——宽板/SlabWidThkHandle/SlabHandle/bin/Debug/SlabHandle.exe differ diff --git a/余坯替代——宽板/SlabWidThkHandle/SlabHandle/bin/Debug/SlabHandle.pdb b/余坯替代——宽板/SlabWidThkHandle/SlabHandle/bin/Debug/SlabHandle.pdb index 6b48a59..5c858bd 100644 Binary files a/余坯替代——宽板/SlabWidThkHandle/SlabHandle/bin/Debug/SlabHandle.pdb and b/余坯替代——宽板/SlabWidThkHandle/SlabHandle/bin/Debug/SlabHandle.pdb differ diff --git a/余坯替代——宽板/SlabWidThkHandle/SlabHandle/obj/Debug/SlabHandle.exe b/余坯替代——宽板/SlabWidThkHandle/SlabHandle/obj/Debug/SlabHandle.exe index ef5d0be..20ff29c 100644 Binary files a/余坯替代——宽板/SlabWidThkHandle/SlabHandle/obj/Debug/SlabHandle.exe and b/余坯替代——宽板/SlabWidThkHandle/SlabHandle/obj/Debug/SlabHandle.exe differ diff --git a/余坯替代——宽板/SlabWidThkHandle/SlabHandle/obj/Debug/SlabHandle.pdb b/余坯替代——宽板/SlabWidThkHandle/SlabHandle/obj/Debug/SlabHandle.pdb index 6b48a59..5c858bd 100644 Binary files a/余坯替代——宽板/SlabWidThkHandle/SlabHandle/obj/Debug/SlabHandle.pdb and b/余坯替代——宽板/SlabWidThkHandle/SlabHandle/obj/Debug/SlabHandle.pdb differ