| | |
| | | Dt_Task dbtask = Repository.Db.Queryable<Dt_Task>().Where(x => x.PalletCode == palletCode).OrderByDescending(x=>x.CreateDate).First(); |
| | | if (dbtask != null) |
| | | { |
| | | _logger.LogInformation(dbtask.TaskType.ToString()); |
| | | if (dbtask.TaskType == TaskTypeEnum.Outbound.ObjToInt()) |
| | | { |
| | | return WebResponseContent.Instance.Error($"åºåºå¾
忣任å¡"); |
| | | } |
| | | else if (dbtask.TaskType == TaskTypeEnum.OutAllocate.ObjToInt()) |
| | | { |
| | | return WebResponseContent.Instance.Error($"åºåºå¾
忣任å¡"); |
| | | } |
| | | else |
| | | { |
| | | return WebResponseContent.Instance.Error($"该æçå·²çæä»»å¡"); |