| | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.Collections; |
| | | import java.util.List; |
| | | |
| | | @Service("locMastService") |
| | |
| | | public List<LocMast> queryFreeLocMast2(Short locType1, Integer rowBeg, Integer rowEnd, Integer bayBeg, Integer bayEnd, Integer levBeg, Integer levEnd) { |
| | | return this.baseMapper.queryFreeLocMast2(locType1, rowBeg, rowEnd, bayBeg, bayEnd, levBeg, levEnd); |
| | | } |
| | | |
| | | @Override |
| | | public void batchUpdateArea(List<String> locNos, Short areaId) { |
| | | if (Cools.isEmpty(locNos)) return; |
| | | java.util.List<LocMast> list = new java.util.ArrayList<>(); |
| | | for (String locNo : locNos) { |
| | | LocMast loc = new LocMast(); |
| | | loc.setLocNo(locNo); |
| | | loc.setLocType2(areaId); |
| | | list.add(loc); |
| | | } |
| | | this.updateBatchById(list); |
| | | } |
| | | |
| | | @Override |
| | | public List<Integer> getLevList() { |
| | | return this.baseMapper.getLevList(); |
| | | } |
| | | } |