| | |
| | | package com.zy.asrs.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.plugins.Page; |
| | | import com.baomidou.mybatisplus.service.impl.ServiceImpl; |
| | | import com.zy.asrs.entity.HalfBarcode; |
| | | import com.zy.asrs.mapper.HalfBarcodeMapper; |
| | | import com.zy.asrs.service.HalfBarcodeService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | @Service("HalfBarcodeService") |
| | | public class HalfBarcodeServiceImpl extends ServiceImpl<HalfBarcodeMapper, HalfBarcode> implements HalfBarcodeService { |
| | |
| | | public boolean half(HalfBarcode halfBarcode) { |
| | | return halfBarcodeMapper.half(halfBarcode); |
| | | } |
| | | |
| | | @Override |
| | | public Page<HalfBarcode> getPage(HalfBarcode halfBarcode, Page<HalfBarcode> page1) { |
| | | List<HalfBarcode> list = this.halfBarcodeMapper.getList(page1, halfBarcode); |
| | | page1.setRecords(list); |
| | | return page1; |
| | | } |
| | | } |