Search in sources :

Example 6 with OrganInfoVO

use of sqltoy.showcase.system.vo.OrganInfoVO in project sagacity-sqltoy by chenrenfei.

the class OrganInfoServiceTest method testAdd.

/**
 * Test method for
 * {@link sqltoy.showcase.system.service.impl.OrganInfoServiceImpl#add(sqltoy.showcase.system.vo.OrganInfoVO)}
 * .
 */
@Test
public void testAdd() {
    OrganInfoVO organInfoVO = new OrganInfoVO();
    organInfoVO.setOrganId("1");
    // 先删除
    sqlToyCRUDService.delete(organInfoVO);
    organInfoVO.setOrganName("睿智科技有限公司");
    organInfoVO.setAliasName("睿智科技");
    organInfoVO.setStatus("1");
    organInfoVO.setOperateDate(new Date());
    organInfoVO.setOrganCode("S000001");
    organInfoVO.setOperator("admin");
    organInfoVO.setOrganPid("-1");
    organInfoService.add(organInfoVO);
}
Also used : OrganInfoVO(sqltoy.showcase.system.vo.OrganInfoVO) Date(java.util.Date) Test(org.junit.Test)

Aggregations

Test (org.junit.Test)6 OrganInfoVO (sqltoy.showcase.system.vo.OrganInfoVO)6 ArrayList (java.util.ArrayList)2 Date (java.util.Date)2 PaginationModel (org.sagacity.sqltoy.model.PaginationModel)2 List (java.util.List)1