feat: enhance operations dashboard and reporting controls
This commit is contained in:
@@ -331,7 +331,8 @@ export class ReportChannelExportService {
|
||||
};
|
||||
}
|
||||
|
||||
async exportSingleMaterial(data: SingleReportMaterialDto, operatorId?: string) {
|
||||
async exportSingleMaterial(data: SingleReportMaterialDto | undefined, operatorId?: string) {
|
||||
if (!data) throw new BadRequestException('导出参数不能为空');
|
||||
if ((data.reportType ?? 'signature') !== 'signature')
|
||||
throw new BadRequestException('首版仅支持单条签名报备资料导出');
|
||||
const detail = await this.getSingleMaterialDetail(data);
|
||||
|
||||
Reference in New Issue
Block a user