| | |
| | | import com.zy.asrs.entity.result.FindLocNoAttributeVo; |
| | | import com.zy.asrs.mapper.WrkMastLogMapper; |
| | | import com.zy.asrs.mapper.WrkMastMapper; |
| | | import com.zy.asrs.service.InboundCameraCaptureService; |
| | | import com.zy.asrs.service.WrkMastService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | @Override |
| | | public List<WrkMast> selectToBeHistoryData() { |
| | | return this.baseMapper.selectToBeHistoryData(); |
| | | } |
| | | |
| | | @Override |
| | | public List<WrkMast> selectPendingInboundCameraCapture() { |
| | | return this.baseMapper.selectPendingInboundCameraCapture( |
| | | InboundCameraCaptureService.CAPTURE_PENDING, |
| | | InboundCameraCaptureService.CAPTURE_RUNNING); |
| | | } |
| | | |
| | | @Override |
| | | public boolean updateMemoIfCurrent(Integer wrkNo, String current, String next) { |
| | | return this.baseMapper.updateMemoIfCurrent(wrkNo, current, next) > 0; |
| | | } |
| | | |
| | | @Override |
| | |
| | | } |
| | | |
| | | @Override |
| | | public int outboundSeqMaxContiguousPlt(String userNo) { |
| | | List<Integer> fromMast = baseMapper.listOutboundPltTypesByUserNo(userNo); |
| | | List<Integer> fromLog = wrkMastLogMapper.listOutboundPltTypesByUserNo(userNo); |
| | | public int outboundSeqMaxContiguousPlt(String userNo, String batchSeq) { |
| | | List<Integer> fromMast = baseMapper.listOutboundPltTypesByUserNo(userNo, batchSeq); |
| | | List<Integer> fromLog = wrkMastLogMapper.listOutboundPltTypesByUserNo(userNo, batchSeq); |
| | | Set<Integer> filled = new HashSet<>(); |
| | | addPositivePlt(fromMast, filled); |
| | | addPositivePlt(fromLog, filled); |