Search in sources :

Example 6 with Dept

use of com.ikoori.vip.common.persistence.model.Dept in project vip by guangdada.

the class DeptTest method updateTest.

@Test
public void updateTest() {
    Dept dept = this.deptMapper.selectById(24);
    dept.setTips("哈哈");
    boolean flag = dept.updateById();
    assertTrue(flag);
}
Also used : Dept(com.ikoori.vip.common.persistence.model.Dept) Test(org.junit.Test)

Aggregations

Dept (com.ikoori.vip.common.persistence.model.Dept)6 Test (org.junit.Test)3 EntityWrapper (com.baomidou.mybatisplus.mapper.EntityWrapper)1 Permission (com.ikoori.vip.common.annotion.Permission)1 RequestMapping (org.springframework.web.bind.annotation.RequestMapping)1