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);
}
Aggregations