%!s(int64=5) %!d(string=hai) anos
pai
achega
f9c4c3cbfa

+ 0 - 16
cloud-model/src/test/java/com/hssx/cloudmodel/CloudModelApplicationTests.java

@@ -1,9 +1,5 @@
 package com.hssx.cloudmodel;
 
-import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
-import com.github.pagehelper.PageHelper;
-import com.github.pagehelper.PageInfo;
-import com.hssx.cloudmodel.entity.Role;
 import com.hssx.cloudmodel.service.RoleService;
 import org.junit.Test;
 import org.junit.runner.RunWith;
@@ -20,18 +16,6 @@ public class CloudModelApplicationTests {
     private RoleService roleService;
     @Test
     public void contextLoads() {
-        QueryWrapper<Role> qw = new QueryWrapper<>();
-//
-//        if (cif (keyName != null) {
-////            qw.like("role_name", keyName);
-////        }urrentPage == null || currentPage <= 0) {
-//            currentPage = 1;
-//        }
-        PageHelper.startPage(1,5);
-        List<Role> roles = roleService.list(qw);
-        PageInfo page = new PageInfo(roles);
-        System.out.println("CloudModelApplicationTests.contextLoads"+page);
-
     }
 
 }