|
|
@@ -943,6 +943,13 @@ public class TextbookServiceImpl extends MPJBaseServiceImpl<TextbookMapper, Text
|
|
|
.orElse("no");
|
|
|
textbook.setIsTextbookPlan(isTextbookPlan);
|
|
|
|
|
|
+ String isSecd = textbookImportDto.getIsSecd();
|
|
|
+ Integer isSecdI = Optional.ofNullable(isSecd)
|
|
|
+ .filter("是"::equals)
|
|
|
+ .map(s -> 1)
|
|
|
+ .orElse(0);
|
|
|
+ textbook.setIsSecd(isSecdI);
|
|
|
+
|
|
|
// 处理教材类型映射
|
|
|
String textbookTypeCn = textbookImportDto.getTextbookTypeCn();
|
|
|
String textbookTypeCode = Optional.ofNullable(textbookTypeCn)
|