|
|
@@ -50,7 +50,7 @@ public class KxsSchoolStudyServiceImpl extends ServiceImpl<KxsSchoolStudyMapper,
|
|
|
schoolStudy.setStudyPerson(Integer.parseInt(validFieldDataMap.get(field).toString()));
|
|
|
break;
|
|
|
case "Status":
|
|
|
- schoolStudy.setDelFlag(Integer.parseInt(validFieldDataMap.get(field).toString()));
|
|
|
+ schoolStudy.setDelFlag(validFieldDataMap.get(field).toString());
|
|
|
break;
|
|
|
case "SeoTitle":
|
|
|
schoolStudy.setLecturer(validFieldDataMap.get(field).toString());
|
|
|
@@ -82,7 +82,7 @@ public class KxsSchoolStudyServiceImpl extends ServiceImpl<KxsSchoolStudyMapper,
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
- if(schoolStudy.getDelFlag() != null && schoolStudy.getDelFlag() == -1){
|
|
|
+ if(schoolStudy.getDelFlag() != null && "-1".equals(schoolStudy.getDelFlag()) ){
|
|
|
baseMapper.deleteById(schoolStudy.getId());
|
|
|
return;
|
|
|
}
|