| | |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 获取不良描述信息 |
| | | /// </summary> |
| | | /// <param name="data"></param> |
| | | /// <returns></returns> |
| | | [HttpPost("getBlmsItem")] |
| | | public ResponseResult getBlmsItem([FromBody] JObject data) |
| | | { |
| | | |
| | | |
| | | try |
| | | { |
| | | var tbBillList = new LljService().getBlmsItem(); |
| | | string[] arrRate = tbBillList.AsEnumerable().Select(d => d.Field<string>("DEFECT_NAME")).ToArray(); |
| | | |
| | | |
| | | return new ResponseResult |
| | | { |
| | | status = 0, |
| | | message = "OK", |
| | | data = arrRate |
| | | }; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | |
| | | [HttpPost("SetQSItemDetail")] |
| | | public ResponseResult SetQSItemDetail( |