| | |
| | | var type = _taskSvc.GetTaskType(taskNo); |
| | | if (type == "1")//出库完成 |
| | | { |
| | | _exNoticeSvc.ExportSuccess(taskNo, int.Parse(userId)); |
| | | _exNoticeSvc.ExportSuccess(taskNo, int.Parse(userId), ""); |
| | | } |
| | | else if (type == "2")//出库时产生的移库任务完成 |
| | | { |
| | |
| | | /// <param name="taskNo">任务号</param> |
| | | /// <returns></returns> |
| | | [HttpGet] |
| | | public IActionResult AgainSendSoTask(string taskNo) |
| | | public IActionResult AgainSendSoTask(string taskNo, string Receiver) |
| | | { |
| | | try |
| | | { |
| | |
| | | { |
| | | return Ok(new { code = 1, msg = "未获取到当前操作人信息" }); |
| | | } |
| | | _exNoticeSvc.AgainSendSoTask(taskNo, int.Parse(userId),""); |
| | | _exNoticeSvc.AgainSendSoTask(taskNo,Receiver, int.Parse(userId),""); |
| | | |
| | | return Ok(new { code = 0, msg = "成功下发任务", data = "" }); |
| | | |