| | |
| | | using Newtonsoft.Json; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using Newtonsoft.Json; |
| | | using Rhea.Common; |
| | | using System; |
| | | using Tiger.Model; |
| | |
| | | public List<BAS_DEFECT> Defects { get; } |
| | | |
| | | /// <summary> |
| | | /// 更新工单批次资料 |
| | | /// </summary> |
| | | /// <param name="updateAll"></param> |
| | | public void Update(bool updateAll = false); |
| | | /// <summary> |
| | | /// 工单开工 |
| | | /// </summary> |
| | | /// <param name="user"></param> |
| | | /// <returns></returns> |
| | | public bool StartWorking(string user); |
| | | /// <summary> |
| | | /// 检查工单是否完工,已完工则修改相应状态并记录到数据库 |
| | | /// </summary> |
| | | /// <param name="user"></param> |
| | | /// <returns></returns> |
| | | public Task<bool> CheckIsComplete(string user); |
| | | /// <summary> |
| | | /// 根据岗位编码判断是不是首站 |
| | | /// </summary> |
| | | /// <param name="postCode"></param> |