Commit 36540417 authored by hongguangwu's avatar hongguangwu

1.7.22-优化

parent a38d5ad4
......@@ -4298,6 +4298,7 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
private String getHignEducationValue(String educationName) {
String educationNameValue;
if (Common.isNotNull(educationName)) {
if (educationName.equals("文盲")) {
educationNameValue = "1";
}else if (educationName.equals("小学")) {
......@@ -4323,13 +4324,18 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
}else {
educationNameValue = null;
}
} else {
educationNameValue = null;
}
return educationNameValue;
}
// 获取是否大专及以上
private Integer getIsCollege(String educationName) {
Integer isCollegeValue = CommonConstants.ZERO_INT;
if (educationName.equals("大专") || educationName.equals("本科") || educationName.equals("硕士") || educationName.equals("博士")) {
if (Common.isNotNull(educationName)
&& ( educationName.equals("大专") || educationName.equals("本科")
|| educationName.equals("硕士") || educationName.equals("博士"))) {
isCollegeValue = CommonConstants.ONE_INT;
}
return isCollegeValue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment