示例#1
0
 @Override
 public List<AssemblyVO> getTestingAssemblies(Page page) {
   List<AssemblyDO> dos = assemblyDOMapper.selectTestingAssemblies(page);
   if (page != null) {
     int records = assemblyDOMapper.countTestingAssemblies();
     page.setTotalRecords(records);
     page.setSearchedRecords(records);
   }
   return convert2AssemblyVOs(dos);
 }
示例#2
0
 @Override
 public List<AssemblyVO> getPublishedAssemblies(Page page) {
   List<AssemblyVO> vos = new ArrayList<>();
   List<AssemblyDO> dos = assemblyDOMapper.selectAssembliesPublished(page);
   if (page != null) {
     int records = assemblyDOMapper.countAssembliesPublished();
     page.setTotalRecords(records);
     page.setSearchedRecords(records);
   }
   return convertPublishedAssemblyDOs2VOs(dos);
 }