From 27f533aa7eb5feeb8908a5bedca4ee29da31abd2 Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期六, 14 九月 2024 16:02:39 +0800
Subject: [PATCH] 计时工资功能

---
 VueWebCoreApi/Controllers/ReportManagerController.cs |   30 ++++++++++++++++++------------
 1 files changed, 18 insertions(+), 12 deletions(-)

diff --git a/VueWebCoreApi/Controllers/ReportManagerController.cs b/VueWebCoreApi/Controllers/ReportManagerController.cs
index 4b21f63..e766bb4 100644
--- a/VueWebCoreApi/Controllers/ReportManagerController.cs
+++ b/VueWebCoreApi/Controllers/ReportManagerController.cs
@@ -25,6 +25,7 @@
         /// </summary>
         /// <param name="status">宸ュ崟鐘舵��</param>
         /// <param name="wkshopcode">杞﹂棿缂栧彿</param >
+        /// <param name="socode">閿�鍞崟鍙�</param>
         /// <param name="wocode">宸ュ崟缂栧彿</param>
         /// <param name="partcode">浜у搧缂栫爜</param>
         /// <param name="partname">浜у搧鍚嶇О</param>
@@ -37,7 +38,7 @@
         /// <returns></returns>
         [Route(template: "ProductionScheduleReportSearch")]
         [HttpGet]
-        public JsonResult ProductionScheduleReportSearch(int page, int rows, string prop, string order, string status = null, string wocode = null,string wkshopcode=null, string partcode = null, string partname = null, string partspec = null, string lm_date = null)
+        public JsonResult ProductionScheduleReportSearch(int page, int rows, string prop, string order, string status = null,string socode=null, string wocode = null,string wkshopcode=null, string partcode = null, string partname = null, string partspec = null, string lm_date = null)
         {
             string opendate = "";     //寮�濮嬫椂闂�
             string closedate = "";    //缁撴潫鏃堕棿
@@ -48,7 +49,7 @@
             }
             int startNum = rows * (page - 1) + 1;  //璧峰璁板綍rowNum
             int endNum = rows * page;   //缁撴潫璁板綍 rowNum
-            mes = ReportManagerBLL.ProductionScheduleReportSearch(status, wkshopcode, wocode,partcode, partname, partspec, opendate, closedate, startNum, endNum, prop, order);
+            mes = ReportManagerBLL.ProductionScheduleReportSearch(status, wkshopcode, socode, wocode,partcode, partname, partspec, opendate, closedate, startNum, endNum, prop, order);
             return Json(mes);
         }
         #endregion
@@ -59,6 +60,7 @@
         /// </summary>
         /// <param name="status">宸ュ崟鐘舵��</param>
         /// <param name="wkshopcode">杞﹂棿缂栧彿</param >
+        /// <param name="socode">閿�鍞崟鍙�</param>
         /// <param name="wocode">宸ュ崟缂栧彿</param>
         /// <param name="partcode">浜у搧缂栫爜</param>
         /// <param name="partname">浜у搧鍚嶇О</param>
@@ -67,7 +69,7 @@
         /// <returns></returns>
         [Route(template: "ProductionScheduleReportExcelSearch")]
         [HttpGet]
-        public JsonResult ProductionScheduleReportExcelSearch(string status = null, string wkshopcode = null, string wocode = null,string partcode = null, string partname = null, string partspec = null, string lm_date = null)
+        public JsonResult ProductionScheduleReportExcelSearch(string status = null, string wkshopcode = null, string socode = null, string wocode = null,string partcode = null, string partname = null, string partspec = null, string lm_date = null)
         {
             string opendate = "";     //寮�濮嬫椂闂�
             string closedate = "";    //缁撴潫鏃堕棿
@@ -76,7 +78,7 @@
                 opendate = lm_date.Split('~')[0].ToString();
                 closedate = lm_date.Split('~')[1].ToString();
             }
-            mes = ReportManagerBLL.ProductionScheduleReportExcelSearch(status, wkshopcode,wocode, partcode, partname, partspec, opendate, closedate);
+            mes = ReportManagerBLL.ProductionScheduleReportExcelSearch(status, wkshopcode, socode,wocode, partcode, partname, partspec, opendate, closedate);
             return Json(mes);
         }
         #endregion
