|
@@ -349,7 +349,6 @@ public class TextbookIssueRecordServiceImpl extends MPJBaseServiceImpl<TextbookI
|
|
|
wra -> wra
|
|
|
.selectAs(BaseClassroom::getName, TextbookClaimRecordExportVo::getClassroomIdCn)
|
|
|
)
|
|
|
- .ne(WfTextbookClaim::getTextbookScope, 1)
|
|
|
)
|
|
|
.leftJoin(Textbook.class, Textbook::getId, TextbookIssueRecord::getTextbookId,
|
|
|
wrapper -> wrapper
|
|
@@ -358,7 +357,16 @@ public class TextbookIssueRecordServiceImpl extends MPJBaseServiceImpl<TextbookI
|
|
|
.selectAs(DictionaryDetail::getName, TextbookClaimRecordExportVo::getTextbookTypeCn)
|
|
|
)
|
|
|
)
|
|
|
- .isNotNull(WfTextbookClaim::getClassId)
|
|
|
+ .and(wra -> wra
|
|
|
+ .eq(WfTextbookClaim::getClaimType, ClaimTypeEnum.ClaimClass.getCode())
|
|
|
+ .or()
|
|
|
+ .eq(WfTextbookClaim::getClaimType, ClaimTypeEnum.ClaimStudent.getCode())
|
|
|
+ )
|
|
|
+ .and(wra -> wra
|
|
|
+ .ne(WfTextbookClaim::getTextbookScope, 1)
|
|
|
+ .or()
|
|
|
+ .isNull(WfTextbookClaim::getTextbookScope)
|
|
|
+ )
|
|
|
;
|
|
|
List<TextbookClaimRecordExportVo> dataList = textbookIssueRecordMapper.selectJoinList(TextbookClaimRecordExportVo.class, textbookIssueRecordMPJLambdaWrapper);
|
|
|
|