| | |
| | | } else { |
| | | queryWrapper.in("a.EmpStatus", 0); |
| | | } |
| | | Page<EmpPhysicalExam> page = new Page<>(request.getPageNum(), request.getPageSize()); |
| | | queryWrapper.in("c.dept_Id", remoteDeptService.userRightDepts().split(StringConstant.COMMA)); |
| | | IPage<EmpPhysicalExam> iPage = empPhysicalexamMapper.selectPageVo(page, queryWrapper); |
| | | |
| | | Page<EmpPhysicalExam> page = new Page<>(request.getPageNum(), request.getPageSize()); |
| | | SortUtil.handlePageSort(request, page, "createTime", FebsConstant.ORDER_DESC, true); |
| | | IPage<EmpPhysicalExam> iPage = empPhysicalexamMapper.selectPageVo(page, queryWrapper); |
| | | |
| | | List<EmpPhysicalExam> list = iPage.getRecords(); |
| | | //设置字典数据 |
| | | List<DicItem> dicItems = CastUtil.castList(redisService.get("dicItems"), DicItem.class); |
| | |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public void importEmpPhysicalExam(List<List<Object>> listObject,List<String> returnList,List<DicItem> dicItems) { |
| | | for (List<Object> list : listObject) { |
| | | if (list.size()==0){ |
| | | if (list.size()==0||StrUtil.isBlank(list.get(0).toString())){ |
| | | continue; |
| | | } |
| | | EmpPhysicalExam physicalExam = new EmpPhysicalExam(); |