| | |
| | | package com.thhy.materials.modules.biz.weigh.service.impl; |
| | | |
| | | import com.github.pagehelper.PageHelper; |
| | | import com.github.pagehelper.PageInfo; |
| | | import com.thhy.general.common.BasicResult; |
| | | import com.thhy.materials.modules.biz.concret.entity.dto.DicetName; |
| | | import com.thhy.materials.modules.biz.concret.entity.dto.TMinxingPlant; |
| | | import com.thhy.materials.modules.biz.concret.entity.dto.WeighDto; |
| | | import com.thhy.materials.modules.biz.weigh.dto.QueryWeighDto; |
| | | import com.thhy.materials.modules.biz.weigh.entity.TWeighbridge; |
| | | import com.thhy.materials.modules.biz.weigh.entity.WeighVo; |
| | | import com.thhy.materials.modules.biz.weigh.mapper.WeighMapper; |
| | | import com.thhy.materials.modules.biz.weigh.service.WeighService; |
| | |
| | | List<WeighDto> WeighVo= weighMapper.findAlltaskAllNew(dictName); |
| | | return WeighVo; |
| | | } |
| | | |
| | | @Override |
| | | public BasicResult weighbridgeList(Map<String, Object> values) { |
| | | Integer pageSize = Integer.valueOf(values.get("pageSize").toString()); |
| | | Integer pageNum = Integer.valueOf(values.get("pageNum").toString()); |
| | | PageHelper.startPage(pageNum,pageSize); |
| | | List<TWeighbridge> weighbridges = weighMapper.weighbridgeList(values); |
| | | PageInfo<TWeighbridge> tWeighbridgePageInfo = new PageInfo<>(weighbridges); |
| | | return BasicResult.success(tWeighbridgePageInfo); |
| | | } |
| | | } |