| | |
| | | @Transactional |
| | | public R callEmptyBinOutBound(String staNo, String locType, String palletFormat, String agvTaskNo, Long userId) { |
| | | EntityWrapper<LocMast> wrapper = new EntityWrapper<>(); |
| | | wrapper.eq("loc_sts", 'D').eq("loc_type2", locType); |
| | | wrapper.eq("loc_sts", "D").eq("loc_type2", Integer.parseInt(locType)); |
| | | if (palletFormat != null && !palletFormat.isEmpty()) { |
| | | wrapper.like("barcode", palletFormat); |
| | | } |
| | |
| | | wrkMast.setEmptyMk("Y"); // 空板 |
| | | wrkMast.setLinkMis("N"); |
| | | wrkMast.setUserNo(agvTaskNo); |
| | | wrkMast.setUserNo(String.valueOf(agvTaskNo)); |
| | | wrkMast.setAppeUser(userId); |
| | | wrkMast.setAppeTime(now); |
| | | wrkMast.setModiUser(userId); |
| | | wrkMast.setModiTime(now); |
| | | wrkMast.setMemo(staNo); |
| | | wrkMast.setUserNo(String.valueOf(agvTaskNo)); |
| | | wrkMastService.insert(wrkMast); |
| | | |
| | | // 更新库位状态 |