|
@@ -31,9 +31,7 @@ import org.springframework.stereotype.Service;
|
|
|
import javax.annotation.Resource;
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
import java.util.Arrays;
|
|
|
-import java.util.Collections;
|
|
|
import java.util.List;
|
|
|
-import java.util.Set;
|
|
|
|
|
|
/**
|
|
|
* <p>
|
|
@@ -444,11 +442,11 @@ public class MarkTaskServiceImpl extends ServiceImpl<MarkTaskMapper, MarkTask> i
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public List<MarkTask> listByStudentIdAndMarkerId(Long studentId, Long markerId) {
|
|
|
+ public List<MarkTask> listByStudentIdAndMarkerId(Long studentId, Long markerId, List<MarkTaskStatus> markTaskStatuses) {
|
|
|
QueryWrapper<MarkTask> queryWrapper = new QueryWrapper<>();
|
|
|
queryWrapper.lambda().eq(MarkTask::getStudentId, studentId)
|
|
|
.eq(MarkTask::getUserId, markerId)
|
|
|
- .eq(MarkTask::getStatus, MarkTaskStatus.MARKED)
|
|
|
+ .in(MarkTask::getStatus, markTaskStatuses)
|
|
|
.orderByAsc(MarkTask::getMainNumber)
|
|
|
.orderByAsc(MarkTask::getSubNumber);
|
|
|
return this.list(queryWrapper);
|