From 82147743e86a3232b1fbe1d9b4719ad8c5b98d72 Mon Sep 17 00:00:00 2001 From: Raod <1130305001@qq.com> Date: Mon, 28 Jun 2021 16:30:36 +0800 Subject: [PATCH] report_screen --- .../modules/report/service/impl/ReportServiceImpl.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/report/service/impl/ReportServiceImpl.java b/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/report/service/impl/ReportServiceImpl.java index 2efbc378..b0d871b0 100644 --- a/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/report/service/impl/ReportServiceImpl.java +++ b/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/report/service/impl/ReportServiceImpl.java @@ -1,6 +1,8 @@ package com.anjiplus.template.gaea.business.modules.report.service.impl; +import com.anji.plus.gaea.constant.BaseOperationEnum; import com.anji.plus.gaea.curd.mapper.GaeaBaseMapper; +import com.anji.plus.gaea.exception.BusinessException; import com.anjiplus.template.gaea.business.modules.report.controller.dto.ReportDto; import com.anjiplus.template.gaea.business.modules.report.dao.ReportMapper; import com.anjiplus.template.gaea.business.modules.report.dao.entity.Report; @@ -30,4 +32,10 @@ public class ReportServiceImpl implements ReportService { public void delReport(ReportDto reportDto) { deleteById(reportDto.getId()); } + + @Override + public void processBeforeOperation(Report entity, BaseOperationEnum operationEnum) throws BusinessException { + //目前只有大屏一种类型 + entity.setReportType("report_screen"); + } }