diff --git a/AMESCoreStudio.WebApi/Controllers/AMES/ActualTimeController.cs b/AMESCoreStudio.WebApi/Controllers/AMES/ActualTimeController.cs index c114e803..a4e1ad21 100644 --- a/AMESCoreStudio.WebApi/Controllers/AMES/ActualTimeController.cs +++ b/AMESCoreStudio.WebApi/Controllers/AMES/ActualTimeController.cs @@ -39,9 +39,9 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES /// - /// + /// 獲取報工明細資料 /// - /// + /// 生產日期 /// /// /// diff --git a/AMESCoreStudio.WebApi/Controllers/AMES/IPQCTaskMailLogController.cs b/AMESCoreStudio.WebApi/Controllers/AMES/IPQCTaskMailLogController.cs index 25a6c23d..f357b7c3 100644 --- a/AMESCoreStudio.WebApi/Controllers/AMES/IPQCTaskMailLogController.cs +++ b/AMESCoreStudio.WebApi/Controllers/AMES/IPQCTaskMailLogController.cs @@ -15,9 +15,7 @@ using System.Net.Mail; namespace AMESCoreStudio.WebApi.Controllers.AMES { - /// - /// 任務性IPQC表單维护 - /// + [Route("api/[controller]")] [ApiController] public class IPQCTaskMailLogController : ControllerBase @@ -34,14 +32,9 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES _config = _config = new ConfigurationBuilder().SetBasePath(Environment.CurrentDirectory).AddJsonFile("appsettings.json").Build(); _context = context; } - /// - /// - /// - /// - /// - /// 获取全部任務性IPQC表單 + /// 获取全部任務性IPQC表單log /// /// // GET: api/IPQCTaskMailLogs @@ -61,9 +54,9 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES } /// - /// 用ID获取该任務性IPQC表單 + /// 用ID获取该任務性IPQC表單 log /// - /// + /// id /// // GET: api/IPQCTaskMailLogs/5 [HttpGet("{id}")] @@ -84,9 +77,9 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES /// - /// 更新任務性IPQC表單资料 + /// 更新任務性IPQC表單资料log /// - /// + /// id /// /// [HttpPut("{id}")] @@ -119,7 +112,7 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES } /// - /// 新增任務性IPQC表單资料 + /// 新增任務性IPQC表單资料log /// /// /// @@ -150,7 +143,7 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES } /// - /// 删除任務性IPQC表單资料 + /// 删除任務性IPQC表單资料log /// /// /// diff --git a/AMESCoreStudio.WebApi/Controllers/AMES/IPQCTaskNoticeController.cs b/AMESCoreStudio.WebApi/Controllers/AMES/IPQCTaskNoticeController.cs index 7414d525..3ae1d5f6 100644 --- a/AMESCoreStudio.WebApi/Controllers/AMES/IPQCTaskNoticeController.cs +++ b/AMESCoreStudio.WebApi/Controllers/AMES/IPQCTaskNoticeController.cs @@ -54,7 +54,7 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES /// /// 用ID获取该任務性IPQC表單 /// - /// + /// id /// // GET: api/IPQCTaskNotices/5 [HttpGet("{id}")] @@ -78,6 +78,8 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES /// /// 工單號碼 /// 料號 + /// + /// /// // GET: api/IPQCTaskNotices/Query/5 [HttpGet("ByQuery")] diff --git a/AMESCoreStudio.WebApi/Controllers/AMES/InspectionResultMastersController.cs b/AMESCoreStudio.WebApi/Controllers/AMES/InspectionResultMastersController.cs index 2a10bc5f..b45682cb 100644 --- a/AMESCoreStudio.WebApi/Controllers/AMES/InspectionResultMastersController.cs +++ b/AMESCoreStudio.WebApi/Controllers/AMES/InspectionResultMastersController.cs @@ -312,16 +312,16 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES /// - /// 用FormID获取该巡檢結果资料 + /// 巡檢結果资料 /// - /// - /// - /// - /// - /// - /// - /// - /// v + /// 巡檢類別 + /// id + /// 工單號碼 + /// 機種 + /// 生產序號 + /// 狀態 + /// 開始時間 + /// 結束時間 /// // GET: api/InspectionItems/5 [HttpGet("QueryAll/{type}/{id}/{WipNo}/{ItemNo}/{BarcodeNo}/{StatusNo}/{sdate}/{edate}")] @@ -454,7 +454,7 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES } /// - /// IPQC資料 + /// 查詢IPQC資料 /// /// IPQCID /// diff --git a/AMESCoreStudio.WebApi/Controllers/AMES/LabelParamController.cs b/AMESCoreStudio.WebApi/Controllers/AMES/LabelParamController.cs index f910b5a5..5c4948e7 100644 --- a/AMESCoreStudio.WebApi/Controllers/AMES/LabelParamController.cs +++ b/AMESCoreStudio.WebApi/Controllers/AMES/LabelParamController.cs @@ -25,7 +25,10 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES _context = context; } - // GET: api/LabelParam + /// + /// 查詢Label參數(全部) + /// + /// [HttpGet] public async Task>> GetLabelParams() { @@ -33,7 +36,11 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES } - // GET: api/LabelParam/5 + /// + /// 查詢Label參數by ID + /// + /// ID + /// [HttpGet("{id}")] public async Task> GetLabelParam(int id) { @@ -48,7 +55,13 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES } - // GET: api/LabelParam/5 + /// + /// 查詢Label參數by LabelID + /// + /// Label ID + /// 頁數 + /// 單頁顯示數量 + /// [HttpGet("byLabelID/{id}")] public async Task> GetLabelParambyLabelID(int id, int page = 0, int limit = 10) { @@ -73,7 +86,13 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES } - // GET: api/LabelParam/5 + /// + /// 查詢Label參數by狀態 + /// + /// 狀態 + /// 頁數 + /// 單頁顯示數量 + /// [HttpGet("byStatus/{status}")] public async Task> GetLabelParambyStatus(string status, int page = 0, int limit = 10) { @@ -192,7 +211,11 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES return result; } - // DELETE: api/LabelParam/5 + /// + /// 刪除Label參數檔 + /// + /// ID + /// [HttpDelete("{id}")] public async Task> DeleteLabelParam(int id) { @@ -207,7 +230,11 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES return LabelParam; } - //// GET: api/LabelTemplateDetail/5 + /// + /// 查詢Label參數檔 by ID + /// + /// ID + /// [HttpGet("byMulti/{id}")] public async Task>> GetLabelParambyTemplateIDMulti(int id) { diff --git a/AMESCoreStudio.WebApi/Controllers/AMES/LabelPrintDetailController.cs b/AMESCoreStudio.WebApi/Controllers/AMES/LabelPrintDetailController.cs index f447d333..b4943f6b 100644 --- a/AMESCoreStudio.WebApi/Controllers/AMES/LabelPrintDetailController.cs +++ b/AMESCoreStudio.WebApi/Controllers/AMES/LabelPrintDetailController.cs @@ -12,7 +12,7 @@ using AMESCoreStudio.CommonTools.Result; namespace AMESCoreStudio.WebApi.Controllers.AMES { /// - /// FQC檢驗結果ID + /// /// [Route("api/[controller]")] [ApiController] @@ -25,14 +25,21 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES _context = context; } - // GET: api/LabelPrintDetail + /// + /// 查詢列印Label 參數值(全部) + /// + /// [HttpGet] public async Task>> GetLabelPrintDetails() { return await _context.LabelPrintDetail.ToListAsync(); } - // GET: api/LabelPrintDetail/5 + /// + /// 查詢列印Label 參數值 by 參數ID + /// + /// 參數ID + /// [HttpGet("{id}")] public async Task>> GetLabelPrintDetail(int id) { @@ -48,9 +55,9 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES return LabelPrintdetail; } - + /// - /// 更新Label參數檔 + /// 更新列印Label 參數值 /// /// /// @@ -77,9 +84,9 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES return result; } - + /// - /// 新增更新Label參數檔 + /// 新增列印Label 參數值 /// /// /// @@ -113,7 +120,11 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES } - // DELETE: api/LabelPrintDetail/5 + /// + /// 刪除列印Label 參數值 + /// + /// + /// [HttpDelete("{id}")] public async Task> DeleteLabelPrintDetail(int id) { diff --git a/AMESCoreStudio.WebApi/Controllers/AMES/LabelPrintMasterController.cs b/AMESCoreStudio.WebApi/Controllers/AMES/LabelPrintMasterController.cs index 090246f5..eaa1f4e6 100644 --- a/AMESCoreStudio.WebApi/Controllers/AMES/LabelPrintMasterController.cs +++ b/AMESCoreStudio.WebApi/Controllers/AMES/LabelPrintMasterController.cs @@ -26,14 +26,21 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES _context = context; } - // GET: api/LabelPrintMaster + /// + /// 查詢Label 列印記錄(全部) + /// + /// [HttpGet] public async Task>> GetLabelPrintMasters() { return await _context.LabelPrintMaster.ToListAsync(); } - // GET: api/LabelPrintMaster/5 + /// + /// 查詢Label 列印記錄 by ID + /// + /// id + /// [HttpGet("{id}")] public async Task> GetLabelPrintMaster(int id) { @@ -47,7 +54,12 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES return LabelPrintMaster; } - // GET: api/LabelPrintMaster/5 + /// + /// 查詢Label 列印記錄 by 工單+樣板ID + /// + /// 工單 + /// 樣板ID + /// [HttpGet("{WipNo}/{id}")] public async Task>> GetLabelPrintMasterbyWipNO(string WipNo,int id) { @@ -65,7 +77,7 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES /// - /// 更新Label參數檔 + /// 更新Label 列印記錄 /// /// /// @@ -98,7 +110,7 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES /// - /// 新增更新Label參數檔 + /// 新增更新Label 列印記錄 /// /// /// @@ -132,7 +144,11 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES return result; } - // DELETE: api/LabelPrintMaster/5 + /// + /// 刪除Label 列印記錄 + /// + /// + /// [HttpDelete("{id}")] public async Task> DeleteLabelPrintMaster(int id) { @@ -149,11 +165,11 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES } /// - /// + /// 查詢要列印的Lable參數檔by Param /// - /// - /// - /// + /// 樣板ID + /// 工單號碼 + /// 出貨序號 /// [HttpGet("byParam")] public async Task>> GetLabelPrintbyParam(int TemplateID,string WipNO ,string ExtraNo) diff --git a/AMESCoreStudio.WebApi/Controllers/AMES/LabelRPrintDetailController.cs b/AMESCoreStudio.WebApi/Controllers/AMES/LabelRPrintDetailController.cs index c8aeb174..146aee5d 100644 --- a/AMESCoreStudio.WebApi/Controllers/AMES/LabelRPrintDetailController.cs +++ b/AMESCoreStudio.WebApi/Controllers/AMES/LabelRPrintDetailController.cs @@ -12,7 +12,7 @@ using AMESCoreStudio.CommonTools.Result; namespace AMESCoreStudio.WebApi.Controllers.AMES { /// - /// FQC檢驗結果ID + /// /// [Route("api/[controller]")] [ApiController] @@ -25,14 +25,20 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES _context = context; } - // GET: api/LabelRPrintDetail + /// + /// 查詢補印Label 參數值(全部) + /// + /// [HttpGet] public async Task>> GetLabelRPrintDetails() { return await _context.LabelRPrintDetail.ToListAsync(); } - - // GET: api/LabelRPrintDetail/5 + /// + /// 查詢補印Label 參數值 by 參數ID + /// + /// 參數ID + /// [HttpGet("{id}")] public async Task>> GetLabelRPrintDetail(int id) { @@ -79,7 +85,7 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES /// - /// 新增更新Label補印參數檔 + /// 新增Label補印參數檔 /// /// /// @@ -113,7 +119,11 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES } - // DELETE: api/LabelRPrintDetail/5 + /// + /// 刪除Label補印參數檔 + /// + /// + /// [HttpDelete("{id}")] public async Task> DeleteLabelRPrintDetail(int id) { diff --git a/AMESCoreStudio.WebApi/Controllers/AMES/LabelRPrintMasterController.cs b/AMESCoreStudio.WebApi/Controllers/AMES/LabelRPrintMasterController.cs index 56a3bda0..c79bffe3 100644 --- a/AMESCoreStudio.WebApi/Controllers/AMES/LabelRPrintMasterController.cs +++ b/AMESCoreStudio.WebApi/Controllers/AMES/LabelRPrintMasterController.cs @@ -26,14 +26,21 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES _context = context; } - // GET: api/LabelRPrintMaster + /// + /// 查詢Label 補印記錄 by ID + /// + /// [HttpGet] public async Task>> GetLabelRPrintMasters() { return await _context.LabelRPrintMaster.ToListAsync(); } - // GET: api/LabelRPrintMaster/5 + /// + /// 查詢Label 補印記錄 by 補印ID + /// + /// 補印ID + /// [HttpGet("{id}")] public async Task> GetLabelRPrintMaster(int id) { @@ -47,7 +54,12 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES return LabelRPrintMaster; } - // GET: api/LabelRPrintMaster/5 + /// + /// 查詢Label 補印記錄 by 工單+樣板ID + /// + /// 工單 + /// 樣板ID + /// [HttpGet("{WipNo}/{id}")] public async Task>> GetLabelRPrintMasterbyWipNO(string WipNo, int id) { @@ -98,7 +110,7 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES /// - /// 新增更新Label補印參數檔 + /// 新增Label補印參數檔 /// /// /// @@ -129,7 +141,11 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES return result; } - // DELETE: api/LabelRPrintMaster/5 + /// + /// 刪除Label補印參數檔 + /// + /// + /// [HttpDelete("{id}")] public async Task> DeleteLabelRPrintMaster(int id) { diff --git a/AMESCoreStudio.WebApi/Controllers/AMES/LabelTemplateDetailController.cs b/AMESCoreStudio.WebApi/Controllers/AMES/LabelTemplateDetailController.cs index c9de091f..69e14869 100644 --- a/AMESCoreStudio.WebApi/Controllers/AMES/LabelTemplateDetailController.cs +++ b/AMESCoreStudio.WebApi/Controllers/AMES/LabelTemplateDetailController.cs @@ -12,7 +12,7 @@ using AMESCoreStudio.CommonTools.Result; namespace AMESCoreStudio.WebApi.Controllers.AMES { /// - /// FQC檢驗結果ID + /// Label樣板參數 /// [Route("api/[controller]")] [ApiController] @@ -25,14 +25,21 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES _context = context; } - // GET: api/LabelTemplateDetail + /// + /// Label樣板參數(全部) + /// + /// [HttpGet] public async Task>> GetLabelTemplateDetails() { return await _context.LabelTemplateDetail.ToListAsync(); } - // GET: api/LabelTemplateDetail/5 + /// + /// 查詢 Label樣板參數 by 樣板ID + /// + /// 樣板ID + /// [HttpGet("{id}")] public async Task>> GetLabelTemplateDetail(int id) { @@ -48,9 +55,9 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES return LabelTemplatedetail; } - + /// - /// 更新Label參數檔 + /// 更新Label樣板參數檔 /// /// /// @@ -78,7 +85,7 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES } /// - /// 新增更新Label參數檔 + /// 新增Label樣板參數檔 /// /// /// @@ -103,7 +110,11 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES return result; } - // DELETE: api/LabelTemplateDetail/5 + /// + /// 刪除Label樣板參數檔 + /// + /// + /// [HttpDelete("{id}")] public async Task> DeleteLabelTemplateDetail(int id) { diff --git a/AMESCoreStudio.WebApi/Controllers/AMES/LabelTemplateMasterController.cs b/AMESCoreStudio.WebApi/Controllers/AMES/LabelTemplateMasterController.cs index bbc533f5..f6efdba3 100644 --- a/AMESCoreStudio.WebApi/Controllers/AMES/LabelTemplateMasterController.cs +++ b/AMESCoreStudio.WebApi/Controllers/AMES/LabelTemplateMasterController.cs @@ -13,7 +13,7 @@ using AMESCoreStudio.WebApi.DTO.AMES; namespace AMESCoreStudio.WebApi.Controllers.AMES { /// - /// + /// Label樣板 /// [Route("api/[controller]")] [ApiController] @@ -26,14 +26,21 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES _context = context; } - // GET: api/LabelTemplateMaster + /// + /// 查詢Label樣板(全部) + /// + /// [HttpGet] public async Task>> GetLabelTemplateMasters() { return await _context.LabelTemplateMaster.ToListAsync(); } - // GET: api/LabelTemplateMaster/5 + /// + /// 查詢Label樣板 by ID + /// + /// ID + /// [HttpGet("{id}")] public async Task> GetLabelTemplateMaster(int id) { @@ -49,7 +56,7 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES /// - /// 更新Label參數檔 + /// 更新Label樣板 /// /// /// @@ -77,7 +84,7 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES } /// - /// 新增更新Label參數檔 + /// 新增Label樣板 /// /// /// @@ -113,7 +120,11 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES return result; } - // DELETE: api/LabelTemplateMaster/5 + /// + /// 刪除Label樣板 + /// + /// + /// [HttpDelete("{id}")] public async Task> DeleteLabelTemplateMaster(int id) { @@ -132,9 +143,9 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES /// /// 使用Label料號查詢 /// - /// - /// - /// + /// Label料號 + /// 頁數 + /// 單頁筆數 /// [HttpGet("byMatnr")] public async Task> GetLabelTemplatebyMatnr(string LabelMatnr, int page = 0, int limit = 10) @@ -175,11 +186,11 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES } - /// - /// 使用出貨料號查詢下階有上架之Label - /// - /// - /// + /// + /// 使用出貨料號查詢下階有上架之Label + /// + /// 出貨料號 + /// [HttpGet("byItemNO")] public async Task>> GetLabelTemplatebyItemNO(string ItemNO) { diff --git a/AMESCoreStudio.WebApi/Controllers/AMES/NgInfoAlertBlobsController.cs b/AMESCoreStudio.WebApi/Controllers/AMES/NgInfoAlertBlobsController.cs index a8adeb3b..22617c4c 100644 --- a/AMESCoreStudio.WebApi/Controllers/AMES/NgInfoAlertBlobsController.cs +++ b/AMESCoreStudio.WebApi/Controllers/AMES/NgInfoAlertBlobsController.cs @@ -31,7 +31,7 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES } /// - /// 获取全部巡檢類別資料 + /// 获取全部異常警示圖片資料 /// /// // GET: api/NgInfoAlertBlobs @@ -48,11 +48,10 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES } /// - /// 用ID获取该巡檢類別資料 + /// 用ID获取该異常警示圖片資料 /// - /// + /// ID /// - // GET: api/NgInfoAlertBlobs/5 [HttpGet("{id}")] public async Task>> GetNgInfoAlertBlobs(string id ) { @@ -70,12 +69,11 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES } /// - /// 获取该巡檢表單Blob By Query + /// 获取该異常警示圖片 By Query /// - /// - /// + /// ID + /// 表單ItemID /// - // GET: api/NgInfoAlertBlobs/Query/5 [HttpGet("Query/{id}/{itemID}")] public async Task>> GetNgInfoAlertBlobsByQuery(string id, int itemID) { @@ -96,14 +94,11 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES /// - /// 更新巡檢類別資料 + /// 更新異常警示圖片資料 /// /// /// /// - // PUT: api/NgInfoAlertBlobs/5 - // To protect from overposting attacks, enable the specific properties you want to bind to, for - // more details, see https://go.microsoft.com/fwlink/?linkid=2123754. [HttpPut("{id}")] public async Task> PutNgInfoAlertBlobs(int id, [FromBody] NgInfoAlertBlob NgInfoAlertBlob) { @@ -134,7 +129,7 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES } /// - /// 新增 檢驗結果上傳圖檔資料表 + /// 新增 異常警示圖片上傳圖檔資料表 /// /// /// @@ -164,7 +159,7 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES /// - /// 删除巡檢類別資料 + /// 删除異常警示圖片資料 /// /// /// diff --git a/AMESCoreStudio.WebApi/Controllers/AMES/NgInfoAlertDetailController.cs b/AMESCoreStudio.WebApi/Controllers/AMES/NgInfoAlertDetailController.cs index ca5453b9..4bb7445d 100644 --- a/AMESCoreStudio.WebApi/Controllers/AMES/NgInfoAlertDetailController.cs +++ b/AMESCoreStudio.WebApi/Controllers/AMES/NgInfoAlertDetailController.cs @@ -43,7 +43,7 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES /// /// 異常Alert序號明細資料by CaseID /// - /// + /// ID /// [HttpGet("{id}")] public async Task>> GetNgInfoAlertDetails(string id) diff --git a/AMESCoreStudio.WebApi/Controllers/AMES/NgInfoAlertMasterController.cs b/AMESCoreStudio.WebApi/Controllers/AMES/NgInfoAlertMasterController.cs index 8ea9b2aa..bf724aba 100644 --- a/AMESCoreStudio.WebApi/Controllers/AMES/NgInfoAlertMasterController.cs +++ b/AMESCoreStudio.WebApi/Controllers/AMES/NgInfoAlertMasterController.cs @@ -43,7 +43,7 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES /// /// 異常Alert資料by CaseID /// - /// + /// ID /// [HttpGet("{id}")] public async Task> GetNgInfoAlertMaster(string id) @@ -161,10 +161,20 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES return result; } - /// - /// 查詢工單站別在製條碼資料 - /// - /// + /// + /// 查詢異常警示資料 + /// + /// CaseID + /// 成品機種 + /// ModelName + /// 成品工單 + /// ErrorCode + /// 狀態 + /// 開始時間 + /// 結束時間 + /// 頁 + /// 單頁顯示筆數 + /// [Route("[action]")] [HttpGet] public async Task> GetNGINFOAlertMasterByQuery(string caseID,string itemNoF, string modelName, string wipNoF, string errorCode, string statusNo, string dateStart, string dateEnd, int page = 0, int limit = 10) diff --git a/AMESCoreStudio.WebApi/Controllers/AMES/NgRepairsController.cs b/AMESCoreStudio.WebApi/Controllers/AMES/NgRepairsController.cs index 180bb59d..607e8d44 100644 --- a/AMESCoreStudio.WebApi/Controllers/AMES/NgRepairsController.cs +++ b/AMESCoreStudio.WebApi/Controllers/AMES/NgRepairsController.cs @@ -1642,7 +1642,7 @@ and d.wip_no = '{0}' and a.station_id={1} and b.part_no='{2}'", wipNo, stationID /// /// 安勤異常警示使用 /// - /// + /// 生產序號 /// [Route("[action]")] [HttpGet] @@ -1698,9 +1698,9 @@ and d.wip_no = '{0}' and a.station_id={1} and b.part_no='{2}'", wipNo, stationID } /// - /// 安勤異常警示使用 + /// 安勤異常警示使用(抓昶亨資料) /// - /// + /// 生產序號 /// [Route("[action]")] [HttpGet] @@ -1755,9 +1755,9 @@ and d.wip_no = '{0}' and a.station_id={1} and b.part_no='{2}'", wipNo, stationID /// - /// + /// 更新NGRepair /// - /// + /// ID /// /// // PUT: api/NgRepairs/5 @@ -1802,16 +1802,16 @@ and d.wip_no = '{0}' and a.station_id={1} and b.part_no='{2}'", wipNo, stationID } /// - /// + ///寄EMail /// - /// - /// - /// - /// - /// - /// - /// - /// + /// 寄件者 + /// 放件者 + /// 主旨 + /// 內容 + /// Mail Server + /// Mail Port + /// Mail User + /// Mail Pwd /// [HttpPost("Mail")] public async Task> PostMailTest(string mail_from, string mail_to, string mail_subject,string mail_body, string mail_server, int mail_port,string mail_user, string mail_password) @@ -1846,7 +1846,7 @@ and d.wip_no = '{0}' and a.station_id={1} and b.part_no='{2}'", wipNo, stationID } /// - /// + /// 新增NGRepair /// /// /// @@ -2184,7 +2184,7 @@ and d.wip_no = '{0}' and a.station_id={1} and b.part_no='{2}'", wipNo, stationID } /// - /// + /// 刪除NGRepair /// /// /// diff --git a/AMESCoreStudio.WebApi/Controllers/AMES/WipBarcodeOthersController.cs b/AMESCoreStudio.WebApi/Controllers/AMES/WipBarcodeOthersController.cs index 0eaaa4a9..5d9ca4c4 100644 --- a/AMESCoreStudio.WebApi/Controllers/AMES/WipBarcodeOthersController.cs +++ b/AMESCoreStudio.WebApi/Controllers/AMES/WipBarcodeOthersController.cs @@ -68,7 +68,7 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES /// /// 抓工單出貨序號區間(多筆) /// - /// + /// 工單號碼 /// [HttpGet("WipNos/{id}")] public async Task>> GetWipBarcodeOtherByWipNos(string id) @@ -109,10 +109,10 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES } /// - /// + /// 查詢出貨條碼區間設定檔 /// - /// - /// + /// 工單 + /// 料號 /// [HttpGet("WipBarcodeOtherByItemNo")] public async Task> GetWipBarcodeOtherByItemNo(string WipNo, string ItemNo)