| | |
| | | import com.gkhy.exam.common.api.CommonPage; |
| | | import com.gkhy.exam.common.api.CommonResult; |
| | | import com.gkhy.exam.common.constant.UserConstant; |
| | | import com.gkhy.exam.common.domain.entity.SysDept; |
| | | import com.gkhy.exam.common.utils.PageUtils; |
| | | import com.gkhy.exam.common.utils.SecurityUtils; |
| | | import com.gkhy.exam.system.domain.AnnualVerificationPlan; |
| | |
| | | import com.gkhy.exam.system.mapper.DocumentChangesInvalidatedEvaluateMapper; |
| | | import com.gkhy.exam.system.mapper.DocumentChangesInvalidatedIssueMapper; |
| | | import com.gkhy.exam.system.mapper.DocumentChangesInvalidatedMapper; |
| | | import com.gkhy.exam.system.mapper.SysDeptMapper; |
| | | import com.gkhy.exam.system.service.DocumentChangesInvalidatedService; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | |
| | | @Autowired |
| | | private DocumentChangesInvalidatedEvaluateMapper documentChangesInvalidatedEvaluateMapper; |
| | | |
| | | |
| | | @Autowired |
| | | private SysDeptMapper sysDeptMapper; |
| | | |
| | | @Override |
| | | public CommonPage selectDocumentChangesInvalidatedList(DocumentChangesInvalidated documentChangesInvalidated) { |
| | |
| | | public CommonResult getDocumentChangesInvalidated(Long id) { |
| | | DocumentChangesInvalidated documentChangesInvalidated = documentChangesInvalidatedMapper.selectById(id); |
| | | if (documentChangesInvalidated != null){ |
| | | SysDept sysDept = sysDeptMapper.selectDeptById(documentChangesInvalidated.getDeptId()); |
| | | documentChangesInvalidated.setDeptName(sysDept.getDeptName()); |
| | | |
| | | List<DocumentChangesInvalidatedIssue> documentChangesInvalidatedIssues = documentChangesInvalidatedIssueMapper.selectList(new LambdaQueryWrapper<>(DocumentChangesInvalidatedIssue.class) |
| | | .eq(DocumentChangesInvalidatedIssue::getDocumentChangesId, id) |