From 43d31c2e56da8954828be4a7e027c6ad0aaf038a Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期三, 17 八月 2022 10:45:10 +0800
Subject: [PATCH] 设备点检项目、保养项目接口(查询、新增、编辑、删除、导入)
---
VueWebApi/Controllers/KanBanManagerentController.cs | 108 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 107 insertions(+), 1 deletions(-)
diff --git a/VueWebApi/Controllers/KanBanManagerentController.cs b/VueWebApi/Controllers/KanBanManagerentController.cs
index 1209c38..f1485c4 100644
--- a/VueWebApi/Controllers/KanBanManagerentController.cs
+++ b/VueWebApi/Controllers/KanBanManagerentController.cs
@@ -40,7 +40,7 @@
/// <param name="json">鎻愪氦鏁版嵁(鍙傝�冨伐搴忓畾涔夊叧鑱斿伐浣滅珯鎻愪氦)</param>
/// <returns></returns>
[Route(template: "LineSearchTopLeftData")]
- [HttpGet]
+ [HttpPost]
public HttpResponseMessage LineSearchTopLeftData(List<ObjectData> json)
{
mes = KanBanManagerentBLL.LineSearchTopLeftData(json);
@@ -77,6 +77,10 @@
#endregion
#region[澶у矝杞﹂棿缁煎悎鐪嬫澘,鍙充笅top鎺掕鎺ュ彛]
+ /// <summary>
+ /// 澶у矝杞﹂棿缁煎悎鐪嬫澘,鍙充笅top鎺掕鎺ュ彛
+ /// </summary>
+ /// <returns></returns>
[Route(template: "LineSearchBottomRightData")]
[HttpGet]
public HttpResponseMessage LineSearchBottomRightData()
@@ -85,5 +89,107 @@
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
}
}
--
Gitblit v1.9.3