|
@@ -163,6 +163,7 @@ public class AttendanceRuleCategoryServiceImpl extends MPJBaseServiceImpl<Attend
|
|
.select(XjrUser.class, x -> VoToColumnUtil.fieldsToColumns(XjrUser.class).contains(x.getProperty()))
|
|
.select(XjrUser.class, x -> VoToColumnUtil.fieldsToColumns(XjrUser.class).contains(x.getProperty()))
|
|
.leftJoin(BaseStudentSchoolRoll.class, BaseStudentSchoolRoll::getUserId, XjrUser::getId)
|
|
.leftJoin(BaseStudentSchoolRoll.class, BaseStudentSchoolRoll::getUserId, XjrUser::getId)
|
|
.eq(BaseStudentSchoolRoll::getDeleteMark, DeleteMark.NODELETE.getCode())
|
|
.eq(BaseStudentSchoolRoll::getDeleteMark, DeleteMark.NODELETE.getCode())
|
|
|
|
+ .eq(BaseStudentSchoolRoll::getStduyStatus, dto.getStduyStatus())
|
|
.eq(XjrUser::getDeleteMark, DeleteMark.NODELETE.getCode())
|
|
.eq(XjrUser::getDeleteMark, DeleteMark.NODELETE.getCode())
|
|
.in(!classIds.isEmpty(), BaseStudentSchoolRoll::getClassId, classIds)
|
|
.in(!classIds.isEmpty(), BaseStudentSchoolRoll::getClassId, classIds)
|
|
.in(!userIds.isEmpty(), XjrUser::getId, userIds)
|
|
.in(!userIds.isEmpty(), XjrUser::getId, userIds)
|
|
@@ -356,6 +357,7 @@ public class AttendanceRuleCategoryServiceImpl extends MPJBaseServiceImpl<Attend
|
|
.select(XjrUser.class, x -> VoToColumnUtil.fieldsToColumns(XjrUser.class).contains(x.getProperty()))
|
|
.select(XjrUser.class, x -> VoToColumnUtil.fieldsToColumns(XjrUser.class).contains(x.getProperty()))
|
|
.leftJoin(BaseStudentSchoolRoll.class, BaseStudentSchoolRoll::getUserId, XjrUser::getId)
|
|
.leftJoin(BaseStudentSchoolRoll.class, BaseStudentSchoolRoll::getUserId, XjrUser::getId)
|
|
.eq(BaseStudentSchoolRoll::getDeleteMark, DeleteMark.NODELETE.getCode())
|
|
.eq(BaseStudentSchoolRoll::getDeleteMark, DeleteMark.NODELETE.getCode())
|
|
|
|
+ .eq(BaseStudentSchoolRoll::getStduyStatus, dto.getStduyStatus())
|
|
.eq(XjrUser::getDeleteMark, DeleteMark.NODELETE.getCode())
|
|
.eq(XjrUser::getDeleteMark, DeleteMark.NODELETE.getCode())
|
|
.in(!classIds.isEmpty(), BaseStudentSchoolRoll::getClassId, classIds)
|
|
.in(!classIds.isEmpty(), BaseStudentSchoolRoll::getClassId, classIds)
|
|
.in(!userIds.isEmpty(), XjrUser::getId, userIds)
|
|
.in(!userIds.isEmpty(), XjrUser::getId, userIds)
|