|
@@ -106,6 +106,47 @@ public class UserCertificateServiceImpl extends ServiceImpl<UserCertificateMappe
|
|
|
chapterVo.setTotalTime(secTotalTime);
|
|
|
}
|
|
|
userCertificateVo.setChapterList(chapterList);
|
|
|
+ if(userCertificateVo.getKeyValue().equals("certificate01")){
|
|
|
+ userCertificateVo.setMajorType("继续教育(专业)");
|
|
|
+ }
|
|
|
+ else if(userCertificateVo.getKeyValue().equals("certificate02")){
|
|
|
+ userCertificateVo.setMajorType("继续教育(选修)");
|
|
|
+ }
|
|
|
+ else if(userCertificateVo.getKeyValue().equals("certificate03")){
|
|
|
+ userCertificateVo.setMajorType("一级注册建造师(必修)");
|
|
|
+ }
|
|
|
+ else if(userCertificateVo.getKeyValue().equals("certificate04")){
|
|
|
+ userCertificateVo.setMajorType("一级注册建造师(选修)");
|
|
|
+ }
|
|
|
+ else if(userCertificateVo.getKeyValue().equals("certificate05")){
|
|
|
+ userCertificateVo.setMajorType("一级注册建造师(选修)");
|
|
|
+ }
|
|
|
+ else if(userCertificateVo.getKeyValue().equals("certificate06")){
|
|
|
+ userCertificateVo.setMajorType("一级注册建造师(选修)");
|
|
|
+ }
|
|
|
+ else if(userCertificateVo.getKeyValue().equals("certificate07")){
|
|
|
+ userCertificateVo.setMajorType("一级注册建造师(选修)");
|
|
|
+ }
|
|
|
+ else if(userCertificateVo.getKeyValue().equals("certificate08")){
|
|
|
+ userCertificateVo.setMajorType("一级注册建造师(选修)");
|
|
|
+ }
|
|
|
+ else if(userCertificateVo.getKeyValue().equals("certificate10")){
|
|
|
+ userCertificateVo.setMajorType("施工现场专业人员继续教育");
|
|
|
+ }
|
|
|
+ else if(userCertificateVo.getKeyValue().equals("certificate11")){
|
|
|
+ if(Validator.isNotEmpty(userCertificateVo.getMajor())&&userCertificateVo.getMajor().equals("必修")){
|
|
|
+ userCertificateVo.setMajorType("二级注册造价师(必修)");
|
|
|
+ }else{
|
|
|
+ userCertificateVo.setMajorType("二级注册造价师(选修)");
|
|
|
+ }
|
|
|
+ }
|
|
|
+ else if(userCertificateVo.getKeyValue().equals("certificate12")){
|
|
|
+ if(Validator.isNotEmpty(userCertificateVo.getMajor())&&userCertificateVo.getMajor().equals("必修")){
|
|
|
+ userCertificateVo.setMajorType("二级注册建造师(必修)");
|
|
|
+ }else{
|
|
|
+ userCertificateVo.setMajorType("二级注册建造师(选修)");
|
|
|
+ }
|
|
|
+ }
|
|
|
return userCertificateVo;
|
|
|
}
|
|
|
|