| | |
| | | import com.baomidou.mybatisplus.service.impl.ServiceImpl; |
| | | import com.core.common.Cools; |
| | | import com.zy.asrs.entity.WrkMast; |
| | | import com.zy.asrs.entity.result.FindLocNoAttributeVo; |
| | | import com.zy.asrs.mapper.WrkMastMapper; |
| | | import com.zy.asrs.service.WrkMastService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | |
| | | return wrkMasts.get(0); |
| | | } |
| | | |
| | | @Override |
| | | public int getStoreCount(Integer crnNo) { |
| | | return selectCount(new EntityWrapper<WrkMast>().eq("crn_no", crnNo) |
| | | .last(" and (wrk_sts in (1,2) or (wrk_sts=3 and wrk_no in (select wrk_no from asr_bas_devp)))")); |
| | | } |
| | | |
| | | @Override |
| | | public int selectWrkMastBareBoardStaNo(Integer ioType,Integer staNo) { |
| | | return this.baseMapper.selectWrkMastBareBoardStaNo(ioType,staNo); |
| | | } |
| | | |
| | | @Override |
| | | public List<WrkMast> selectWrkMastWrkDetl(Integer ioType, FindLocNoAttributeVo findLocNoAttributeVo, Integer crnNo) { |
| | | return this.baseMapper.selectWrkMastWrkDetl(ioType,findLocNoAttributeVo.getMatnr(),findLocNoAttributeVo.getBatch(),findLocNoAttributeVo.getBrand() |
| | | ,findLocNoAttributeVo.getStandby1(),findLocNoAttributeVo.getStandby2(),findLocNoAttributeVo.getStandby3() |
| | | ,findLocNoAttributeVo.getBoxType1(),findLocNoAttributeVo.getBoxType2(),findLocNoAttributeVo.getBoxType3() |
| | | ,crnNo); |
| | | } |
| | | } |