use of com.bc.pmpheep.back.po.DecTeachExp in project pmph by BCSquad.
the class DecTeachExpServiceTest method testGetDecTeachExp.
@Test
@Rollback(Const.ISROLLBACK)
public void testGetDecTeachExp() {
long id = add().getId();
DecTeachExp decTeachExp = decTeachExpService.getDecTeachExpById(id);
Assert.assertNotNull("获取作家教学经历信息失败", decTeachExp);
}
use of com.bc.pmpheep.back.po.DecTeachExp in project pmph by BCSquad.
the class DecTeachExpServiceTest method testUpdateDecTeachExp.
@Test
@Rollback(Const.ISROLLBACK)
public void testUpdateDecTeachExp() {
DecTeachExp decTeachExp = add();
decTeachExp.setDeclarationId(2L);
decTeachExp.setSort(13);
Integer count = decTeachExpService.updateDecTeachExp(decTeachExp);
Assert.assertTrue("数据更新失败", count > 0);
}
Aggregations