| | |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | import java.util.Set; |
| | | |
| | | @Service("manLocDetlService") |
| | |
| | | |
| | | @Override |
| | | public Page<ManLocDetl> getPage(Page<ManLocDetl> page) { |
| | | page.setRecords(baseMapper.listByPage(page.getCondition())); |
| | | Map<String, Object> condition = page.getCondition(); |
| | | List<ManLocDetl> manLocDetls = baseMapper.listByPage(condition); |
| | | page.setRecords(manLocDetls); |
| | | page.setTotal(baseMapper.listByPageCount(page.getCondition())); |
| | | return page; |
| | | } |
| | |
| | | return this.baseMapper.selectLocDetlSumQty(locNo); |
| | | } |
| | | |
| | | @Override |
| | | public Page<ManLocDetl> getOutPage(Page<ManLocDetl> manLocDetlPage) { |
| | | Map<String, Object> condition = manLocDetlPage.getCondition(); |
| | | List<ManLocDetl> manLocDetls = baseMapper.listByOutPage(condition); |
| | | manLocDetlPage.setRecords(manLocDetls); |
| | | manLocDetlPage.setTotal(baseMapper.listByOutPageCount(manLocDetlPage.getCondition())); |
| | | return manLocDetlPage; |
| | | } |
| | | |
| | | } |