|
@@ -11,7 +11,6 @@ import com.qmth.distributed.print.business.bean.params.ExamCardParams;
|
|
|
import com.qmth.distributed.print.business.entity.*;
|
|
|
import com.qmth.distributed.print.business.enums.CardStatusEnum;
|
|
|
import com.qmth.distributed.print.business.enums.CardTypeEnum;
|
|
|
-import com.qmth.distributed.print.business.enums.ExamCardStatusEnum;
|
|
|
import com.qmth.distributed.print.business.enums.MakeMethodEnum;
|
|
|
import com.qmth.distributed.print.business.mapper.ExamCardMapper;
|
|
|
import com.qmth.distributed.print.business.service.*;
|
|
@@ -26,7 +25,6 @@ import org.springframework.transaction.annotation.Transactional;
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
import java.io.File;
|
|
|
import java.util.*;
|
|
|
-import java.util.stream.Collectors;
|
|
|
|
|
|
/**
|
|
|
* <p>
|
|
@@ -127,9 +125,9 @@ public class ExamCardServiceImpl extends ServiceImpl<ExamCardMapper, ExamCard> i
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public IPage<CardCustDto> listCardCust(String status, String paperNumber, String userId, Long applyStartTime, Long applyEndTime, Long finishStartTime, Long finishEndTime, Integer pageNumber, Integer pageSize) {
|
|
|
+ public IPage<CardCustDto> listCardCust(String schoolId, String status, String paperNumber, String userId, Long applyStartTime, Long applyEndTime, Long finishStartTime, Long finishEndTime, Integer pageNumber, Integer pageSize) {
|
|
|
Page<CardCustDto> page = new Page<>(pageNumber, pageSize);
|
|
|
- IPage<CardCustDto> cardCustDtoIPage = this.baseMapper.listCardCust(page, status, paperNumber, userId, applyStartTime, applyEndTime, finishStartTime, finishEndTime);
|
|
|
+ IPage<CardCustDto> cardCustDtoIPage = this.baseMapper.listCardCust(page, schoolId, status, paperNumber, userId, applyStartTime, applyEndTime, finishStartTime, finishEndTime);
|
|
|
return cardCustDtoIPage;
|
|
|
}
|
|
|
|
|
@@ -142,7 +140,7 @@ public class ExamCardServiceImpl extends ServiceImpl<ExamCardMapper, ExamCard> i
|
|
|
if (!MakeMethodEnum.CUST.name().equals(examCardParams.getMakeMethod().name())) {
|
|
|
throw ExceptionResultEnum.ERROR.exception("题卡制作类型错误");
|
|
|
}
|
|
|
- if (StringUtils.isBlank(examCardParams.getAttachmentId())) {
|
|
|
+ if (StringUtils.isBlank(examCardParams.getCustAttachmentId())) {
|
|
|
throw ExceptionResultEnum.ERROR.exception("客户制卡时,附件未上传");
|
|
|
}
|
|
|
|