| | |
| | | |
| | | import cn.hutool.core.lang.Assert; |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.toolkit.CollectionUtils; |
| | | import com.github.yulichang.base.MPJBaseServiceImpl; |
| | | import com.github.yulichang.toolkit.JoinWrappers; |
| | |
| | | } |
| | | |
| | | @Override |
| | | public List<BigStorageRelationDTO> queryIsAllNeedDispatchVirtualSlot() { |
| | | return baseMapper.queryIsAllNeedDispatchVirtualSlot(); |
| | | public List<BigStorageRelationDTO> queryIsAllNeedDispatchVirtualSlot(List<Integer> deviceIdList) { |
| | | return baseMapper.queryIsAllNeedDispatchVirtualSlot(deviceIdList); |
| | | } |
| | | |
| | | @Override |
| | |
| | | public void updateDeviceIdBySlot(List<Integer> slotList) { |
| | | baseMapper.updateDeviceIdBySlot(slotList); |
| | | } |
| | | |
| | | @Override |
| | | public List<BigStorageCageDetails> queryEngineer() { |
| | | QueryWrapper<BigStorageCageDetails> wrapper = new QueryWrapper<>(); |
| | | wrapper.select("distinct engineer_id") |
| | | .eq("state", 100); |
| | | return this.list(wrapper); |
| | | } |
| | | |
| | | @Override |
| | | public List<BigStorageCageDetails> queryNeedDispatch() { |
| | | return baseMapper.queryNeedDispatch(); |
| | | } |
| | | |
| | | @Override |
| | | public BigStorageSlotDTO queryNeedDispatchSlotBySequence() { |
| | | return baseMapper.queryNeedDispatchSlotBySequence(); |
| | | } |
| | | } |