| | |
| | | import com.zy.common.model.LocDto; |
| | | import com.zy.common.model.TaskDto; |
| | | import com.zy.common.web.BaseController; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | |
| | | */ |
| | | |
| | | @RestController |
| | | @Slf4j |
| | | public class OutController extends BaseController { |
| | | |
| | | @Autowired |
| | |
| | | //} |
| | | // locDetls = locDetlService.queryStockByBomcode(orderDetl.getMatnr(), orderDetl.getBatch(), orderDetl.getBomCode(),null, exist); |
| | | for (LocDetl locDetl : locDetls) { |
| | | if (exist.contains(locDetl.getLocNo())) { |
| | | if (exist2.contains(locDetl.getLocNo())) { |
| | | for (LocDto locDto : locDtos) { |
| | | if(Cools.isEmpty(locDto.getLocNo())) { continue; } |
| | | if (locDto.getLocNo().equals(locDetl.getLocNo())) { |
| | |
| | | } |
| | | } |
| | | // ----------------------------------------------------------------------------------------------- |
| | | log.info("出库分组数据:{}",taskDtos); |
| | | for (TaskDto taskDto : taskDtos) { |
| | | BasDevp staNo = basDevpService.checkSiteStatus(taskDto.getStaNo()); |
| | | workService.stockOut(staNo, taskDto, getUserId()); |