diff --git a/AMESCoreStudio.Web/Controllers/KCSController.cs b/AMESCoreStudio.Web/Controllers/KCSController.cs index 59a10db5..63f706fd 100644 --- a/AMESCoreStudio.Web/Controllers/KCSController.cs +++ b/AMESCoreStudio.Web/Controllers/KCSController.cs @@ -14,11 +14,16 @@ namespace AMESCoreStudio.Web.Controllers { private readonly ILogger _logger; public readonly IKCS _kcsApi; + public readonly IPCS _pcsApi; + public readonly IBAS _basApi; - public KCSController(ILogger logger, IKCS kcsApi) + public KCSController(ILogger logger, IKCS kcsApi, IPCS pcsApi, IBAS basApi) { _logger = logger; _kcsApi = kcsApi; + _pcsApi = pcsApi; + _basApi = basApi; + } private async Task GetMaxClassGroup() @@ -68,6 +73,19 @@ namespace AMESCoreStudio.Web.Controllers ViewBag.SNIntervalList = SNIntervalList; } + + private async Task GetFactoryUnitList() + { + var result = await _basApi.GetFactoryUnits(); + + var FactoryItems = new List(); + for (int i = 0; i < result.Count; i++) + { + FactoryItems.Add(new SelectListItem(result[i].UnitName, result[i].UnitNo.ToString())); + } + ViewBag.FactoryUnit = FactoryItems; + } + #region KCS001 MAC資料維護相關 public IActionResult KCS001() @@ -507,5 +525,149 @@ namespace AMESCoreStudio.Web.Controllers } #endregion + + #region KCS006組件類別資料維護相關 + public void GetUserID() + { + var userID = ""; + HttpContext.Request.Cookies.TryGetValue("UserID", out userID); + int user_id = 0; + if (userID != null) + { + if (int.Parse(userID.ToString()) >= 0) + { + user_id = int.Parse(userID.ToString()); + } + } + ViewBag.UserID = user_id; + } + + public IActionResult KCS007() + { + return View(); + } + + //新增頁面 + public async Task KCS007C() + { + + await GetFactoryUnitList(); + GetUserID(); + + return View(); + } + + + //修改页面 + public async Task KCS007UAsync(int id) + { + + await GetFactoryUnitList(); + GetUserID(); + var result = await _kcsApi.GetMaterialKp(id); + + if (result.Count == 0) + { + return View(); + } + return View(result[0]); + } + + public async Task KCS007DAsync(int id) + { + var result = await _kcsApi.DeleteMaterialKp(id); + return Json(new Result() { success = true, msg = "" }); + } + + //頁面提交,id=0 添加,id>0 修改 + [HttpPost] + public async Task KCS007CSaveAsync(MaterialKp model) + { + if (ModelState.IsValid) + { + IResultModel result; + + result = await _kcsApi.PostMaterialKp(JsonConvert.SerializeObject(model)); + + + if (result.Success) + { + var _msg = "添加成功!"; + return RedirectToAction("Refresh", "Home", new { msg = _msg }); + } + else + { + if (result.Errors.Count > 0) + { + ModelState.AddModelError(result.Errors[0].Id, result.Errors[0].Msg); + } + else + { + ModelState.AddModelError("error", result.Msg); + } + } + } + return View("KCS007C", model); + } + + public async Task KCS007USaveAsync(MaterialKp model) + { + if (ModelState.IsValid) + { + IResultModel result; + + result = await _kcsApi.PutMaterialKp(model.MaterialKpID, JsonConvert.SerializeObject(model)); + + if (result.Success) + { + var _msg = "修改成功!"; + return RedirectToAction("Refresh", "Home", new { msg = _msg }); + } + else + { + if (result.Errors.Count > 0) + { + ModelState.AddModelError(result.Errors[0].Id, result.Errors[0].Msg); + } + else + { + ModelState.AddModelError("error", result.Msg); + } + } + } + return View("KCS007U", model); + } + + [ResponseCache(Duration = 0)] + [HttpGet] + public async Task GetMaterialItemByItemNOAsync(string id) + { + var result = await _pcsApi.GetMaterialItemByItemNO(id); + + + if (result != null) + { + return Json(new Result() { success = true, data = result }); + } + + return Json(new Result() { success = false, data = null }); + } + public async Task GetMaterialKpsByItemIDAsync(int id) + { + var result = await _kcsApi.GetMaterialKpsByItemID(id); + + + if (result.Count > 0) + { + return Json(new Table() { code = 0, msg = "", data = result, count = result.Count }); + } + + return Json(new Table() { count = 0, data = null }); + } + + #endregion + + + } } diff --git a/AMESCoreStudio.Web/HttpApis/AMES/IKCS.cs b/AMESCoreStudio.Web/HttpApis/AMES/IKCS.cs index b5f22270..74c73bc0 100644 --- a/AMESCoreStudio.Web/HttpApis/AMES/IKCS.cs +++ b/AMESCoreStudio.Web/HttpApis/AMES/IKCS.cs @@ -166,6 +166,53 @@ namespace AMESCoreStudio.Web [WebApiClient.Attributes.HttpGet("api/Items")] ITask> GetItems(int page = 1, int limit = 10); + #endregion + + #region KCS007 組件料號維護 + + /// + /// 新增組件料號 + /// + /// + [WebApiClient.Attributes.HttpPost("api/MaterialKp")] + ITask> PostMaterialKp([FromBody, RawJsonContent] string model); + + /// + /// 更新組件料號 + /// + /// + [WebApiClient.Attributes.HttpPut("api/MaterialKp/{id}")] + ITask> PutMaterialKp(int id,[FromBody, RawJsonContent] string model); + + /// + /// 刪除組件料號 + /// + /// + [WebApiClient.Attributes.HttpDelete("api/MaterialKp/{id}")] + ITask> DeleteMaterialKp(int id); + + /// + /// 根據ID獲取指定組件料號資料 + /// + /// + [WebApiClient.Attributes.HttpGet("api/MaterialKp/{id}")] + ITask> GetMaterialKp(int id); + + /// + /// 獲取組件料號資料 + /// + /// + [WebApiClient.Attributes.HttpGet("api/MaterialKp")] + ITask> GetMaterialKps(); + + /// + /// 獲取組件類別資料 + /// + /// + [WebApiClient.Attributes.HttpGet("api/MaterialKp/ByItemID/{id}")] + ITask> GetMaterialKpsByItemID(int id); + + #endregion } } diff --git a/AMESCoreStudio.Web/Views/BAS/BAS013.cshtml b/AMESCoreStudio.Web/Views/BAS/BAS013.cshtml index e877c999..6413334d 100644 --- a/AMESCoreStudio.Web/Views/BAS/BAS013.cshtml +++ b/AMESCoreStudio.Web/Views/BAS/BAS013.cshtml @@ -46,6 +46,14 @@ title: '料號', sort: true }, + { + field: 'ratio', + title: '燒機比率' + }, + { + field: 'temperature', + title: '燒機溫度' + }, { field: 'time', title: '燒機時間' diff --git a/AMESCoreStudio.Web/Views/BAS/BAS013C.cshtml b/AMESCoreStudio.Web/Views/BAS/BAS013C.cshtml index bd76c936..ce4b0b2e 100644 --- a/AMESCoreStudio.Web/Views/BAS/BAS013C.cshtml +++ b/AMESCoreStudio.Web/Views/BAS/BAS013C.cshtml @@ -20,6 +20,16 @@ +
+ + + +
+
+ + + +
diff --git a/AMESCoreStudio.Web/Views/BAS/BAS013U.cshtml b/AMESCoreStudio.Web/Views/BAS/BAS013U.cshtml index 74cc5e43..9a9a75d1 100644 --- a/AMESCoreStudio.Web/Views/BAS/BAS013U.cshtml +++ b/AMESCoreStudio.Web/Views/BAS/BAS013U.cshtml @@ -20,6 +20,16 @@
+
+ + + +
+
+ + + +
diff --git a/AMESCoreStudio.Web/Views/KCS/KCS007.cshtml b/AMESCoreStudio.Web/Views/KCS/KCS007.cshtml new file mode 100644 index 00000000..03115aa5 --- /dev/null +++ b/AMESCoreStudio.Web/Views/KCS/KCS007.cshtml @@ -0,0 +1,189 @@ +@{ + ViewData["Title"] = "料號組件對應維護"; + Layout = "~/Views/Shared/_AMESLayout.cshtml"; +} + +
+
+
+
+
@ViewBag.Title
+
+
+
+
+
+
+
+ +
+ +
+
+
+
+ +
+
+
+
+
+
+
+ +@section Scripts{ + +} \ No newline at end of file diff --git a/AMESCoreStudio.Web/Views/KCS/KCS007C.cshtml b/AMESCoreStudio.Web/Views/KCS/KCS007C.cshtml new file mode 100644 index 00000000..606568af --- /dev/null +++ b/AMESCoreStudio.Web/Views/KCS/KCS007C.cshtml @@ -0,0 +1,122 @@ +@model AMESCoreStudio.WebApi.Models.AMES.MaterialKp + + +@{ ViewData["Title"] = "KCS007C"; + Layout = "~/Views/Shared/_FormLayout.cshtml"; } + + + + +
+
+
+
+ + + + + + +
+ + + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+ @Html.ValidationMessage("error") +
+ +
+ +
+
+
+ +@section Scripts { + @{ await Html.RenderPartialAsync("_ValidationScriptsPartial"); + await Html.RenderPartialAsync("_FileinputScriptsPartial"); } + + + + +} + diff --git a/AMESCoreStudio.Web/Views/KCS/KCS007U.cshtml b/AMESCoreStudio.Web/Views/KCS/KCS007U.cshtml new file mode 100644 index 00000000..34ab09f0 --- /dev/null +++ b/AMESCoreStudio.Web/Views/KCS/KCS007U.cshtml @@ -0,0 +1,122 @@ +@model AMESCoreStudio.WebApi.Models.AMES.MaterialKp + + +@{ ViewData["Title"] = "KCS007U"; + Layout = "~/Views/Shared/_FormLayout.cshtml"; } + + + + +
+
+
+
+ + + + + + +
+ + + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+ @Html.ValidationMessage("error") +
+ +
+ +
+
+
+ +@section Scripts { + @{ await Html.RenderPartialAsync("_ValidationScriptsPartial"); + await Html.RenderPartialAsync("_FileinputScriptsPartial"); } + + + + +} + diff --git a/AMESCoreStudio.Web/bin/Debug/netcoreapp3.1/AMESCoreStudio.Web.Views.dll b/AMESCoreStudio.Web/bin/Debug/netcoreapp3.1/AMESCoreStudio.Web.Views.dll index b5420498..d1f65e56 100644 Binary files a/AMESCoreStudio.Web/bin/Debug/netcoreapp3.1/AMESCoreStudio.Web.Views.dll and b/AMESCoreStudio.Web/bin/Debug/netcoreapp3.1/AMESCoreStudio.Web.Views.dll differ diff --git a/AMESCoreStudio.Web/bin/Debug/netcoreapp3.1/AMESCoreStudio.Web.Views.pdb b/AMESCoreStudio.Web/bin/Debug/netcoreapp3.1/AMESCoreStudio.Web.Views.pdb index 40a0bf6e..8a8fef40 100644 Binary files a/AMESCoreStudio.Web/bin/Debug/netcoreapp3.1/AMESCoreStudio.Web.Views.pdb and b/AMESCoreStudio.Web/bin/Debug/netcoreapp3.1/AMESCoreStudio.Web.Views.pdb differ diff --git a/AMESCoreStudio.Web/bin/Debug/netcoreapp3.1/AMESCoreStudio.Web.dll b/AMESCoreStudio.Web/bin/Debug/netcoreapp3.1/AMESCoreStudio.Web.dll index 49ece3a0..ad2fbcf6 100644 Binary files a/AMESCoreStudio.Web/bin/Debug/netcoreapp3.1/AMESCoreStudio.Web.dll and b/AMESCoreStudio.Web/bin/Debug/netcoreapp3.1/AMESCoreStudio.Web.dll differ diff --git a/AMESCoreStudio.Web/bin/Debug/netcoreapp3.1/AMESCoreStudio.Web.pdb b/AMESCoreStudio.Web/bin/Debug/netcoreapp3.1/AMESCoreStudio.Web.pdb index 54b3cd00..410ff8ad 100644 Binary files a/AMESCoreStudio.Web/bin/Debug/netcoreapp3.1/AMESCoreStudio.Web.pdb and b/AMESCoreStudio.Web/bin/Debug/netcoreapp3.1/AMESCoreStudio.Web.pdb differ diff --git a/AMESCoreStudio.Web/bin/Debug/netcoreapp3.1/AMESCoreStudio.WebApi.Views.dll b/AMESCoreStudio.Web/bin/Debug/netcoreapp3.1/AMESCoreStudio.WebApi.Views.dll index 8bff3325..342b94ae 100644 Binary files a/AMESCoreStudio.Web/bin/Debug/netcoreapp3.1/AMESCoreStudio.WebApi.Views.dll and b/AMESCoreStudio.Web/bin/Debug/netcoreapp3.1/AMESCoreStudio.WebApi.Views.dll differ diff --git a/AMESCoreStudio.Web/bin/Debug/netcoreapp3.1/AMESCoreStudio.WebApi.Views.pdb b/AMESCoreStudio.Web/bin/Debug/netcoreapp3.1/AMESCoreStudio.WebApi.Views.pdb index 00e1def0..cc6edffd 100644 Binary files a/AMESCoreStudio.Web/bin/Debug/netcoreapp3.1/AMESCoreStudio.WebApi.Views.pdb and b/AMESCoreStudio.Web/bin/Debug/netcoreapp3.1/AMESCoreStudio.WebApi.Views.pdb differ diff --git a/AMESCoreStudio.Web/bin/Debug/netcoreapp3.1/AMESCoreStudio.WebApi.dll b/AMESCoreStudio.Web/bin/Debug/netcoreapp3.1/AMESCoreStudio.WebApi.dll index dad0b638..5d86d307 100644 Binary files a/AMESCoreStudio.Web/bin/Debug/netcoreapp3.1/AMESCoreStudio.WebApi.dll and b/AMESCoreStudio.Web/bin/Debug/netcoreapp3.1/AMESCoreStudio.WebApi.dll differ diff --git a/AMESCoreStudio.Web/bin/Debug/netcoreapp3.1/AMESCoreStudio.WebApi.pdb b/AMESCoreStudio.Web/bin/Debug/netcoreapp3.1/AMESCoreStudio.WebApi.pdb index 3d965842..559c8a7e 100644 Binary files a/AMESCoreStudio.Web/bin/Debug/netcoreapp3.1/AMESCoreStudio.WebApi.pdb and b/AMESCoreStudio.Web/bin/Debug/netcoreapp3.1/AMESCoreStudio.WebApi.pdb differ diff --git a/AMESCoreStudio.Web/bin/Debug/netcoreapp3.1/AMESCoreStudio.WebApi.xml b/AMESCoreStudio.Web/bin/Debug/netcoreapp3.1/AMESCoreStudio.WebApi.xml index 3093081e..167a463f 100644 --- a/AMESCoreStudio.Web/bin/Debug/netcoreapp3.1/AMESCoreStudio.WebApi.xml +++ b/AMESCoreStudio.Web/bin/Debug/netcoreapp3.1/AMESCoreStudio.WebApi.xml @@ -266,6 +266,13 @@ barcodeID + + + 用barcode獲取資料 + + barcodeID + + 確認組件代碼是否重複 @@ -325,7 +332,7 @@ 條碼過站資料檔 - + @@ -1618,6 +1625,13 @@ + + + 料號基本資料檔 by ID + + MaterialKpID + + 料號基本資料檔 to ItemID @@ -1640,7 +1654,7 @@ - + 修改料號基本資料檔 @@ -2124,6 +2138,66 @@ + + + 維修資料統計by不良代碼 + + + + + + + + + + + + + + + 維修資料統計by維修代碼 + + + + + + + + + + + + + + + 維修資料統計by維修位置 + + + + + + + + + + + + + + + 維修資料統計by責任單位 + + + + + + + + + + + + @@ -3620,6 +3694,20 @@ + + + NgInfo-組件资料 + + + + + + + NgInfo-測試不良基本資料檔 + + + + BarcodeWip-檔案用途 條碼工單資料檔 @@ -9017,6 +9105,11 @@ 站(前段) + + + 是否重複 + + 創建者ID @@ -9037,12 +9130,12 @@ 更新日期 - + 料號主檔 - + 工單機種資料 @@ -12567,6 +12660,16 @@ 料號 + + + 燒機比率 + + + + + 燒機溫度 + + 燒机時間 diff --git a/AMESCoreStudio.WebApi/Controllers/AMES/MaterialKpController.cs b/AMESCoreStudio.WebApi/Controllers/AMES/MaterialKpController.cs index a994be80..4546a7a8 100644 --- a/AMESCoreStudio.WebApi/Controllers/AMES/MaterialKpController.cs +++ b/AMESCoreStudio.WebApi/Controllers/AMES/MaterialKpController.cs @@ -43,6 +43,20 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES return MaterialKp; } + /// + /// 料號基本資料檔 by ID + /// + /// MaterialKpID + /// + [HttpGet("{id}")] + public async Task> GetMaterialKp(int id) + { + IQueryable q = _context.MaterialKps; + var result = await q.Where(p => p.MaterialKpID == id).ToListAsync(); + return result; + } + + /// /// 料號基本資料檔 to ItemID @@ -70,17 +84,18 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES IQueryable q = _context.MaterialKps; if (!string.IsNullOrWhiteSpace(itemno)) - q = q.Where(w => w.MaterialItem.ItemNo == itemno); + q = q.Where(w => w.Item.ItemNo == itemno); if (!string.IsNullOrWhiteSpace(station)) q = q.Where(w => w.StationType == station); var materialKpDtos = await q.Select(s => new MaterialKpDto { - ItemName = s.MaterialItem.ItemNo, + ItemName = s.Item.ItemNo, KpName = s.KpName, - Station = s.StationTypeList.TypeDesc, - KpSeq= s.KpSeq, + //Station = s.StationTypeList.TypeDesc, SHANI edit + Station = s.Unit.UnitName, + KpSeq = s.KpSeq, KpNo = s.KpNo, MaterialKpID = s.MaterialKpID, Length = s.Length, @@ -100,6 +115,7 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES { ResultModel result = new ResultModel(); Helper helper = new Helper(_context); + MaterialKp.MaterialKpID = helper.GetIDKey("MATERIALKP_ID").Result; _context.MaterialKps.Add(MaterialKp); try @@ -121,13 +137,18 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES /// 修改料號基本資料檔 /// /// - [HttpPut] - public async Task> PutMaterialKp([FromBody] MaterialKp MaterialKp) + [HttpPut("{id}")] + public async Task> PutMaterialKp(int id,[FromBody] MaterialKp MaterialKp) { ResultModel result = new ResultModel(); - _context.Attach(MaterialKp); - // 指定更新某個欄位 - _context.Entry(MaterialKp).Property(p => p.MaterialKpID).IsModified = true; + if (id != MaterialKp.MaterialKpID) + { + result.Success = false; + result.Msg = "序號錯誤"; + return result; + } + + _context.Entry(MaterialKp).State = EntityState.Modified; try { @@ -146,8 +167,23 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES // DELETE api//5 [HttpDelete("{id}")] - public void DeleteMaterialKp(int id) + public async Task> DeleteMaterialKp(int id) { + ResultModel result = new ResultModel(); + var MaterialKp = await _context.MaterialKps.Where(m => m.MaterialKpID == id).FirstOrDefaultAsync(); + if (MaterialKp == null) + { + result.Success = false; + result.Msg = "序號不存在"; + return result; + } + + _context.MaterialKps.Remove(MaterialKp); + await _context.SaveChangesAsync(); + + result.Success = true; + result.Msg = "OK"; + return result; } } } diff --git a/AMESCoreStudio.WebApi/Models/AMES/MaterialKp.cs b/AMESCoreStudio.WebApi/Models/AMES/MaterialKp.cs index 45bffb31..d479db8e 100644 --- a/AMESCoreStudio.WebApi/Models/AMES/MaterialKp.cs +++ b/AMESCoreStudio.WebApi/Models/AMES/MaterialKp.cs @@ -11,7 +11,7 @@ namespace AMESCoreStudio.WebApi.Models.AMES /// 料號KP資訊資料檔 /// [Table("MATERIAL_KP", Schema = "JHAMES")] - [DataContract] + //[DataContract] public partial class MaterialKp { /// @@ -27,7 +27,7 @@ namespace AMESCoreStudio.WebApi.Models.AMES /// 料號ID /// [Column("ITEM_ID")] - [Display(Name = "料號ID")] + [Display(Name = "料號")] [DataMember] [Required] public int ItemID { get; set; } @@ -37,7 +37,7 @@ namespace AMESCoreStudio.WebApi.Models.AMES /// [Required] [Column("KP_NAME")] - [Display(Name = "KP料號名稱")] + [Display(Name = "組件料號名稱")] [StringLength(25)] [DataMember] public string KpName { get; set; } @@ -47,7 +47,7 @@ namespace AMESCoreStudio.WebApi.Models.AMES /// [Required] [Column("KP_NO")] - [Display(Name = "KP料號NO")] + [Display(Name = "組件料號代碼")] [StringLength(25)] [DataMember] public string KpNo { get; set; } @@ -82,11 +82,21 @@ namespace AMESCoreStudio.WebApi.Models.AMES /// [Required] [Column("STATION_TYPE")] - [Display(Name = "站(前段)")] + [Display(Name = "製程單位")] [StringLength(25)] [DataMember] public string StationType { get; set; } + /// + /// 是否重複 + /// + [Required] + [Column("IS_REPEAT")] + [Display(Name = "是否重複")] + [StringLength(25)] + [DataMember] + public string IsRepeat { get; set; } + /// /// 創建者ID /// @@ -119,12 +129,13 @@ namespace AMESCoreStudio.WebApi.Models.AMES /// 料號主檔 /// [ForeignKey("ItemID")] - public virtual MaterialItem MaterialItem { get; set; } + public virtual MaterialItem Item { get; set; } /// /// 工單機種資料 /// [ForeignKey("StationType")] - public virtual AMESCoreStudio.WebApi.Models.BAS.StationType StationTypeList { get; set; } + public virtual AMESCoreStudio.WebApi.Models.BAS.FactoryUnit Unit { get; set; } + //public virtual AMESCoreStudio.WebApi.Models.BAS.StationType StationTypeList { get; set; } } } diff --git a/AMESCoreStudio.WebApi/Models/BAS/RuninTime.cs b/AMESCoreStudio.WebApi/Models/BAS/RuninTime.cs index de8aad0b..1c04f922 100644 --- a/AMESCoreStudio.WebApi/Models/BAS/RuninTime.cs +++ b/AMESCoreStudio.WebApi/Models/BAS/RuninTime.cs @@ -22,6 +22,25 @@ namespace AMESCoreStudio.WebApi.Models.BAS [DataMember] public string ItemNo { get; set; } + /// + /// 燒機比率 + /// + [Column("RATIO")] + [DataMember] + [Required(ErrorMessage = "{0},不能空白")] + [Display(Name = "燒機比率")] + public int Ratio { get; set; } + + /// + /// 燒機溫度 + /// + [Column("TEMPERATURE")] + [Required(ErrorMessage = "{0},不能空白")] + [Display(Name = "燒機溫度")] + [StringLength(30, ErrorMessage = "{0},不能大于{1}")] + [DataMember] + public string Temperature { get; set; } + /// /// 燒机時間 /// diff --git a/AMESCoreStudio.WebApi/bin/Debug/netcoreapp3.1/AMESCoreStudio.WebApi.Views.dll b/AMESCoreStudio.WebApi/bin/Debug/netcoreapp3.1/AMESCoreStudio.WebApi.Views.dll index 8bff3325..342b94ae 100644 Binary files a/AMESCoreStudio.WebApi/bin/Debug/netcoreapp3.1/AMESCoreStudio.WebApi.Views.dll and b/AMESCoreStudio.WebApi/bin/Debug/netcoreapp3.1/AMESCoreStudio.WebApi.Views.dll differ diff --git a/AMESCoreStudio.WebApi/bin/Debug/netcoreapp3.1/AMESCoreStudio.WebApi.Views.pdb b/AMESCoreStudio.WebApi/bin/Debug/netcoreapp3.1/AMESCoreStudio.WebApi.Views.pdb index 00e1def0..cc6edffd 100644 Binary files a/AMESCoreStudio.WebApi/bin/Debug/netcoreapp3.1/AMESCoreStudio.WebApi.Views.pdb and b/AMESCoreStudio.WebApi/bin/Debug/netcoreapp3.1/AMESCoreStudio.WebApi.Views.pdb differ diff --git a/AMESCoreStudio.WebApi/bin/Debug/netcoreapp3.1/AMESCoreStudio.WebApi.dll b/AMESCoreStudio.WebApi/bin/Debug/netcoreapp3.1/AMESCoreStudio.WebApi.dll index dad0b638..5d86d307 100644 Binary files a/AMESCoreStudio.WebApi/bin/Debug/netcoreapp3.1/AMESCoreStudio.WebApi.dll and b/AMESCoreStudio.WebApi/bin/Debug/netcoreapp3.1/AMESCoreStudio.WebApi.dll differ diff --git a/AMESCoreStudio.WebApi/bin/Debug/netcoreapp3.1/AMESCoreStudio.WebApi.pdb b/AMESCoreStudio.WebApi/bin/Debug/netcoreapp3.1/AMESCoreStudio.WebApi.pdb index 3d965842..559c8a7e 100644 Binary files a/AMESCoreStudio.WebApi/bin/Debug/netcoreapp3.1/AMESCoreStudio.WebApi.pdb and b/AMESCoreStudio.WebApi/bin/Debug/netcoreapp3.1/AMESCoreStudio.WebApi.pdb differ diff --git a/AMESCoreStudio.WebApi/bin/Debug/netcoreapp3.1/AMESCoreStudio.WebApi.xml b/AMESCoreStudio.WebApi/bin/Debug/netcoreapp3.1/AMESCoreStudio.WebApi.xml index 3093081e..167a463f 100644 --- a/AMESCoreStudio.WebApi/bin/Debug/netcoreapp3.1/AMESCoreStudio.WebApi.xml +++ b/AMESCoreStudio.WebApi/bin/Debug/netcoreapp3.1/AMESCoreStudio.WebApi.xml @@ -266,6 +266,13 @@ barcodeID + + + 用barcode獲取資料 + + barcodeID + + 確認組件代碼是否重複 @@ -325,7 +332,7 @@ 條碼過站資料檔 - + @@ -1618,6 +1625,13 @@ + + + 料號基本資料檔 by ID + + MaterialKpID + + 料號基本資料檔 to ItemID @@ -1640,7 +1654,7 @@ - + 修改料號基本資料檔 @@ -2124,6 +2138,66 @@ + + + 維修資料統計by不良代碼 + + + + + + + + + + + + + + + 維修資料統計by維修代碼 + + + + + + + + + + + + + + + 維修資料統計by維修位置 + + + + + + + + + + + + + + + 維修資料統計by責任單位 + + + + + + + + + + + + @@ -3620,6 +3694,20 @@ + + + NgInfo-組件资料 + + + + + + + NgInfo-測試不良基本資料檔 + + + + BarcodeWip-檔案用途 條碼工單資料檔 @@ -9017,6 +9105,11 @@ 站(前段) + + + 是否重複 + + 創建者ID @@ -9037,12 +9130,12 @@ 更新日期 - + 料號主檔 - + 工單機種資料 @@ -12567,6 +12660,16 @@ 料號 + + + 燒機比率 + + + + + 燒機溫度 + + 燒机時間