From 8e6b791ea1981d9e4386b99dcbe70a96bfd21ae2 Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期二, 10 九月 2024 10:40:44 +0800
Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-API
---
WebAPI/Controllers/生产管理/质量汇报单/Sc_QualityReportBillController.cs | 17 +++++++++++------
1 files changed, 11 insertions(+), 6 deletions(-)
diff --git "a/WebAPI/Controllers/\347\224\237\344\272\247\347\256\241\347\220\206/\350\264\250\351\207\217\346\261\207\346\212\245\345\215\225/Sc_QualityReportBillController.cs" "b/WebAPI/Controllers/\347\224\237\344\272\247\347\256\241\347\220\206/\350\264\250\351\207\217\346\261\207\346\212\245\345\215\225/Sc_QualityReportBillController.cs"
index 6e2b281..dc96ce4 100644
--- "a/WebAPI/Controllers/\347\224\237\344\272\247\347\256\241\347\220\206/\350\264\250\351\207\217\346\261\207\346\212\245\345\215\225/Sc_QualityReportBillController.cs"
+++ "b/WebAPI/Controllers/\347\224\237\344\272\247\347\256\241\347\220\206/\350\264\250\351\207\217\346\261\207\346\212\245\345\215\225/Sc_QualityReportBillController.cs"
@@ -1726,6 +1726,9 @@
public string HName;
public DateTime HBeginDate;
public DateTime HEndDate;
+ public string HProcName;
+ public string HEquipName;
+ public string HBactNo;
}
[Route("Sc_QualityReportBill/getSc_QualityReportBillDay")]
[HttpGet]
@@ -1744,7 +1747,7 @@
return objJsonResult;
}
ReportWorkDemandPlanBill Report = JsonConvert.DeserializeObject<ReportWorkDemandPlanBill>(sWhere);
- ds = oCN.RunProcReturn($"exec h_p_Sc_StationOutBillMain '{Report.HBeginDate}','{Report.HEndDate}','{Report.HNumber}','{Report.HName}'", "h_p_Sc_StationOutBillMain");
+ ds = oCN.RunProcReturn($"exec h_p_Sc_StationOutBillMain '{Report.HBeginDate}','{Report.HEndDate}','{Report.HNumber}','{Report.HName}','{Report.HProcName}','{Report.HEquipName}','{Report.HBactNo}'", "h_p_Sc_StationOutBillMain");
//娣诲姞鍒楀悕
foreach (DataColumn col in ds.Tables[0].Columns)
@@ -1778,6 +1781,8 @@
public string HYear;
public string HWorkCenter;
public string HName;
+ public DateTime HBeginDate;
+ public DateTime HEndDate;
}
[Route("Sc_QualityReportBill/getSc_QualityReportBillMonth")]
@@ -1797,7 +1802,7 @@
return objJsonResult;
}
ReportWorkDemandPlanBill1 Report = JsonConvert.DeserializeObject<ReportWorkDemandPlanBill1>(sWhere);
- ds = oCN.RunProcReturn($"exec h_p_Sc_StationOutBillMonth '{Report.HYear}','{Report.HWorkCenter}','{Report.HName}'", "h_p_Sc_StationOutBillMonth");
+ ds = oCN.RunProcReturn($"exec h_p_Sc_StationOutBillMonth '{Report.HYear}','{Report.HWorkCenter}','{Report.HName}', '{Report.HBeginDate}','{Report.HEndDate}'", "h_p_Sc_StationOutBillMonth");
//娣诲姞鍒楀悕
foreach (DataColumn col in ds.Tables[0].Columns)
@@ -1827,9 +1832,9 @@
#region 鐗╂枡鐢熶骇鑹巼缁熻(鏂帿灏�) 鏌ヨ
- [Route("Sc_QualityReportBill/getSc_HMater_Yield_Statistics")]
+ [Route("Sc_QualityReportBill/getSc_HMaterYieldStatistics")]
[HttpGet]
- public object getSc_HMater_Yield_Statistics(string sWhere, string user)
+ public object getSc_HMaterYieldStatistics(string sWhere, string user)
{
try
{
@@ -1883,9 +1888,9 @@
#region 浠诲姟鍗曢�氳繃鐜�(鏂帿灏�) 鏌ヨ
- [Route("Sc_QualityReportBill/getSc_HICMMater_Statistics")]
+ [Route("Sc_QualityReportBill/getSc_HICMMaterStatistics")]
[HttpGet]
- public object getSc_HICMMater_Statistics(string sWhere, string user)
+ public object getSc_HICMMaterStatistics(string sWhere, string user)
{
try
{
--
Gitblit v1.9.1