From 6b8782c6810660751b40d284d40ea7a13656c5b7 Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期一, 05 九月 2022 20:04:13 +0800
Subject: [PATCH] 设备点检记录功能、大岛车间综合看板接口变更、工单批量关闭查询,提交
---
VueWebApi/Controllers/KanBanManagerentController.cs | 32 +++++++++++++++++---------------
1 files changed, 17 insertions(+), 15 deletions(-)
diff --git a/VueWebApi/Controllers/KanBanManagerentController.cs b/VueWebApi/Controllers/KanBanManagerentController.cs
index f1485c4..c0c506e 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")]
[HttpPost]
- public HttpResponseMessage LineSearchTopLeftData(List<ObjectData> json)
+ 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,12 +66,13 @@
/// <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
@@ -80,12 +81,13 @@
/// <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
--
Gitblit v1.9.3