| | |
| | | queryWrapper.in("c.dept_Id", remoteDeptService.userRightDepts().split(StringConstant.COMMA)); |
| | | |
| | | Page<EmpPhysicalExam> page = new Page<>(request.getPageNum(), request.getPageSize()); |
| | | SortUtil.handlePageSort(request, page, "createTime", FebsConstant.ORDER_DESC, true); |
| | | SortUtil.handlePageSort(request, page, "physicalExamDate", FebsConstant.ORDER_ASC, true); |
| | | IPage<EmpPhysicalExam> iPage = empPhysicalexamMapper.selectPageVo(page, queryWrapper); |
| | | |
| | | List<EmpPhysicalExam> list = iPage.getRecords(); |
| | |
| | | physicalExam.setJobName(list.get(2).toString()); |
| | | physicalExam.setEmpName(list.get(3).toString()); |
| | | physicalExam.setCertificateNumb(list.get(4).toString()); |
| | | physicalExam.setSex("男".equals(list.get(5).toString()) ? "1" : "2"); |
| | | physicalExam.setSex(list.get(5).toString()); |
| | | physicalExam.setHospital(list.get(6).toString()); |
| | | if (StringUtils.isNotBlank(list.get(7).toString())) { |
| | | physicalExam.setPhysicalExamDate(DateUtil.parseDate(list.get(7).toString())); |