Search in sources :

Example 11 with DecWorkExp

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

the class DecWorkExpServiceTest method testAddDecWorkExp.

@Test
@Rollback(Const.ISROLLBACK)
public void testAddDecWorkExp() {
    DecWorkExp decWorkExp = new DecWorkExp();
    decWorkExp.setDeclarationId(10L);
    decWorkExp.setOrgName("华中师范大学");
    decWorkExp.setPosition("教授");
    decWorkExp.setSort(10);
    decWorkExp = decWorkExpService.addDecWorkExp(decWorkExp);
    Assert.assertTrue("添加数据失败", decWorkExp.getId() > 0);
}
Also used : DecWorkExp(com.bc.pmpheep.back.po.DecWorkExp) Test(org.junit.Test) BaseTest(com.bc.pmpheep.test.BaseTest) Rollback(org.springframework.test.annotation.Rollback)

Example 12 with DecWorkExp

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

the class DecWorkExpServiceTest method add.

private DecWorkExp add() {
    DecWorkExp decWorkExp = new DecWorkExp();
    decWorkExp.setDeclarationId(7L);
    decWorkExp.setOrgName("西南大学");
    decWorkExp.setPosition("讲师");
    decWorkExp.setNote("职称变更");
    decWorkExp.setDateBegin("2010-05");
    decWorkExp.setDateEnd("2014-02");
    decWorkExp.setSort(7);
    decWorkExpService.addDecWorkExp(decWorkExp);
    DecWorkExp decWorkExp2 = new DecWorkExp(7L, "湖南师范大学", "副教授", "副院长", "2000-01", "2010-03", 8);
    decWorkExpService.addDecWorkExp(decWorkExp2);
    DecWorkExp decWorkExp3 = new DecWorkExp(6L, "天津师范大学", "教授", null, "1995-05", null, null);
    decWorkExpService.addDecWorkExp(decWorkExp3);
    return decWorkExp3;
}
Also used : DecWorkExp(com.bc.pmpheep.back.po.DecWorkExp)

Aggregations

DecWorkExp (com.bc.pmpheep.back.po.DecWorkExp)12 DecAcade (com.bc.pmpheep.back.po.DecAcade)5 DecCourseConstruction (com.bc.pmpheep.back.po.DecCourseConstruction)5 DecEduExp (com.bc.pmpheep.back.po.DecEduExp)5 DecLastPosition (com.bc.pmpheep.back.po.DecLastPosition)5 DecNationalPlan (com.bc.pmpheep.back.po.DecNationalPlan)5 DecResearch (com.bc.pmpheep.back.po.DecResearch)5 DecTeachExp (com.bc.pmpheep.back.po.DecTeachExp)5 DecTextbook (com.bc.pmpheep.back.po.DecTextbook)5 ArrayList (java.util.ArrayList)5 DecAcadeReward (com.bc.pmpheep.back.po.DecAcadeReward)4 DecAchievement (com.bc.pmpheep.back.po.DecAchievement)4 DecClinicalReward (com.bc.pmpheep.back.po.DecClinicalReward)4 DecIntention (com.bc.pmpheep.back.po.DecIntention)4 DecMonograph (com.bc.pmpheep.back.po.DecMonograph)4 DecMoocDigital (com.bc.pmpheep.back.po.DecMoocDigital)4 DecPublishReward (com.bc.pmpheep.back.po.DecPublishReward)4 DecSci (com.bc.pmpheep.back.po.DecSci)4 DecTextbookPmph (com.bc.pmpheep.back.po.DecTextbookPmph)4 DecExtensionVO (com.bc.pmpheep.back.vo.DecExtensionVO)4