use of com.megagao.production.ssm.domain.customize.EUDataGridResult in project production_ssm by megagao.
the class MeasureServiceImpl method getList.
@Override
public EUDataGridResult getList(Integer page, Integer rows, FinalMeasuretCheck finalMeasuretCheck) throws Exception {
PageHelper.startPage(page, rows);
List<FinalMeasuretCheckVO> list = finalMeasuretCheckMapper.find(finalMeasuretCheck);
// 创建一个返回值对象
EUDataGridResult result = new EUDataGridResult();
result.setRows(list);
// 取记录总条数
PageInfo<FinalMeasuretCheckVO> pageInfo = new PageInfo<>(list);
result.setTotal(pageInfo.getTotal());
return result;
}
use of com.megagao.production.ssm.domain.customize.EUDataGridResult in project production_ssm by megagao.
the class MeasureServiceImpl method searchFMeasureCheckByFMeasureCheckId.
@Override
public EUDataGridResult searchFMeasureCheckByFMeasureCheckId(int page, int rows, String fMeasureCheckId) throws Exception {
// 分页处理
PageHelper.startPage(page, rows);
List<FinalMeasuretCheckVO> list = finalMeasuretCheckMapper.searchFMeasureCheckByFMeasureCheckId(fMeasureCheckId);
// 创建一个返回值对象
EUDataGridResult result = new EUDataGridResult();
result.setRows(list);
// 取记录总条数
PageInfo<FinalMeasuretCheckVO> pageInfo = new PageInfo<>(list);
result.setTotal(pageInfo.getTotal());
return result;
}
use of com.megagao.production.ssm.domain.customize.EUDataGridResult in project production_ssm by megagao.
the class PCountCheckServiceImpl method getList.
@Override
public EUDataGridResult getList(int page, int rows, ProcessCountCheck processCountCheck) throws Exception {
// 分页处理
PageHelper.startPage(page, rows);
List<ProcessCountCheckVO> list = processCountCheckMapper.find(processCountCheck);
// 创建一个返回值对象
EUDataGridResult result = new EUDataGridResult();
result.setRows(list);
// 取记录总条数
PageInfo<ProcessCountCheckVO> pageInfo = new PageInfo<>(list);
result.setTotal(pageInfo.getTotal());
return result;
}
use of com.megagao.production.ssm.domain.customize.EUDataGridResult in project production_ssm by megagao.
the class PermissionServiceImpl method getList.
@Override
public EUDataGridResult getList(int page, int rows, SysRolePermission sysRolePermission) throws Exception {
// 查询列表
SysRolePermissionExample example = new SysRolePermissionExample();
// 分页处理
PageHelper.startPage(page, rows);
List<SysRolePermission> list = sysRolePermissionMapper.selectByExample(example);
// 创建一个返回值对象
EUDataGridResult result = new EUDataGridResult();
result.setRows(list);
// 取记录总条数
PageInfo<SysRolePermission> pageInfo = new PageInfo<>(list);
result.setTotal(pageInfo.getTotal());
return result;
}
use of com.megagao.production.ssm.domain.customize.EUDataGridResult in project production_ssm by megagao.
the class MaterialConsumeServiceImpl method getList.
@Override
public EUDataGridResult getList(int page, int rows, MaterialConsumeVO materialConsume) throws Exception {
// TODO Auto-generated method stub
// 分页处理
PageHelper.startPage(page, rows);
List<MaterialConsumeVO> list = materialConsumeMapper.find(materialConsume);
// 创建一个返回值对象
EUDataGridResult result = new EUDataGridResult();
result.setRows(list);
// 取记录总条数
PageInfo<MaterialConsumeVO> pageInfo = new PageInfo<>(list);
result.setTotal(pageInfo.getTotal());
return result;
}
Aggregations