From 308263701da4760b517c116ffef4f9b1ca842261 Mon Sep 17 00:00:00 2001 From: yangle <admin@YINMOU> Date: 星期一, 17 七月 2023 10:54:27 +0800 Subject: [PATCH] 瑞琪的,报废的生成入库单的时候把传的值 之前是=KCZT08_SYS 现在改成=KCZT001 乔一入库报表,生产报表 过滤条件 按照排产日期查询,加一个自定义条件 --- WebAPI/Controllers/CJGL/ProductionPlanReportController.cs | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/WebAPI/Controllers/CJGL/ProductionPlanReportController.cs b/WebAPI/Controllers/CJGL/ProductionPlanReportController.cs index 81dd391..49fccb7 100644 --- a/WebAPI/Controllers/CJGL/ProductionPlanReportController.cs +++ b/WebAPI/Controllers/CJGL/ProductionPlanReportController.cs @@ -27,8 +27,13 @@ public DateTime HEndDate; public string HICMOBillNo; public string HWorkShopID; - public string HSeOrderBillNo; + public string F_BSV_WYID; + public string HBillNo; public string HMaterNumber; + public int IsTrue; + public int HState; + public int HSTATUS; + public string sWhere1; } [Route("ProductionPlanReport/ProductionPlanReportList")] [HttpGet] @@ -40,7 +45,7 @@ ProductionPlanReport com = JsonConvert.DeserializeObject<ProductionPlanReport>(sWhere.ToString()); ds = oCN.RunProcReturn($"exec h_p_Cj_ProductionPlanReportList {com.HOrgID},'{com.HBeginDate}','{com.HEndDate}'" + - $",'{com.HICMOBillNo}',{com.HWorkShopID},'{com.HSeOrderBillNo}','{com.HMaterNumber}'", "h_p_Cj_ProductionPlanReportList"); + $",'{com.HICMOBillNo}',{com.HWorkShopID},'{com.F_BSV_WYID}','{com.HMaterNumber}','{com.HBillNo}',{com.IsTrue},'{com.HState}','{com.HSTATUS}','{com.sWhere1}'", "h_p_Cj_ProductionPlanReportList"); objJsonResult.code = "1"; objJsonResult.count = 1; -- Gitblit v1.9.1