report_screen

Raod 3 years ago
parent 276ab15b7a
commit 82147743e8

@ -1,6 +1,8 @@
package com.anjiplus.template.gaea.business.modules.report.service.impl; 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.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.controller.dto.ReportDto;
import com.anjiplus.template.gaea.business.modules.report.dao.ReportMapper; import com.anjiplus.template.gaea.business.modules.report.dao.ReportMapper;
import com.anjiplus.template.gaea.business.modules.report.dao.entity.Report; 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) { public void delReport(ReportDto reportDto) {
deleteById(reportDto.getId()); deleteById(reportDto.getId());
} }
@Override
public void processBeforeOperation(Report entity, BaseOperationEnum operationEnum) throws BusinessException {
//目前只有大屏一种类型
entity.setReportType("report_screen");
}
} }

Loading…
Cancel
Save