|
@@ -451,6 +451,9 @@ public class TextbookServiceImpl extends MPJBaseServiceImpl<TextbookMapper, Text
|
|
|
@Override
|
|
|
public TextbookVo getInfoByissn(String issn) {
|
|
|
TextbookVo infoByissn = textbookTextbookMapper.getInfoByissn(issn);
|
|
|
+ if(infoByissn == null){
|
|
|
+ return null;
|
|
|
+ }
|
|
|
List<TextbookClassRelation> classRelationList = textbookTextbookClassRelationMapper.selectList(
|
|
|
new QueryWrapper<TextbookClassRelation>().lambda().eq(TextbookClassRelation::getTextbookId, infoByissn.getId())
|
|
|
);
|