|
|
@@ -558,7 +558,7 @@ public class TextbookServiceImpl extends MPJBaseServiceImpl<TextbookMapper, Text
|
|
|
List<TextbookSubscriptionExportQueryVo> result = textbookTextbookMapper.listTextbookSubscriptionExportQuery(dto);
|
|
|
//将班级转换为中文
|
|
|
for(TextbookSubscriptionExportQueryVo to: result){
|
|
|
- if(to.getClassIds() != null && !to.getClassIds().equals("")){
|
|
|
+ if(to != null && to.getClassIds() != null && !("").equals(to.getClassIds())){
|
|
|
List<Long> classIdList = new ArrayList<>();
|
|
|
String[] classIdStrs = to.getClassIds().split(",");
|
|
|
for (String classIdStr : classIdStrs){
|