| | |
| | | using WIDESEA.Core.Services; |
| | | using WIDESEA.Core.Utilities; |
| | | using WIDESEA.Entity.DomainModels; |
| | | using WIDESEA.Services.IRepositories; |
| | | using WIDESEA.Services.Repositories; |
| | | |
| | | namespace WIDESEA.Services.IServices |
| | |
| | | taskinfo.task_type == TaskType.TaskType_Box_Pallet_Measure_Back.ToString()) && |
| | | (taskState.Contains("_Measure") || taskState == TaskState.TaskState_RGV_Received.ToString())) |
| | | { |
| | | try |
| | | { |
| | | Dt_container_detail tempdetail = Dt_container_detailRepository.Instance.Find(x => x.containerdtl_goodsCode == taskinfo.task_sn).FirstOrDefault(); |
| | | tempdetail.containerdtl_text1 = "æªæµé"; |
| | | Dt_container_detailRepository.Instance.Update(tempdetail, true); |
| | | } |
| | | catch (Exception) |
| | | { |
| | | throw; |
| | | } |
| | | |
| | | //说æè¦åå¤ååºäºï¼å°ä»»å¡ç±»åæ¹ä¸ºæµéååº |
| | | if (taskinfo.task_state == TaskState.TaskState_Measure_Back_Line_Wait_Executing.ToString()) |
| | | { |
| | |
| | | |
| | | taskinfo.task_state = TaskState.TaskState_Measure_Back_Line_Executing.ToString(); |
| | | taskinfo.task_dispatchertime = DateTime.Now; |
| | | |
| | | Dt_taskinfoRepository.Instance.Update(taskinfo, true); |
| | | } |
| | | |