From 0b26067b6cc5d531938fa79cb540a45e125261d2 Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期五, 12 一月 2024 14:55:54 +0800
Subject: [PATCH] 1.App版本升级接口 2.模具清单新增、导入添加仓库、库位字段 3.MES工单查询增加明细id关联
---
VueWebCoreApi/DLL/BLL/MouldManagerBLL.cs | 347 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 344 insertions(+), 3 deletions(-)
diff --git a/VueWebCoreApi/DLL/BLL/MouldManagerBLL.cs b/VueWebCoreApi/DLL/BLL/MouldManagerBLL.cs
index 115578c..9af0110 100644
--- a/VueWebCoreApi/DLL/BLL/MouldManagerBLL.cs
+++ b/VueWebCoreApi/DLL/BLL/MouldManagerBLL.cs
@@ -1,4 +1,5 @@
-锘縰sing System;
+锘縰sing Microsoft.AspNetCore.Http;
+using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
@@ -18,9 +19,16 @@
#endregion
#region[妯″叿娓呭崟鏂板缂栬緫]
- public static ToMessage AddUpdateMouldManger(string mouldcode, string mouldname, string mouldspec, string warehousecode, string surplife, string resilife, string status, string mouldpart, string opertype, User us)
+ public static ToMessage AddUpdateMouldManger(string mouldcode, string mouldname, string mouldspec,string warehousecode,string location_code, string surplife, string resilife, string status, string mouldpart, string opertype, User us)
{
- return MouldManagerDAL.AddUpdateMouldManger(mouldcode, mouldname, mouldspec, warehousecode, surplife, resilife, status, mouldpart, opertype, us);
+ return MouldManagerDAL.AddUpdateMouldManger(mouldcode, mouldname, mouldspec, warehousecode, location_code, surplife, resilife, status, mouldpart, opertype, us);
+ }
+ #endregion
+
+ #region[妯″叿娓呭崟鏌ョ湅灞ュ巻]
+ public static ToMessage MoldResumeSearch(string mouldcode, string opendate, string closedate, int startNum, int endNum, string prop, string order)
+ {
+ return MouldManagerDAL.MoldResumeSearch(mouldcode,opendate, closedate, startNum, endNum, prop, order);
}
#endregion
@@ -160,5 +168,338 @@
return MouldManagerDAL.SaveRepairStanedAssociationMould(repairstand_code, us, json);
}
#endregion
+
+
+ #region[妯″叿鐐规,鎵弿妯″叿浜岀淮鐮乚
+ public static ToMessage CheckScanMouldQrCodeData(string mouldcode)
+ {
+ return MouldManagerDAL.CheckScanMouldQrCodeData(mouldcode);
+ }
+ #endregion
+
+ #region[妯″叿鐐规,鎵弿妯″叿浜岀淮鐮佹煡鎵剧偣妫�鏍囧噯]
+ public static ToMessage CheckScanMouldTemp(string mouldcode)
+ {
+ return MouldManagerDAL.CheckScanMouldTemp(mouldcode);
+ }
+ #endregion
+
+ #region[妯″叿鐐规,閫夋嫨鎵爜妯″叿銆佺偣妫�鏍囧噯甯﹀嚭鐐规椤筣
+ public static ToMessage SelectScanMouldQrCodeItem(string mouldcode, string checktempcode)
+ {
+ return MouldManagerDAL.SelectScanMouldQrCodeItem(mouldcode,checktempcode);
+ }
+ #endregion
+
+ #region[妯″叿鐐规銆佹彁浜や繚瀛榏
+ public static ToMessage MouldCheckSave(string menucode, User us, AppDevicecCheck json)
+ {
+ return MouldManagerDAL.MouldCheckSave(menucode,us, json);
+ }
+ #endregion
+
+
+ #region[妯″叿淇濆吇,鎵弿妯″叿浜岀淮鐮乚
+ public static ToMessage RepairScanMouldQrCodeData(string mouldcode)
+ {
+ return MouldManagerDAL.RepairScanMouldQrCodeData(mouldcode);
+ }
+ #endregion
+
+ #region[妯″叿淇濆吇,鎵弿妯″叿浜岀淮鐮佹煡鎵句繚鍏绘爣鍑哴
+ public static ToMessage RepairScanMouldTemp(string mouldcode)
+ {
+ return MouldManagerDAL.RepairScanMouldTemp(mouldcode);
+ }
+ #endregion
+
+ #region[妯″叿淇濆吇,閫夋嫨鎵爜妯″叿鍒楄〃甯﹀嚭淇濆吇椤筣
+ public static ToMessage RepairSelectScanMouldQrCodeItem(string mouldcode, string repartempcode)
+ {
+ return MouldManagerDAL.RepairSelectScanMouldQrCodeItem(mouldcode,repartempcode);
+ }
+ #endregion
+
+ #region[妯″叿淇濆吇,鎻愪氦淇濆瓨]
+ public static ToMessage MouldRepairSave(string menucode, User us, AppDevicecCheck json)
+ {
+ return MouldManagerDAL.MouldRepairSave(menucode, us,json);
+ }
+ #endregion
+
+
+ #region[妯″叿淇℃伅鏌ヨ,鎵弿妯″叿浜岀淮鐮乚
+ public static ToMessage ScanMouldQrCodeMessageData(string mouldcode)
+ {
+ return MouldManagerDAL.ScanMouldQrCodeMessageData(mouldcode);
+ }
+ #endregion
+
+ #region[妯″叿淇℃伅鏌ヨ鏄庣粏]
+ public static ToMessage ScanMouldQrCodeMessageSubData(string mouldcode)
+ {
+ return MouldManagerDAL.ScanMouldQrCodeMessageSubData(mouldcode);
+ }
+ #endregion
+
+
+ #region[妯″叿缁翠慨鐢宠,鎵弿妯″叿浜岀淮鐮乚
+ public static ToMessage MaintainScanMouldApplyQrCodeData(string mouldcode)
+ {
+ return MouldManagerDAL.MaintainScanMouldApplyQrCodeData(mouldcode);
+ }
+ #endregion
+
+ #region[璁惧缁翠慨鐢宠,鎻愪氦淇濆瓨]
+ public static ToMessage MaintainScanMouldApplySave(string menucode, string mouldcode, string faultsourcecode, string faultdescr, User us, IFormFileCollection files)
+ {
+ return MouldManagerDAL.MaintainScanMouldApplySave(menucode,mouldcode, faultsourcecode,faultdescr,us,files);
+ }
+ #endregion
+
+
+ #region[妯″叿寰呯淮淇俊鎭垪琛╙
+ public static ToMessage RepairScanMouldQrCodeDataList(string mouldcode)
+ {
+ return MouldManagerDAL.RepairScanMouldQrCodeDataList(mouldcode);
+ }
+ #endregion
+
+ #region[妯″叿缁翠慨鎻愪氦]
+ public static ToMessage RepairScanMouldSave(string menucode, string docu_code, string mouldcode, string faultdescr, string is_stoprepair, string repaircontent, User us, IFormFileCollection files)
+ {
+ return MouldManagerDAL.RepairScanMouldSave(menucode,docu_code, mouldcode,faultdescr,is_stoprepair,repaircontent,us,files);
+ }
+ #endregion
+
+
+ #region[妯″叿缁翠慨寰呴獙璇佸垪琛╙
+ public static ToMessage RepairVerificationScanMouldData(string mouldcode)
+ {
+ return MouldManagerDAL.RepairVerificationScanMouldData(mouldcode);
+ }
+ #endregion
+
+ #region[妯″叿缁翠慨寰呴獙璇佽鎯呬俊鎭痌
+ public static ToMessage RepairVerificationScanMouldDataSub(string repair_code, string mouldcode)
+ {
+ return MouldManagerDAL.RepairVerificationScanMouldDataSub(repair_code,mouldcode);
+ }
+ #endregion
+
+ #region[妯″叿缁翠慨楠岃瘉鎻愪氦]
+ public static ToMessage RepairVerificationScanMouldSave(string repairwo, string mouldcode, string result,string surp_life, User us)
+ {
+ return MouldManagerDAL.RepairVerificationScanMouldSave(repairwo, mouldcode,result, surp_life, us);
+ }
+ #endregion
+
+
+ #region[妯″叿涓婃満,鎵弿妯″叿缂栫爜]
+ public static ToMessage MouldUpQrCodeData(string mouldcode)
+ {
+ return MouldManagerDAL.MouldUpQrCodeData(mouldcode);
+ }
+ #endregion
+
+ #region[妯″叿涓婃満,閫夋嫨鏈笂妯¤澶嘳
+ public static ToMessage MouldEqpPermissions()
+ {
+ return MouldManagerDAL.MouldEqpPermissions();
+ }
+ #endregion
+
+ #region[妯″叿涓婃満鎻愪氦]
+ public static ToMessage MouldUpSave(string mouldcode, string eqp_code, string description, User us)
+ {
+ return MouldManagerDAL.MouldUpSave(mouldcode,eqp_code,description,us);
+ }
+ #endregion
+
+
+ #region[妯″叿涓嬫満,鎵弿妯″叿缂栫爜]
+ public static ToMessage MouldDownQrCodeData(string mouldcode)
+ {
+ return MouldManagerDAL.MouldDownQrCodeData(mouldcode);
+ }
+ #endregion
+
+ #region[妯″叿涓嬫満鎻愪氦]
+ public static ToMessage MouldDownSave(string mouldcode, string eqp_code, string usecount_life, string description, User us)
+ {
+ return MouldManagerDAL.MouldDownSave(mouldcode, eqp_code, usecount_life, description, us);
+ }
+ #endregion
+
+
+ #region[妯″叿澶栧��,鎵弿妯″叿缂栫爜]
+ public static ToMessage MouldLendOutQrCodeData(string mouldcode)
+ {
+ return MouldManagerDAL.MouldLendOutQrCodeData(mouldcode);
+ }
+ #endregion
+
+ #region[妯″叿澶栧�熸彁浜
+ public static ToMessage MouldLendOutSave(string mouldcode, string description, User us)
+ {
+ return MouldManagerDAL.MouldLendOutSave(mouldcode, description,us);
+ }
+ #endregion
+
+
+ #region[妯″叿褰掕繕,鎵弿妯″叿缂栫爜]
+ public static ToMessage MouldReturnQrCodeData(string mouldcode)
+ {
+ return MouldManagerDAL.MouldReturnQrCodeData(mouldcode);
+ }
+ #endregion
+
+ #region[妯″叿褰掕繕鎻愪氦]
+ public static ToMessage MouldReturnSave(string mouldcode, string description, User us)
+ {
+ return MouldManagerDAL.MouldReturnSave(mouldcode, description,us);
+ }
+ #endregion
+
+
+ #region[妯″叿鍏ュ簱,鎵弿妯″叿缂栫爜]
+ public static ToMessage MouldInWareHouseQrCodeData(string mouldcode)
+ {
+ return MouldManagerDAL.MouldInWareHouseQrCodeData(mouldcode);
+ }
+ #endregion
+
+ #region[妯″叿鍏ュ簱鎻愪氦]
+ public static ToMessage MouldInWareHouseSave(string mouldcode, string warehousecode,string locationcode, string description, User us)
+ {
+ return MouldManagerDAL.MouldInWareHouseSave(mouldcode, warehousecode, locationcode, description, us);
+ }
+ #endregion
+
+
+ #region[妯″叿鍑哄簱,鎵弿妯″叿缂栫爜]
+ public static ToMessage MouldOutWareHouseQrCodeData(string mouldcode)
+ {
+ return MouldManagerDAL.MouldOutWareHouseQrCodeData(mouldcode);
+ }
+ #endregion
+
+ #region[妯″叿鍑哄簱鎻愪氦]
+ public static ToMessage MouldOutWareHouseSave(string mouldcode, string warehousecode,string locationcode, string description, User us)
+ {
+ return MouldManagerDAL.MouldOutWareHouseSave(mouldcode, warehousecode, locationcode, description, us);
+ }
+ #endregion
+
+
+ #region[妯″叿鐐规璁板綍鏌ヨ]
+ public static ToMessage MouldCheckTakeSearch(string mouldcode, string mouldname, string mouldspec, string stanedcode, string stanedname, string checkuser, string checkopendate, string checkclosedate,string checkrequest, int startNum, int endNum, string prop, string order)
+ {
+ return MouldManagerDAL.MouldCheckTakeSearch(mouldcode, mouldname, mouldspec, stanedcode, stanedname, checkuser, checkopendate, checkclosedate, checkrequest, startNum, endNum, prop, order);
+ }
+ #endregion
+
+ #region[妯″叿鐐规璁板綍鏄庣粏鏌ヨ]
+ public static ToMessage MouldCheckSubTakeSearch(string id)
+ {
+ return MouldManagerDAL.MouldCheckSubTakeSearch(id);
+ }
+ #endregion
+
+ #region[妯″叿鐐规璁板綍瀵煎嚭]
+ public static ToMessage MouldCheckTakeOutExcel(string mouldcode, string mouldname, string mouldspec, string stanedcode, string stanedname, string checkuser, string checkopendate, string checkclosedate,string checkrequest)
+ {
+ return MouldManagerDAL.MouldCheckTakeOutExcel(mouldcode, mouldname, mouldspec, stanedcode, stanedname, checkuser, checkopendate, checkclosedate, checkrequest);
+ }
+ #endregion
+
+
+ #region[妯″叿淇濆吇璁板綍鏌ヨ]
+ public static ToMessage MouldRepairTakeSearch(string mouldcode, string mouldname, string mouldspec, string stanedcode, string stanedname, string repairuser, string repairopendate, string repairclosedate, string repairresult, int startNum, int endNum, string prop, string order)
+ {
+ return MouldManagerDAL.MouldRepairTakeSearch(mouldcode, mouldname, mouldspec, stanedcode, stanedname, repairuser, repairopendate, repairclosedate, repairresult, startNum, endNum, prop, order);
+ }
+ #endregion
+
+ #region[妯″叿淇濆吇璁板綍鏄庣粏鏌ヨ]
+ public static ToMessage MouldRepairSubTakeSearch(string id)
+ {
+ return MouldManagerDAL.MouldRepairSubTakeSearch(id);
+ }
+ #endregion
+
+ #region[妯″叿淇濆吇璁板綍瀵煎嚭]
+ public static ToMessage MouldRepairTakeOutExcel(string mouldcode, string mouldname, string mouldspec, string stanedcode, string stanedname, string repairuser, string repairopendate, string repairclosedate, string repairresult)
+ {
+ return MouldManagerDAL.MouldRepairTakeOutExcel(mouldcode, mouldname, mouldspec, stanedcode, stanedname, repairuser, repairopendate, repairclosedate, repairresult);
+ }
+ #endregion
+
+
+ #region[妯″叿缁翠慨璁板綍鏌ヨ]
+ public static ToMessage MouldUpdateSearch(string mouldcode, string mouldname, string mouldspec, string reportuser, string repairuser, string vrifcatuser, string reportopendate, string reportclosedate, string repairopendate, string repairclosedate, string vrifcatopendate, string vrifcatclosedate, int startNum, int endNum, string prop, string order)
+ {
+ return MouldManagerDAL.MouldUpdateSearch(mouldcode, mouldname, mouldspec, reportuser, repairuser, vrifcatuser, reportopendate, reportclosedate, repairopendate, repairclosedate, vrifcatopendate, vrifcatclosedate, startNum, endNum, prop, order);
+ }
+ #endregion
+
+ #region[妯″叿缁翠慨璁板綍鏄庣粏鏌ヨ]
+ public static ToMessage MouldUpdateSubSearch(string repair_code)
+ {
+ return MouldManagerDAL.MouldUpdateSubSearch(repair_code);
+ }
+ #endregion
+
+ #region[妯″叿缁翠慨璁板綍瀵煎嚭]
+ public static ToMessage MouldUpdateOutExcel(string mouldcode, string mouldname, string mouldspec, string reportuser, string repairuser, string vrifcatuser, string reportopendate, string reportclosedate, string repairopendate, string repairclosedate, string vrifcatopendate, string vrifcatclosedate)
+ {
+ return MouldManagerDAL.MouldUpdateSearch(mouldcode, mouldname, mouldspec, reportuser, repairuser, vrifcatuser, reportopendate, reportclosedate, repairopendate, repairclosedate, vrifcatopendate, vrifcatclosedate);
+ }
+ #endregion
+
+
+ #region[妯″叿涓婁笅鏈鸿褰曟煡璇
+ public static ToMessage MouldUpDownMachinesSearch(string mouldcode, string mouldname, string mouldspec, string type, string devicecode, string operuser, string opendate, string closedate, int startNum, int endNum, string prop, string order)
+ {
+ return MouldManagerDAL.MouldUpDownMachinesSearch(mouldcode, mouldname, mouldspec, type, devicecode, operuser, opendate, closedate, startNum, endNum, prop, order);
+ }
+ #endregion
+
+ #region[妯″叿涓婁笅鏈鸿瀵煎嚭Excel]
+ public static ToMessage MouldUpDownMachinesOutExcel(string mouldcode, string mouldname, string mouldspec, string type, string devicecode, string operuser, string opendate, string closedate)
+ {
+ return MouldManagerDAL.MouldUpDownMachinesOutExcel(mouldcode, mouldname, mouldspec, type, devicecode, operuser, opendate, closedate);
+ }
+ #endregion
+
+
+ #region[妯″叿鍊熻繕璁板綍鏌ヨ]
+ public static ToMessage MouldCirculateMachinesSearch(string mouldcode, string mouldname, string mouldspec, string type, string operuser, string opendate, string closedate, int startNum, int endNum, string prop, string order)
+ {
+ return MouldManagerDAL.MouldCirculateMachinesSearch(mouldcode, mouldname, mouldspec, type, operuser, opendate, closedate, startNum, endNum, prop, order);
+ }
+ #endregion
+
+ #region[妯″叿鍊熻繕璁板綍瀵煎嚭]
+ public static ToMessage MouldCirculateMachinesOutExcel(string mouldcode, string mouldname, string mouldspec, string type, string operuser, string opendate, string closedate)
+ {
+ return MouldManagerDAL.MouldCirculateMachinesOutExcel(mouldcode, mouldname, mouldspec, type, operuser, opendate, closedate);
+ }
+ #endregion
+
+
+ #region[妯″叿鍑哄叆搴撹褰曟煡璇
+ public static ToMessage MouldInOutMachinesSearch(string mouldcode, string mouldname, string mouldspec, string type, string warehousecode, string locationcode, string operuser, string opendate, string closedate, int startNum, int endNum, string prop, string order)
+ {
+ return MouldManagerDAL.MouldInOutMachinesSearch(mouldcode, mouldname, mouldspec, type, warehousecode, locationcode, operuser, opendate, closedate, startNum, endNum, prop, order);
+ }
+ #endregion
+
+ #region[妯″叿鍑哄叆搴撹褰曞鍑篯
+ public static ToMessage MouldInOutMachinesOutExcel(string mouldcode, string mouldname, string mouldspec, string type, string warehousecode, string locationcode, string operuser, string opendate, string closedate)
+ {
+ return MouldManagerDAL.MouldInOutMachinesOutExcel(mouldcode, mouldname, mouldspec, type, warehousecode, locationcode, operuser, opendate, closedate);
+ }
+ #endregion
}
}
--
Gitblit v1.9.3