|
|
@@ -118,7 +118,7 @@ public class TeacherbaseManagerServiceImpl extends MPJBaseServiceImpl<XjrUserMap
|
|
|
.inSql(DictionaryDetail::getItemId,"SELECT id from xjr_dictionary_item where code='job_state'")
|
|
|
);
|
|
|
if (dictionaryDetail != null) {
|
|
|
- if (dictionaryDetail.getExtendField1().equals("0")) {
|
|
|
+ if ("0".equals(dictionaryDetail.getExtendField1())) {
|
|
|
baseTeacher.setIsNormal(0);
|
|
|
} else {
|
|
|
baseTeacher.setIsNormal(1);
|
|
|
@@ -269,7 +269,8 @@ public class TeacherbaseManagerServiceImpl extends MPJBaseServiceImpl<XjrUserMap
|
|
|
.inSql(DictionaryDetail::getItemId,"SELECT id from xjr_dictionary_item where code='job_state'")
|
|
|
);
|
|
|
if (dictionaryDetail != null) {
|
|
|
- if (dictionaryDetail.getExtendField1().equals("0")) {
|
|
|
+ if ("0".equals(dictionaryDetail.getExtendField1()))
|
|
|
+ {
|
|
|
baseTeacher.setIsNormal(0);
|
|
|
} else {
|
|
|
baseTeacher.setIsNormal(1);
|