| | |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 修改 |
| | |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region 现场管理 |
| | | |
| | | //GetItemsByDaa001 |
| | | /// <summary> |
| | | /// 扫描注塑码,获取工单和条码信息 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost("getZsBarInfo")] |
| | | public ResponseResult getZsBarInfo([FromBody] dynamic query) |
| | | { |
| | | try |
| | | { |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | // 先初始化tbBillList属性 |
| | | resultInfos.tbBillList = new ExpandoObject(); |
| | | resultInfos.tbBillList.ZsBarInfo = m.getZsBarInfo(query); |
| | | resultInfos.tbBillList.Traceability = m.getTraceability(query); |
| | | return new ResponseResult |
| | | { |
| | | status = 0, |
| | | message = "OK", |
| | | data = resultInfos |
| | | }; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | #endregion |
| | | } |