| | |
| | | { |
| | | item.remark = "触åå
¥åºä»»å¡,使ªæ¾å°å·¥åä¿¡æ¯ï¼"; |
| | | item.location_state = LocationStateEnum.Abnormal.ToString(); |
| | | stationinfoRepository.Update(item, true); |
| | | stationinfoRepository.Update(item, x => new { x.remark, x.location_state }, true); |
| | | continue; |
| | | } |
| | | var geometry = Pipeline.QueryMateriel(work.drawingNo); |
| | | if (geometry == null) |
| | | { |
| | | item.remark = "æªæ¾å°è½¦è½®ä¿¡æ¯ï¼"; |
| | | item.location_state = LocationStateEnum.Abnormal.ToString(); |
| | | stationinfoRepository.Update(item, x => new { x.remark, x.location_state }, true); |
| | | continue; |
| | | } |
| | | |
| | |
| | | string tasktype = ""; |
| | | |
| | | //if (item.quantity == 5) |
| | | if (item.quantity == work.stackNoRange) |
| | | if (item.quantity == geometry.stackNoRange) |
| | | { |
| | | if (!string.IsNullOrEmpty(work.area) || item.stationCode.Contains("3")) |
| | | tasktype = "TaskType_OutsourceInbound"; |