| | |
| | | import com.yuanchu.mom.mapper.ManageControlPlanListMapper; |
| | | import com.yuanchu.mom.service.ManageControlPlanListService; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.yuanchu.mom.util.HackLoopTableRenderPolicy; |
| | | import com.yuanchu.mom.utils.HackLoopTableRenderPolicy; |
| | | import com.yuanchu.mom.utils.DateImageUtil; |
| | | import com.yuanchu.mom.vo.ManageControlPlanListVo; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | * 重大风险因素分析及控制计划清单 服务实现类 |
| | | * </p> |
| | | * |
| | | * @author 芯导软件(江苏)有限公司 |
| | | * @author |
| | | * @since 2024-11-15 02:58:30 |
| | | */ |
| | | @Service |
| | |
| | | @Override |
| | | public void exportPersonTraining(HttpServletResponse response) { |
| | | // 查询详情 |
| | | IPage<ManageControlPlanListVo> detailedDtos = baseMapper.getPageList(new Page(1, -1), true); |
| | | IPage<ManageControlPlanListVo> detailedDtos = baseMapper.getPageList(new Page(-1, -1), true); |
| | | if (detailedDtos.getRecords().isEmpty()) { |
| | | throw new ErrorException("审核通过的数据为空!请审核通过后在导出"); |
| | | } |