From 915d3ac08ac5482e0acf7f4a90471fda3f017457 Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期一, 21 十一月 2022 10:35:24 +0800
Subject: [PATCH] 工艺路线接口修改
---
VueWebApi/Controllers/KanBanManagerentController.cs | 173 ++++++++++++++++++++++++++++++++++++++++++++++++++++-----
1 files changed, 157 insertions(+), 16 deletions(-)
diff --git a/VueWebApi/Controllers/KanBanManagerentController.cs b/VueWebApi/Controllers/KanBanManagerentController.cs
index 1209c38..abe3837 100644
--- a/VueWebApi/Controllers/KanBanManagerentController.cs
+++ b/VueWebApi/Controllers/KanBanManagerentController.cs
@@ -18,17 +18,16 @@
ToMessage mes = new ToMessage();
RedisHelper redis = new RedisHelper();
- #region[澶у矝杞﹂棿缁煎悎鐪嬫澘,鐢熶骇杞﹂棿鏌ユ壘浜х嚎鎺ュ彛]
+ #region[澶у矝杞﹂棿缁煎悎鐪嬫澘,鑾峰彇鐢熶骇杞﹂棿]
/// <summary>
- /// 澶у矝杞﹂棿缁煎悎鐪嬫澘,鐢熶骇杞﹂棿鏌ユ壘浜х嚎鎺ュ彛
+ /// 澶у矝杞﹂棿缁煎悎鐪嬫澘,鑾峰彇鐢熶骇杞﹂棿
/// </summary>
- /// <param name="shopcode">杞﹂棿缂栫爜</param>
/// <returns></returns>
- [Route(template: "ShopSearchLine")]
+ [Route(template: "ShopSearch")]
[HttpGet]
- public HttpResponseMessage ShopSearchLine(string shopcode)
+ public HttpResponseMessage ShopSearch()
{
- mes = KanBanManagerentBLL.ShopSearchLine(shopcode);
+ mes = KanBanManagerentBLL.ShopSearch();
return TJson.toJson(mes);
}
#endregion
@@ -37,13 +36,13 @@
/// <summary>
/// 澶у矝杞﹂棿缁煎悎鐪嬫澘,宸︿笂浜х嚎鍔犲伐浠诲姟鎺ュ彛
/// </summary>
- /// <param name="json">鎻愪氦鏁版嵁(鍙傝�冨伐搴忓畾涔夊叧鑱斿伐浣滅珯鎻愪氦)</param>
+ /// <param name="shopcode">杞﹂棿缂栫爜</param>
/// <returns></returns>
[Route(template: "LineSearchTopLeftData")]
- [HttpGet]
- public HttpResponseMessage LineSearchTopLeftData(List<ObjectData> json)
+ [HttpPost]
+ public HttpResponseMessage LineSearchTopLeftData(string shopcode)
{
- mes = KanBanManagerentBLL.LineSearchTopLeftData(json);
+ mes = KanBanManagerentBLL.LineSearchTopLeftData(shopcode);
return TJson.toJson(mes);
}
#endregion
@@ -52,12 +51,13 @@
/// <summary>
/// 澶у矝杞﹂棿缁煎悎鐪嬫澘,宸︿笅鍒楄〃鎺ュ彛
/// </summary>
+ /// <param name="shopcode">杞﹂棿缂栫爜</param>
/// <returns></returns>
[Route(template: "LineSearchBottomLeftData")]
[HttpGet]
- public HttpResponseMessage LineSearchBottomLeftData()
+ public HttpResponseMessage LineSearchBottomLeftData(string shopcode)
{
- mes = KanBanManagerentBLL.LineSearchBottomLeftData();
+ mes = KanBanManagerentBLL.LineSearchBottomLeftData(shopcode);
return TJson.toJson(mes);
}
#endregion
@@ -66,22 +66,163 @@
/// <summary>
/// 澶у矝杞﹂棿缁煎悎鐪嬫澘,鍙充笂top鎺掕鎺ュ彛
/// </summary>
+ /// <param name="shopcode">杞﹂棿缂栫爜</param>
/// <returns></returns>
[Route(template: "LineSearchTopRightData")]
[HttpGet]
- public HttpResponseMessage LineSearchTopRightData()
+ public HttpResponseMessage LineSearchTopRightData(string shopcode)
{
- mes = KanBanManagerentBLL.LineSearchTopRightData();
+ mes = KanBanManagerentBLL.LineSearchTopRightData(shopcode);
return TJson.toJson(mes);
}
#endregion
#region[澶у矝杞﹂棿缁煎悎鐪嬫澘,鍙充笅top鎺掕鎺ュ彛]
+ /// <summary>
+ /// 澶у矝杞﹂棿缁煎悎鐪嬫澘,鍙充笅top鎺掕鎺ュ彛
+ /// </summary>
+ /// <param name="shopcode">杞﹂棿缂栫爜</param>
+ /// <returns></returns>
[Route(template: "LineSearchBottomRightData")]
[HttpGet]
- public HttpResponseMessage LineSearchBottomRightData()
+ public HttpResponseMessage LineSearchBottomRightData(string shopcode)
{
- mes = KanBanManagerentBLL.LineSearchBottomRightData();
+ mes = KanBanManagerentBLL.LineSearchBottomRightData(shopcode);
+ return TJson.toJson(mes);
+ }
+ #endregion
+
+
+
+ #region[閲囪喘璁㈠崟璺熻釜绠$悊鐪嬫澘,宸︿笂鏈湀閲囪喘璁㈠崟鏁般�佹湰鏈堥噰璐繘璐у崟鏁般�佹湰鏈堥噰璐叆搴撳崟鏁癩
+ /// <summary>
+ /// 閲囪喘璁㈠崟璺熻釜绠$悊鐪嬫澘,宸︿笂鏈湀閲囪喘璁㈠崟鏁般�佹湰鏈堥噰璐繘璐у崟鏁般�佹湰鏈堥噰璐叆搴撳崟鏁�
+ /// </summary>
+ /// <returns></returns>
+ [Route(template: "PurchaseLeftTop")]
+ [HttpGet]
+ public HttpResponseMessage PurchaseLeftTop()
+ {
+ mes = KanBanManagerentBLL.PurchaseLeftTop();
+ return TJson.toJson(mes);
+ }
+ #endregion
+
+ #region[閲囪喘璁㈠崟璺熻釜绠$悊鐪嬫澘,宸︿笅閲囪喘璁㈠崟璺熻釜鍒楄〃]
+ /// <summary>
+ /// 閲囪喘璁㈠崟璺熻釜绠$悊鐪嬫澘,宸︿笅閲囪喘璁㈠崟璺熻釜鍒楄〃
+ /// </summary>
+ /// <returns></returns>
+ [Route(template: "PurchaseLeftBottom")]
+ [HttpGet]
+ public HttpResponseMessage PurchaseLeftBottom()
+ {
+ mes = KanBanManagerentBLL.PurchaseLeftBottom();
+ return TJson.toJson(mes);
+ }
+ #endregion
+
+ #region[閲囪喘璁㈠崟璺熻釜绠$悊鐪嬫澘,鍙充晶Top]
+ /// <summary>
+ /// 閲囪喘璁㈠崟璺熻釜绠$悊鐪嬫澘,鍙充晶Top
+ /// </summary>
+ /// <returns></returns>
+ [Route(template: "PurchaseRight")]
+ [HttpGet]
+ public HttpResponseMessage PurchaseRight()
+ {
+ mes = KanBanManagerentBLL.PurchaseRight();
+ return TJson.toJson(mes);
+ }
+ #endregion
+
+
+
+ #region[澶у矝浠撳簱鐪嬫澘,宸︿笂浜у搧寰呭叆搴撳垪琛╙
+ /// <summary>
+ /// 澶у矝浠撳簱鐪嬫澘,宸︿笂浜у搧寰呭叆搴撳垪琛�
+ /// </summary>
+ /// <returns></returns>
+ [Route(template: "WareHouseTopLeftData")]
+ [HttpGet]
+ public HttpResponseMessage WareHouseTopLeftData()
+ {
+ mes = KanBanManagerentBLL.WareHouseTopLeftData();
+ return TJson.toJson(mes);
+ }
+ #endregion
+
+ #region[澶у矝浠撳簱鐪嬫澘,宸︿笅浜у搧寰呭彂璐у垪琛╙
+ /// <summary>
+ /// 澶у矝浠撳簱鐪嬫澘,宸︿笅浜у搧寰呭彂璐у垪琛�
+ /// </summary>
+ /// <returns></returns>
+ [Route(template: "WareHouseTopBottomData")]
+ [HttpGet]
+ public HttpResponseMessage WareHouseTopBottomData()
+ {
+ mes = KanBanManagerentBLL.WareHouseTopBottomData();
+ return TJson.toJson(mes);
+ }
+ #endregion
+
+ #region[澶у矝浠撳簱鐪嬫澘,鍙充笂鎴愬搧搴撱�佸崐鎴愬搧搴搕op5搴撳瓨鎺掕]
+ /// <summary>
+ /// 澶у矝浠撳簱鐪嬫澘,鍙充笂鎴愬搧搴撱�佸崐鎴愬搧搴搕op5搴撳瓨鎺掕
+ /// </summary>
+ /// <returns></returns>
+ [Route(template: "WareHouseRightTopData")]
+ [HttpGet]
+ public HttpResponseMessage WareHouseRightTopData()
+ {
+ mes = KanBanManagerentBLL.WareHouseRightTopData();
+ return TJson.toJson(mes);
+ }
+ #endregion
+
+ #region[澶у矝浠撳簱鐪嬫澘,鍙充笅鍘熸枡搴撳簱top5搴撳瓨鎺掕]
+ /// <summary>
+ /// 澶у矝浠撳簱鐪嬫澘,鍙充笅鍘熸枡搴撳簱top5搴撳瓨鎺掕
+ /// </summary>
+ /// <returns></returns>
+ [Route(template: "WareHouseRightBottomData")]
+ [HttpGet]
+ public HttpResponseMessage WareHouseRightBottomData()
+ {
+ mes = KanBanManagerentBLL.WareHouseRightBottomData();
+ return TJson.toJson(mes);
+ }
+ #endregion
+
+
+
+ #region[杞﹂棿鐪嬫澘鍏憡]
+ /// <summary>
+ /// 杞﹂棿鐪嬫澘鍏憡
+ /// </summary>
+ /// <param name="shopcode">杞﹂棿缂栫爜</param>
+ /// <returns></returns>
+ [Route(template: "WkspReportNotice")]
+ [HttpPost]
+ public HttpResponseMessage WkspReportNotice(string shopcode)
+ {
+ mes = KanBanManagerentBLL.WkspReportNotice(shopcode);
+ return TJson.toJson(mes);
+ }
+ #endregion
+
+
+ #region[瀵屽皵杈捐溅闂寸敓浜ф暟瀛楀寲鐪嬫澘锛屼骇绾挎暟鎹甝
+ /// <summary>
+ /// 瀵屽皵杈捐溅闂寸敓浜ф暟瀛楀寲鐪嬫澘锛屼骇绾挎暟鎹�
+ /// </summary>
+ /// <param name="LineCode">浜х嚎缂栫爜</param>
+ /// <returns></returns>
+ [Route(template: "WkshpLineData")]
+ [HttpGet]
+ public HttpResponseMessage WkshpLineData(string LineCode)
+ {
+ mes = KanBanManagerentBLL.WkshpLineData(LineCode);
return TJson.toJson(mes);
}
#endregion
--
Gitblit v1.9.3