| | |
| | | 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> 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 |
| | | public WrkMast selectByBarcode(String barcode) { |
| | | List<WrkMast> wrkMasts = this.selectList(new EntityWrapper<WrkMast>().eq("barcode", barcode)); |
| | | if (Cools.isEmpty(wrkMasts)) { |