use of com.megagao.production.ssm.domain.vo.ManufactureVO in project production_ssm by megagao.
the class ManufactureServiceImpl method getList.
@Override
public EUDataGridResult getList(int page, int rows) throws Exception {
// 分页处理
PageHelper.startPage(page, rows);
List<ManufactureVO> list = manufactureMapper.find();
// 创建一个返回值对象
EUDataGridResult result = new EUDataGridResult();
result.setRows(list);
// 取记录总条数
PageInfo<ManufactureVO> pageInfo = new PageInfo<>(list);
result.setTotal(pageInfo.getTotal());
return result;
}
use of com.megagao.production.ssm.domain.vo.ManufactureVO in project production_ssm by megagao.
the class ManufactureServiceImpl method searchManufactureByManufactureTechnologyName.
@Override
public EUDataGridResult searchManufactureByManufactureTechnologyName(Integer page, Integer rows, String manufactureTechnologyName) throws Exception {
// 分页处理
PageHelper.startPage(page, rows);
List<ManufactureVO> list = manufactureMapper.searchManufactureByManufactureTechnologyName(manufactureTechnologyName);
// 创建一个返回值对象
EUDataGridResult result = new EUDataGridResult();
result.setRows(list);
// 取记录总条数
PageInfo<ManufactureVO> pageInfo = new PageInfo<>(list);
result.setTotal(pageInfo.getTotal());
return result;
}
use of com.megagao.production.ssm.domain.vo.ManufactureVO in project production_ssm by megagao.
the class ManufactureServiceImpl method searchManufactureByManufactureSn.
@Override
public EUDataGridResult searchManufactureByManufactureSn(Integer page, Integer rows, String manufactureSn) throws Exception {
// 分页处理
PageHelper.startPage(page, rows);
List<ManufactureVO> list = manufactureMapper.searchManufactureByManufactureSn(manufactureSn);
// 创建一个返回值对象
EUDataGridResult result = new EUDataGridResult();
result.setRows(list);
// 取记录总条数
PageInfo<ManufactureVO> pageInfo = new PageInfo<>(list);
result.setTotal(pageInfo.getTotal());
return result;
}
use of com.megagao.production.ssm.domain.vo.ManufactureVO in project production_ssm by megagao.
the class ManufactureServiceImpl method searchManufactureByManufactureOrderId.
@Override
public EUDataGridResult searchManufactureByManufactureOrderId(Integer page, Integer rows, String manufactureOrderId) throws Exception {
// 分页处理
PageHelper.startPage(page, rows);
List<ManufactureVO> list = manufactureMapper.searchManufactureByManufactureOrderId(manufactureOrderId);
// 创建一个返回值对象
EUDataGridResult result = new EUDataGridResult();
result.setRows(list);
// 取记录总条数
PageInfo<ManufactureVO> pageInfo = new PageInfo<>(list);
result.setTotal(pageInfo.getTotal());
return result;
}
Aggregations