@@ -88,6 +90,7 @@
         /// </summary>
         /// <param name="compute">璁$畻鏂瑰紡(閫愰亾/鏈亾)</param>
         /// <param name="wkshopcode">杞﹂棿缂栧彿</param >
+        /// <param name="socode">閿�鍞崟鍙�</param>
         /// <param name="wocode">宸ュ崟缂栧彿</param>
         /// <param name="partcode">浜у搧缂栫爜</param>
         /// <param name="partname">浜у搧鍚嶇О</param>
@@ -103,7 +106,7 @@
         /// <returns></returns>
         [Route(template: "GroupSalaryReportSearch")]
         [HttpGet]
-        public JsonResult GroupSalaryReportSearch(int page, int rows, string prop, string order, string compute,string wkshopcode=null, string wocode = null, string partcode = null, string partname = null, string partspec = null, string stepname = null, string groupcode = null, string username = null, string operdate = null)
+        public JsonResult GroupSalaryReportSearch(int page, int rows, string prop, string order, string compute,string wkshopcode=null,string socode=null, string wocode = null, string partcode = null, string partname = null, string partspec = null, string stepname = null, string groupcode = null, string username = null, string operdate = null)
         {
             string operopendate = "";  //鎶ュ伐寮�濮嬫椂闂�
             string operclosedate = "";    //鎶ュ伐缁撴潫鏃堕棿
@@ -114,7 +117,7 @@
             }
             int startNum = rows * (page - 1) + 1;  //璧峰璁板綍rowNum
             int endNum = rows * page;   //缁撴潫璁板綍 rowNum
-            mes = ReportManagerBLL.GroupSalaryReportSearch(compute, wkshopcode, wocode, partcode, partname, partspec, stepname, groupcode, username, operopendate, operclosedate, startNum, endNum, prop, order);
+            mes = ReportManagerBLL.GroupSalaryReportSearch(compute, wkshopcode, socode, wocode, partcode, partname, partspec, stepname, groupcode, username, operopendate, operclosedate, startNum, endNum, prop, order);
             return Json(mes);
         }
         #endregion
@@ -139,6 +142,7 @@
         /// 鐝粍宸ヨ祫鎶ヨ〃璁板綍鏌ヨ
         /// </summary>
         /// <param name="compute">璁$畻鏂瑰紡(閫愰亾/鏈亾)</param>
+        /// <param name="socode">閿�鍞崟鍙�</param>
         /// <param name="wkshopcode">杞﹂棿缂栧彿</param >
         /// <param name="wocode">宸ュ崟缂栧彿</param>
         /// <param name="partcode">浜у搧缂栫爜</param>
@@ -151,7 +155,7 @@
         /// <returns></returns>
         [Route(template: "GroupSalaryReportExcelSearch")]
         [HttpGet]
-        public JsonResult GroupSalaryReportExcelSearch(string compute,string wkshopcode=null, string wocode = null, string partcode = null, string partname = null, string partspec = null, string stepname = null, string groupcode = null, string username = null, string operdate = null)
+        public JsonResult GroupSalaryReportExcelSearch(string compute,string wkshopcode=null, string socode = null, string wocode = null, string partcode = null, string partname = null, string partspec = null, string stepname = null, string groupcode = null, string username = null, string operdate = null)
         {
             string operopendate = "";  //鎶ュ伐寮�濮嬫椂闂�
             string operclosedate = "";    //鎶ュ伐缁撴潫鏃堕棿
@@ -160,7 +164,7 @@
                 operopendate = operdate.Split('~')[0].ToString();
                 operclosedate = operdate.Split('~')[1].ToString();
             }
-            mes = ReportManagerBLL.GroupSalaryReportExcelSearch(compute,wkshopcode, wocode, partcode, partname, partspec, stepname, groupcode, username, operopendate, operclosedate);
+            mes = ReportManagerBLL.GroupSalaryReportExcelSearch(compute,wkshopcode, socode, wocode, partcode, partname, partspec, stepname, groupcode, username, operopendate, operclosedate);
             return Json(mes);
         }
         #endregion
