| | |
| | | import com.ruoyi.common.utils.OrderUtils; |
| | | import com.ruoyi.common.utils.SecurityUtils; |
| | | import com.ruoyi.project.system.service.ISysNoticeService; |
| | | import com.ruoyi.project.system.service.ISysDeptService; |
| | | import com.ruoyi.project.system.domain.SysDept; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | |
| | | private final FinReimbursementDetailMapper finReimbursementDetailMapper; |
| | | private final FileUtil fileUtil; |
| | | private final ISysNoticeService sysNoticeService; |
| | | private final ISysDeptService sysDeptService; |
| | | @Override |
| | | public IPage<FinReimbursementVo> listPage(FinReimbursementDto finReimbursementDto, Page<FinReimbursementVo> page) { |
| | | IPage<FinReimbursementVo> finReimbursementVoIPage = finReimbursementMapper.listPage(finReimbursementDto, page); |
| | |
| | | }); |
| | | |
| | | return finReimbursementVoIPage; |
| | | } |
| | | |
| | | @Override |
| | | public List<FinReimbursementVo> list(FinReimbursementDto finReimbursementDto) { |
| | | return finReimbursementMapper.list(finReimbursementDto); |
| | | } |
| | | |
| | | @Override |
| | |
| | | vo.setDeptId(reimbursement.getDeptId()); |
| | | vo.setDeleted(reimbursement.getDeleted()); |
| | | |
| | | if (reimbursement.getDeptId() != null) { |
| | | SysDept dept = sysDeptService.selectDeptById(reimbursement.getDeptId()); |
| | | if (dept != null) { |
| | | vo.setDeptName(dept.getDeptName()); |
| | | } |
| | | } |
| | | |
| | | vo.setDetails(finReimbursementDetailMapper.selectList( |
| | | new LambdaQueryWrapper<FinReimbursementDetail>() |
| | | .eq(FinReimbursementDetail::getReimbursementId, reimbursement.getId()) |