From 7c78ddfc867ac8cf06cc911bb59977d9381deb12 Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期五, 26 七月 2024 14:20:39 +0800
Subject: [PATCH] 车间看板新增车间参数
---
VueWebCoreApi/Controllers/KanBanManagerentController.cs | 127 ++++++++++++++++++++++++++++++++++++++----
1 files changed, 115 insertions(+), 12 deletions(-)
diff --git a/VueWebCoreApi/Controllers/KanBanManagerentController.cs b/VueWebCoreApi/Controllers/KanBanManagerentController.cs
index 942d390..451429a 100644
--- a/VueWebCoreApi/Controllers/KanBanManagerentController.cs
+++ b/VueWebCoreApi/Controllers/KanBanManagerentController.cs
@@ -2,6 +2,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
+using System.Net.Http;
using System.Threading.Tasks;
using VueWebCoreApi.DLL.BLL;
using VueWebCoreApi.Tools;
@@ -17,9 +18,96 @@
ToMessage mes = new ToMessage();
RedisCommon redis = new RedisCommon();
- #region[杞﹂棿鐪嬫澘,涓婄敓浜т俊鎭痌
+ #region[鍦f玻浠撳簱鐪嬫澘宸︿笂,閲囪喘寰呭叆搴揮
/// <summary>
- /// 杞﹂棿鐪嬫澘,涓婄敓浜т俊鎭�
+ /// 鍦f玻浠撳簱鐪嬫澘宸︿笂,閲囪喘寰呭叆搴�
+ /// </summary>
+ /// <returns></returns>
+ [Route(template: "ProcureOutsourcLeftTop")]
+ [HttpGet]
+ public JsonResult ProcureOutsourcLeftTop()
+ {
+ mes = KanBanManagerentBLL.ProcureOutsourcLeftTop();
+ return Json(mes);
+ }
+ #endregion
+
+ #region[鍦f玻浠撳簱鐪嬫澘宸︿笅,閿�鍞緟鍙戣揣]
+ /// <summary>
+ /// 鍦f玻浠撳簱鐪嬫澘宸︿笅,閿�鍞緟鍙戣揣
+ /// </summary>
+ /// <returns></returns>
+ [Route(template: "ProductConsignmentLeftBottom")]
+ [HttpGet]
+ public JsonResult ProductConsignmentLeftBottom()
+ {
+ mes = KanBanManagerentBLL.ProductConsignmentLeftBottom();
+ return Json(mes);
+ }
+ #endregion
+
+ #region[鍦f玻浠撳簱鐪嬫澘鍙充笂,杩戜竴鍛ㄩ噰璐緟鍏ュ簱鐗╂枡鎺掕TOP5]
+ /// <summary>
+ /// 鍦f玻浠撳簱鐪嬫澘鍙充笂,杩戜竴鍛ㄩ噰璐緟鍏ュ簱鐗╂枡鎺掕TOP5
+ /// </summary>
+ /// <returns></returns>
+ [Route(template: "ProcureOutsourcRightTop")]
+ [HttpGet]
+ public JsonResult ProcureOutsourcRightTop()
+ {
+ mes = KanBanManagerentBLL.ProcureOutsourcRightTop();
+ return Json(mes);
+ }
+ #endregion
+
+ #region[鍦f玻浠撳簱鐪嬫澘鍙充笅,杩戜竴鍛ㄩ攢鍞緟鍙戣揣浜у搧鎺掕TOP5]
+ /// <summary>
+ /// 鍦f玻浠撳簱鐪嬫澘鍙充笅,杩戜竴鍛ㄩ攢鍞緟鍙戣揣浜у搧鎺掕TOP5
+ /// </summary>
+ /// <returns></returns>
+ [Route(template: "ProductionStockedInRightBottom")]
+ [HttpGet]
+ public JsonResult ProductionStockedInRightBottom()
+ {
+ mes = KanBanManagerentBLL.ProductionStockedInRightBottom();
+ return Json(mes);
+ }
+ #endregion
+
+
+
+ #region[鍦f玻鐢熶骇鐪嬫澘宸︿笂,鐢熶骇寰呭叆搴揮
+ /// <summary>
+ /// 鍦f玻鐢熶骇鐪嬫澘宸︿笂,鐢熶骇寰呭叆搴�
+ /// </summary>
+ /// <returns></returns>
+ [Route(template: "ProductionStockedInLeftTop")]
+ [HttpGet]
+ public JsonResult ProductionStockedInLeftTop()
+ {
+ mes = KanBanManagerentBLL.ProductionStockedInLeftTop();
+ return Json(mes);
+ }
+ #endregion
+
+ #region[鍦f玻鐢熶骇鐪嬫澘鍙充笂,杩戜竴鍛ㄧ敓浜у緟鍏ュ簱浜у搧鎺掕TOP10]
+ /// <summary>
+ /// 鍦f玻鐢熶骇鐪嬫澘鍙充笂,杩戜竴鍛ㄧ敓浜у緟鍏ュ簱浜у搧鎺掕TOP10
+ /// </summary>
+ /// <returns></returns>
+ [Route(template: "ProductionStockedInRightTop")]
+ [HttpGet]
+ public JsonResult ProductionStockedInRightTop()
+ {
+ mes = KanBanManagerentBLL.ProductionStockedInRightTop();
+ return Json(mes);
+ }
+ #endregion
+
+
+ #region[鍦f玻杞﹂棿鐪嬫澘,涓婄敓浜т俊鎭痌
+ /// <summary>
+ /// 鍦f玻杞﹂棿鐪嬫澘,涓婄敓浜т俊鎭�
/// </summary>
/// <param name="wkshopcode">杞﹂棿缂栫爜</param>
/// <returns></returns>
@@ -32,9 +120,9 @@
}
#endregion
- #region[杞﹂棿鐪嬫澘,涓嬪乏杩戜竴鍛ㄤ笉鑹秼鍔縘
+ #region[鍦f玻杞﹂棿鐪嬫澘,涓嬪乏杩戜竴鍛ㄤ笉鑹秼鍔縘
/// <summary>
- /// 杞﹂棿鐪嬫澘,涓嬪乏杩戜竴鍛ㄤ笉鑹秼鍔�
+ /// 鍦f玻杞﹂棿鐪嬫澘,涓嬪乏杩戜竴鍛ㄤ笉鑹秼鍔�
/// </summary>
/// <param name="wkshopcode">杞﹂棿缂栫爜</param>
/// <returns></returns>
@@ -47,9 +135,9 @@
}
#endregion
- #region[杞﹂棿鐪嬫澘,涓嬪彸杩戜竴鏈堜笉鑹粺璁
+ #region[鍦f玻杞﹂棿鐪嬫澘,涓嬪彸杩戜竴鏈堜笉鑹粺璁
/// <summary>
- /// 杞﹂棿鐪嬫澘,涓嬪彸杩戜竴鏈堜笉鑹粺璁�
+ /// 鍦f玻杞﹂棿鐪嬫澘,涓嬪彸杩戜竴鏈堜笉鑹粺璁�
/// </summary>
/// <param name="wkshopcode">杞﹂棿缂栫爜</param>
/// <returns></returns>
@@ -63,9 +151,10 @@
#endregion
- #region[杞﹂棿缁煎悎鐪嬫澘,宸︿笂鐢熶骇璁㈠崟]
+
+ #region[鍦f玻杞﹂棿缁煎悎鐪嬫澘,宸︿笂鐢熶骇璁㈠崟]
/// <summary>
- /// 杞﹂棿缁煎悎鐪嬫澘,宸︿笂鐢熶骇璁㈠崟
+ /// 鍦f玻杞﹂棿缁煎悎鐪嬫澘,宸︿笂鐢熶骇璁㈠崟
/// </summary>
/// <param name="wkshopcode">杞﹂棿缂栫爜瀛楃涓查泦</param>
/// <returns></returns>
@@ -78,9 +167,9 @@
}
#endregion
- #region[杞﹂棿缁煎悎鐪嬫澘,鍙充笂閿�鍞鍗昡
+ #region[鍦f玻杞﹂棿缁煎悎鐪嬫澘,鍙充笂閿�鍞鍗昡
/// <summary>
- /// 杞﹂棿缁煎悎鐪嬫澘,鍙充笂閿�鍞鍗�
+ /// 鍦f玻杞﹂棿缁煎悎鐪嬫澘,鍙充笂閿�鍞鍗�
/// </summary>
/// <returns></returns>
[Route(template: "WorkShopCompreRightTop")]
@@ -92,9 +181,23 @@
}
#endregion
- #region[杞﹂棿缁煎悎鐪嬫澘,鍙充笅搴撳瓨]
+ #region[鍦f玻杞﹂棿缁煎悎鐪嬫澘,宸︿笅閲囪喘璁㈠崟]
/// <summary>
- /// 杞﹂棿缁煎悎鐪嬫澘,鍙充笅搴撳瓨
+ /// 鍦f玻杞﹂棿缁煎悎鐪嬫澘,宸︿笅閲囪喘璁㈠崟
+ /// </summary>
+ /// <returns></returns>
+ [Route(template: "WorkShopCompreLeftBottom")]
+ [HttpGet]
+ public JsonResult WorkShopCompreLeftBottom()
+ {
+ mes = KanBanManagerentBLL.WorkShopCompreLeftBottom();
+ return Json(mes);
+ }
+ #endregion
+
+ #region[鍦f玻杞﹂棿缁煎悎鐪嬫澘,鍙充笅搴撳瓨]
+ /// <summary>
+ /// 鍦f玻杞﹂棿缁煎悎鐪嬫澘,鍙充笅搴撳瓨
/// </summary>
/// <returns></returns>
[Route(template: "WorkShopCompreRightBottom")]
--
Gitblit v1.9.3