@@ -172,6 +176,7 @@
         /// </summary>
         /// <param name="compute">璁$畻鏂瑰紡(閫愰亾/鏈亾)</param>
         /// <param name="wkshopcode">杞﹂棿缂栧彿</param >
+        /// <param name="socode">閿�鍞崟鍙�</param>
         /// <param name="wocode">宸ュ崟缂栧彿</param>
         /// <param name="partcode">浜у搧缂栫爜</param>
         /// <param name="partname">浜у搧鍚嶇О</param>
@@ -187,7 +192,7 @@
         /// <returns></returns>
         [Route(template: "PeopleSalaryReportSearch")]
         [HttpGet]
-        public JsonResult PeopleSalaryReportSearch(int page, int rows, string prop, string order, string compute,string wkshopcode=null, string wocode = null, string partcode = null, string partname = null, string partspec = null,string stepcode=null, string stepname = null, string reportname = null, string reportdate = null)
+        public JsonResult PeopleSalaryReportSearch(int page, int rows, string prop, string order, string compute,string wkshopcode=null,string socode=null, string wocode = null, string partcode = null, string partname = null, string partspec = null,string stepcode=null, string stepname = null, string reportname = null, string reportdate = null)
         {
             string reportopendate = "";  //鎶ュ伐寮�濮嬫椂闂�
             string reportclosedate = "";    //鎶ュ伐缁撴潫鏃堕棿
@@ -198,7 +203,7 @@
             }
             int startNum = rows * (page - 1) + 1;  //璧峰璁板綍rowNum
             int endNum = rows * page;   //缁撴潫璁板綍 rowNum
-            mes = ReportManagerBLL.PeopleSalaryReportSearch(compute, wkshopcode, wocode, partcode, partname, partspec, stepcode, stepname, reportname, reportopendate, reportclosedate, startNum, endNum, prop, order);
+            mes = ReportManagerBLL.PeopleSalaryReportSearch(compute, wkshopcode, socode, wocode, partcode, partname, partspec, stepcode, stepname, reportname, reportopendate, reportclosedate, startNum, endNum, prop, order);
             return Json(mes);
         }
         #endregion
@@ -209,6 +214,7 @@
         /// </summary>
         /// <param name="compute">璁$畻鏂瑰紡(閫愰亾/鏈亾)</param>
         /// <param name="wkshopcode">杞﹂棿缂栧彿</param >
+        /// <param name="socode">閿�鍞崟鍙�</param>
         /// <param name="wocode">宸ュ崟缂栧彿</param>
         /// <param name="partcode">浜у搧缂栫爜</param>
         /// <param name="partname">浜у搧鍚嶇О</param>
@@ -220,7 +226,7 @@
         /// <returns></returns>
         [Route(template: "PeopleSalaryReportExcelSearch")]
         [HttpGet]
-        public JsonResult PeopleSalaryReportExcelSearch(string compute,string wkshopcode=null, string wocode = null, string partcode = null, string partname = null, string partspec = null,string stepcode=null, string stepname = null, string reportname = null, string reportdate = null)
+        public JsonResult PeopleSalaryReportExcelSearch(string compute,string wkshopcode=null,string socode=null, string wocode = null, string partcode = null, string partname = null, string partspec = null,string stepcode=null, string stepname = null, string reportname = null, string reportdate = null)
         {
             string reportopendate = "";  //鎶ュ伐寮�濮嬫椂闂�
             string reportclosedate = "";    //鎶ュ伐缁撴潫鏃堕棿
@@ -229,7 +235,7 @@
                 reportopendate = reportdate.Split('~')[0].ToString();
                 reportclosedate = reportdate.Split('~')[1].ToString();
             }
-            mes = ReportManagerBLL.PeopleSalaryReportExcelSearch(compute, wkshopcode, wocode, partcode, partname, partspec,stepcode,stepname, reportname, reportopendate, reportclosedate);
+            mes = ReportManagerBLL.PeopleSalaryReportExcelSearch(compute, wkshopcode, socode, wocode, partcode, partname, partspec,stepcode,stepname, reportname, reportopendate, reportclosedate);
             return Json(mes);
         }
         #endregion

--
Gitblit v1.9.3