|  |  |  | 
|---|
|  |  |  | import com.zy.asrs.entity.OrderDetl; | 
|---|
|  |  |  | import com.zy.asrs.entity.StockStatisDTO; | 
|---|
|  |  |  | import com.zy.asrs.entity.WrkDetl; | 
|---|
|  |  |  | import com.zy.asrs.entity.param.StockOutFloorParam; | 
|---|
|  |  |  | import com.zy.asrs.entity.param.StockOutParam; | 
|---|
|  |  |  | import com.zy.asrs.entity.result.StockVo; | 
|---|
|  |  |  | import com.zy.asrs.mapper.LocDetlMapper; | 
|---|
|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | //    @Override | 
|---|
|  |  |  | //    public Page<StockStatisDTO> getStockStatis1(Page<StockStatisDTO> page) { | 
|---|
|  |  |  | //        page.setRecords(baseMapper.asrsAndErpList(page.getCondition())); | 
|---|
|  |  |  | //        page.setTotal(baseMapper.asrsAndErpCount(page.getCondition())); | 
|---|
|  |  |  | //        return page; | 
|---|
|  |  |  | //    } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Override | 
|---|
|  |  |  | public Page<StockStatisDTO> getStockStatis(Page<StockStatisDTO> page) { | 
|---|
|  |  |  | page.setRecords(baseMapper.asrsAndErpList(page.getCondition())); | 
|---|
|  |  |  | page.setTotal(baseMapper.asrsAndErpCount(page.getCondition())); | 
|---|
|  |  |  | public Page<LocDetl> getStockStatis(Page<LocDetl> page) { | 
|---|
|  |  |  | page.setRecords(baseMapper.getStockStatis(page.getCondition())); | 
|---|
|  |  |  | page.setTotal(baseMapper.getStockStatisCount(page.getCondition())); | 
|---|
|  |  |  | return page; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | return null; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | @Override | 
|---|
|  |  |  | public LocDetl selectItem(String locNo, StockOutFloorParam.LocDetl locDetl) { | 
|---|
|  |  |  | List<LocDetl> locDetls = this.baseMapper.selectItem3(locNo, locDetl.getMatnr()); | 
|---|
|  |  |  | if (locDetls != null) { | 
|---|
|  |  |  | for (LocDetl detl : locDetls) { | 
|---|
|  |  |  | if (MatCompareUtils.compare(locDetl, detl)) { | 
|---|
|  |  |  | return detl; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | return null; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|