| | |
| | | package com.ruoyi.system; |
| | | |
| | | |
| | | import com.ruoyi.system.service.staff.SysWxCpService; |
| | | import org.junit.runner.RunWith; |
| | | import org.springframework.boot.test.context.SpringBootTest; |
| | | import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | /** |
| | | * @ClassName systemTest |
| | | * @Description TODO |
| | | * @Author jqs |
| | | * @Date 2023/6/7 10:57 |
| | | * @Version 1.0 |
| | | */ |
| | | @RunWith(SpringJUnit4ClassRunner.class) |
| | | @SpringBootTest(classes = RuoYiSystemApplication.class) |
| | | public class systemTest { |
| | | |
| | | @Resource |
| | | private SysWxCpService sysWxCpService; |
| | | |
| | | } |
| | | //package com.ruoyi.system; |
| | | // |
| | | // |
| | | //import com.ruoyi.system.api.domain.poji.sys.SysUser; |
| | | //import com.ruoyi.system.domain.pojo.sys.SysMenu; |
| | | //import com.ruoyi.system.domain.vo.RouterVo; |
| | | //import com.ruoyi.system.service.staff.SysStaffService; |
| | | //import com.ruoyi.system.service.staff.SysWxCpService; |
| | | //import com.ruoyi.system.service.sys.ISysMenuService; |
| | | //import com.ruoyi.system.service.sys.ISysUserService; |
| | | //import org.junit.Test; |
| | | //import org.junit.runner.RunWith; |
| | | //import org.springframework.beans.factory.annotation.Autowired; |
| | | //import org.springframework.boot.test.context.SpringBootTest; |
| | | //import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; |
| | | // |
| | | //import javax.annotation.Resource; |
| | | //import java.util.List; |
| | | // |
| | | ///** |
| | | // * @ClassName systemTest |
| | | // * @Description TODO |
| | | // * @Author jqs |
| | | // * @Date 2023/6/7 10:57 |
| | | // * @Version 1.0 |
| | | // */ |
| | | //@RunWith(SpringJUnit4ClassRunner.class) |
| | | //@SpringBootTest(classes = RuoYiSystemApplication.class) |
| | | //public class systemTest { |
| | | // |
| | | // @Resource |
| | | // private SysWxCpService sysWxCpService; |
| | | // |
| | | // @Resource |
| | | // private SysStaffService sysStaffService; |
| | | // |
| | | // @Resource |
| | | // private ISysMenuService menuService; |
| | | // |
| | | // @Autowired |
| | | // private ISysUserService sysUserService; |
| | | // |
| | | // @Test |
| | | // public void main() { |
| | | // SysUser sysUser = sysUserService.selectUserById(6323L); |
| | | // System.out.println(sysUser.getDataScopeEmployee()); |
| | | // } |
| | | // |
| | | //} |