修改未开班学员档案表准操项目为空的问题
This commit is contained in:
parent
0ed8068f8a
commit
bc9ca7caa4
@ -28,6 +28,8 @@ public class ApplyDTO {
|
||||
private String applyWorkTypeId;
|
||||
@ApiModelProperty(name = "applyWorkTypeName", value = "报名工种中文名称")
|
||||
private String applyWorkTypeName;
|
||||
@ApiModelProperty(name = "applyParentWorkTypeName", value = "作业类别")
|
||||
private String applyParentWorkTypeName;
|
||||
@ApiModelProperty(name = "applyName", value = "报名人姓名")
|
||||
private String applyName;
|
||||
@ApiModelProperty(name = "applySex", value = "报名人性别 1男 2女【数据字典】")
|
||||
@ -659,4 +661,12 @@ public class ApplyDTO {
|
||||
public void setExamScoreHandsOn(String examScoreHandsOn) {
|
||||
this.examScoreHandsOn = examScoreHandsOn;
|
||||
}
|
||||
|
||||
public String getApplyParentWorkTypeName() {
|
||||
return applyParentWorkTypeName == null ? "" : applyParentWorkTypeName;
|
||||
}
|
||||
|
||||
public void setApplyParentWorkTypeName(String applyParentWorkTypeName) {
|
||||
this.applyParentWorkTypeName = applyParentWorkTypeName;
|
||||
}
|
||||
}
|
||||
|
@ -1196,6 +1196,10 @@ public class ClassPlanServiceImpl extends DefaultBaseService implements IClassPl
|
||||
ApplyDTO applyDTO = applyService.get(applyId);
|
||||
if(applyDTO != null){
|
||||
changeDataFormDict(applyDTO);
|
||||
WorkTypeDTO workTypeDTO = workTypeService.get(applyDTO.getApplyWorkTypeId());
|
||||
if(workTypeDTO != null){
|
||||
applyDTO.setApplyParentWorkTypeName(workTypeDTO.getWorkTypeParentName());
|
||||
}
|
||||
return applyDTO;
|
||||
} else {
|
||||
ApplyStudentsDTO applyStudentsDTO = studentsService.get(applyId);
|
||||
|
@ -195,9 +195,9 @@ public class IdCardVerifyUtil {
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
//boolean isTrue = isIDCard("330622810725323");
|
||||
|
||||
//System.out.println(getIdCardGender("152822199310146919"));
|
||||
boolean isTrue = isIDCard("612701198410267049");
|
||||
System.out.println(isTrue);
|
||||
System.out.println(getIdCardGender("152822199310146919"));
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user