Search in sources :

Example 6 with DecAchievement

use of com.bc.pmpheep.back.po.DecAchievement in project pmph by BCSquad.

the class DecAchievementServiceTest method testAddDecAchievement.

@Test
@Rollback(Const.ISROLLBACK)
public void testAddDecAchievement() {
    DecAchievement decAchievement = new DecAchievement();
    decAchievement.setDeclarationId(2L);
    decAchievement.setContent("djaskdjlasjdk");
    decAchievementService.addDecAchievement(decAchievement);
    Assert.assertTrue("添加数据失败", decAchievement.getId() > 0);
}
Also used : DecAchievement(com.bc.pmpheep.back.po.DecAchievement) Test(org.junit.Test) BaseTest(com.bc.pmpheep.test.BaseTest) Rollback(org.springframework.test.annotation.Rollback)

Aggregations

DecAchievement (com.bc.pmpheep.back.po.DecAchievement)6 DecAcade (com.bc.pmpheep.back.po.DecAcade)4 DecAcadeReward (com.bc.pmpheep.back.po.DecAcadeReward)4 DecClinicalReward (com.bc.pmpheep.back.po.DecClinicalReward)4 DecCourseConstruction (com.bc.pmpheep.back.po.DecCourseConstruction)4 DecEduExp (com.bc.pmpheep.back.po.DecEduExp)4 DecIntention (com.bc.pmpheep.back.po.DecIntention)4 DecLastPosition (com.bc.pmpheep.back.po.DecLastPosition)4 DecMonograph (com.bc.pmpheep.back.po.DecMonograph)4 DecMoocDigital (com.bc.pmpheep.back.po.DecMoocDigital)4 DecNationalPlan (com.bc.pmpheep.back.po.DecNationalPlan)4 DecPublishReward (com.bc.pmpheep.back.po.DecPublishReward)4 DecResearch (com.bc.pmpheep.back.po.DecResearch)4 DecSci (com.bc.pmpheep.back.po.DecSci)4 DecTeachExp (com.bc.pmpheep.back.po.DecTeachExp)4 DecTextbook (com.bc.pmpheep.back.po.DecTextbook)4 DecTextbookPmph (com.bc.pmpheep.back.po.DecTextbookPmph)4 DecWorkExp (com.bc.pmpheep.back.po.DecWorkExp)4 DecExtensionVO (com.bc.pmpheep.back.vo.DecExtensionVO)4 DeclarationOrDisplayVO (com.bc.pmpheep.back.vo.DeclarationOrDisplayVO)3