Search in sources :

Example 6 with OrgAndOrgUserVO

use of com.bc.pmpheep.back.vo.OrgAndOrgUserVO in project pmph by BCSquad.

the class OrgUserSeviceTest method testGetListOrgUserVO.

@Test
public void testGetListOrgUserVO() {
    PageParameter pageParameter = new PageParameter<>();
    PageResult pageResult = new PageResult<>();
    OrgAndOrgUserVO managerVO = new OrgAndOrgUserVO();
    managerVO.setUsername(null);
    managerVO.setRealname(null);
    managerVO.setOrgName(null);
    pageParameter.setParameter(managerVO);
    pageParameter.setStart(1);
    pageParameter.setPageSize(15);
    pageResult = orgUserService.getListOrgUser(pageParameter);
    Assert.assertNotNull("获取失败", pageResult);
}
Also used : OrgAndOrgUserVO(com.bc.pmpheep.back.vo.OrgAndOrgUserVO) PageParameter(com.bc.pmpheep.back.plugin.PageParameter) PageResult(com.bc.pmpheep.back.plugin.PageResult) Test(org.junit.Test) BaseTest(com.bc.pmpheep.test.BaseTest)

Aggregations

OrgAndOrgUserVO (com.bc.pmpheep.back.vo.OrgAndOrgUserVO)6 PageParameter (com.bc.pmpheep.back.plugin.PageParameter)5 LogDetail (com.bc.pmpheep.annotation.LogDetail)3 RequestMapping (org.springframework.web.bind.annotation.RequestMapping)3 ResponseBody (org.springframework.web.bind.annotation.ResponseBody)3 ResponseBean (com.bc.pmpheep.controller.bean.ResponseBean)2 CheckedServiceException (com.bc.pmpheep.service.exception.CheckedServiceException)2 BaseTest (com.bc.pmpheep.test.BaseTest)2 IOException (java.io.IOException)2 Workbook (org.apache.poi.ss.usermodel.Workbook)2 Test (org.junit.Test)2 PageResult (com.bc.pmpheep.back.plugin.PageResult)1 Org (com.bc.pmpheep.back.po.Org)1 OrgUser (com.bc.pmpheep.back.po.OrgUser)1 OrgVO (com.bc.pmpheep.back.vo.OrgVO)1 BufferedOutputStream (java.io.BufferedOutputStream)1 FileNotFoundException (java.io.FileNotFoundException)1 InputStream (java.io.InputStream)1 OutputStream (java.io.OutputStream)1 UnsupportedEncodingException (java.io.UnsupportedEncodingException)1