示例#1
0
 @Test
 public void selectList() {
   List<Info> infoList = infoRepository.selectList(InfoType.PRODUCT.getCode(), 1, 10);
   for (Info info : infoList) {
     log.info(info.toString());
   }
 }
示例#2
0
 @Test
 public void selectAllCategoryList() {
   List<Info> infoList = infoRepository.selectAllCategoryList(ProductType.INTERNAL.getCode());
   for (Info info : infoList) {
     log.info(info.toString());
   }
 }
示例#3
0
 @Test
 public void selectOne() {
   Info info = infoRepository.selectOne("001");
   log.info(info.toString());
 }