dongdingding 1 year ago
commit 6bc2c55434

@ -3,6 +3,7 @@ package com.ruoyi.tcZz.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import com.ruoyi.tcZz.domain.TcAqg;
import com.ruoyi.tcZz.domain.TcXtjc;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
@ -122,4 +123,11 @@ public class TcAqyhController extends BaseController
tcAqyhService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcAqyh> util = new ExcelUtil<TcAqyh>(TcAqyh.class);
util.importTemplateExcel(response, " 安全隐患");
}
}

@ -123,4 +123,11 @@ public class TcBjsjwpController extends BaseController
tcBjsjwpService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcBjsjwp> util = new ExcelUtil<TcBjsjwp>(TcBjsjwp.class);
util.importTemplateExcel(response, " 本级上级网评指令比例(月)");
}
}

@ -3,6 +3,7 @@ package com.ruoyi.tcZz.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import com.ruoyi.tcZz.domain.TcBjsjwp;
import com.ruoyi.tcZz.domain.TcWljg;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
@ -121,4 +122,12 @@ public class TcBmtbController extends BaseController
tcBmtbService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcBmtb> util = new ExcelUtil<TcBmtb>(TcBmtb.class);
util.importTemplateExcel(response, " 部门通报");
}
}

@ -4,6 +4,7 @@ import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcBmtb;
import com.ruoyi.tcZz.domain.TcBzhan;
import com.ruoyi.tcZz.domain.TcWljg;
import com.ruoyi.tcZz.service.ITcBzhanService;
@ -111,4 +112,12 @@ public class TcBzhanController extends BaseController {
tcBzhanService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcBzhan> util = new ExcelUtil<TcBzhan>(TcBzhan.class);
util.importTemplateExcel(response, " B站、小红书");
}
}

@ -6,6 +6,7 @@ import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcBzhan;
import com.ruoyi.tcZz.domain.TcCy;
import com.ruoyi.tcZz.domain.TcWljg;
import com.ruoyi.tcZz.service.ITcCyService;
@ -116,4 +117,12 @@ public class TcCyController extends BaseController {
tcCyService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcCy> util = new ExcelUtil<TcCy>(TcCy.class);
util.importTemplateExcel(response, " 词云列表");
}
}

@ -6,6 +6,7 @@ import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcCy;
import com.ruoyi.tcZz.domain.TcDbdw;
import com.ruoyi.tcZz.domain.TcWljg;
import com.ruoyi.tcZz.service.ITcDbdwService;
@ -115,4 +116,12 @@ public class TcDbdwController extends BaseController {
tcDbdwService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcDbdw> util = new ExcelUtil<TcDbdw>(TcDbdw.class);
util.importTemplateExcel(response, " 等保单位");
}
}

@ -3,6 +3,7 @@ package com.ruoyi.tcZz.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import com.ruoyi.tcZz.domain.TcDbdw;
import com.ruoyi.tcZz.domain.TcWljg;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
@ -116,4 +117,12 @@ public class TcDbxtController extends BaseController {
tcDbxtService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcDbxt> util = new ExcelUtil<TcDbxt>(TcDbxt.class);
util.importTemplateExcel(response, " 等保系统");
}
}

@ -6,6 +6,7 @@ import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcDbxt;
import com.ruoyi.tcZz.domain.TcDtsx;
import com.ruoyi.tcZz.domain.TcWljg;
import com.ruoyi.tcZz.service.ITcDtsxService;
@ -114,4 +115,12 @@ public class TcDtsxController extends BaseController {
tcDtsxService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcDtsx> util = new ExcelUtil<TcDtsx>(TcDtsx.class);
util.importTemplateExcel(response, " 动态筛选");
}
}

@ -6,6 +6,7 @@ import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcDtsx;
import com.ruoyi.tcZz.domain.TcDy;
import com.ruoyi.tcZz.domain.TcWljg;
import com.ruoyi.tcZz.service.ITcDyService;
@ -116,4 +117,12 @@ public class TcDyController extends BaseController {
tcDyService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcDy> util = new ExcelUtil<TcDy>(TcDy.class);
util.importTemplateExcel(response, " 抖音");
}
}

@ -6,6 +6,7 @@ import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcDy;
import com.ruoyi.tcZz.domain.TcFb;
import com.ruoyi.tcZz.domain.TcWljg;
import com.ruoyi.tcZz.service.ITcFbService;
@ -116,4 +117,12 @@ public class TcFbController extends BaseController {
tcFbService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcFb> util = new ExcelUtil<TcFb>(TcFb.class);
util.importTemplateExcel(response, " 上级媒体、本地发布");
}
}

@ -3,6 +3,7 @@ package com.ruoyi.tcZz.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import com.ruoyi.tcZz.domain.TcFb;
import com.ruoyi.tcZz.domain.TcWljg;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
@ -123,4 +124,12 @@ public class TcFbqkController extends BaseController
tcFbqkService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcFbqk> util = new ExcelUtil<TcFbqk>(TcFbqk.class);
util.importTemplateExcel(response, " 分布情况");
}
}

@ -3,6 +3,7 @@ package com.ruoyi.tcZz.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import com.ruoyi.tcZz.domain.TcFbqk;
import com.ruoyi.tcZz.domain.TcWljg;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
@ -121,4 +122,12 @@ public class TcGzdtController extends BaseController
tcGzdtService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcGzdt> util = new ExcelUtil<TcGzdt>(TcGzdt.class);
util.importTemplateExcel(response, " 工作动态");
}
}

@ -4,6 +4,7 @@ import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcGzdt;
import com.ruoyi.tcZz.domain.TcIdcdw;
import com.ruoyi.tcZz.service.ITcIdcdwService;
import io.swagger.annotations.Api;
@ -111,4 +112,12 @@ public class TcIdcdwController extends BaseController {
tcIdcdwService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcIdcdw> util = new ExcelUtil<TcIdcdw>(TcIdcdw.class);
util.importTemplateExcel(response, " IDC单位");
}
}

@ -6,6 +6,7 @@ import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcIdcdw;
import com.ruoyi.tcZz.domain.TcJbmap;
import com.ruoyi.tcZz.domain.TcWljg;
import com.ruoyi.tcZz.service.ITcJbmapService;
@ -115,4 +116,12 @@ public class TcJbmapController extends BaseController {
tcJbmapService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcJbmap> util = new ExcelUtil<TcJbmap>(TcJbmap.class);
util.importTemplateExcel(response, " 举报地图");
}
}

@ -3,6 +3,7 @@ package com.ruoyi.tcZz.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import com.ruoyi.tcZz.domain.TcJbmap;
import com.ruoyi.tcZz.domain.TcWljg;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
@ -115,4 +116,12 @@ public class TcJbsjndfltjController extends BaseController {
tcJbsjndfltjService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcJbsjndfltj> util = new ExcelUtil<TcJbsjndfltj>(TcJbsjndfltj.class);
util.importTemplateExcel(response, " 举报事件年度分类统计");
}
}

@ -6,6 +6,7 @@ import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcJbsjndfltj;
import com.ruoyi.tcZz.domain.TcJgdw;
import com.ruoyi.tcZz.service.ITcJgdwService;
import io.swagger.annotations.Api;
@ -131,4 +132,12 @@ public class TcJgdwController extends BaseController {
tcJgdwService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcJgdw> util = new ExcelUtil<TcJgdw>(TcJgdw.class);
util.importTemplateExcel(response, " 监管单位列表");
}
}

@ -7,6 +7,7 @@ import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcAqg;
import com.ruoyi.tcZz.domain.TcJgdw;
import com.ruoyi.tcZz.domain.TcMap;
import com.ruoyi.tcZz.service.ITcMapService;
import io.swagger.annotations.Api;
@ -116,4 +117,12 @@ public class TcMapController extends BaseController {
tcMapService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcMap> util = new ExcelUtil<TcMap>(TcMap.class);
util.importTemplateExcel(response, " 地图统计");
}
}

@ -7,6 +7,7 @@ import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcAqg;
import com.ruoyi.tcZz.domain.TcMap;
import com.ruoyi.tcZz.domain.TcMtlx;
import com.ruoyi.tcZz.service.ITcMtlxService;
import io.swagger.annotations.Api;
@ -116,4 +117,12 @@ public class TcMtlxController extends BaseController {
tcMtlxService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcMtlx> util = new ExcelUtil<TcMtlx>(TcMtlx.class);
util.importTemplateExcel(response, " 媒体类型");
}
}

@ -5,6 +5,7 @@ import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcAqg;
import com.ruoyi.tcZz.domain.TcMtlx;
import com.ruoyi.tcZz.domain.TcQlzxxddt;
import com.ruoyi.tcZz.service.ITcQlzxxddtService;
import io.swagger.annotations.Api;
@ -113,4 +114,12 @@ public class TcQlzxxddtController extends BaseController {
tcQlzxxddtService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcQlzxxddt> util = new ExcelUtil<TcQlzxxddt>(TcQlzxxddt.class);
util.importTemplateExcel(response, " 清朗专项行动动态");
}
}

@ -4,6 +4,7 @@ import java.util.List;
import javax.servlet.http.HttpServletResponse;
import com.ruoyi.tcZz.domain.TcAqg;
import com.ruoyi.tcZz.domain.TcQlzxxddt;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
@ -115,4 +116,12 @@ public class TcQlzxxdsjtjController extends BaseController {
tcQlzxxdsjtjService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcQlzxxdsjtj> util = new ExcelUtil<TcQlzxxdsjtj>(TcQlzxxdsjtj.class);
util.importTemplateExcel(response, " 清郎专项行动数据统计");
}
}

@ -4,6 +4,7 @@ import java.util.List;
import javax.servlet.http.HttpServletResponse;
import com.ruoyi.tcZz.domain.TcAqg;
import com.ruoyi.tcZz.domain.TcQlzxxdsjtj;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
@ -115,4 +116,12 @@ public class TcSdtbController extends BaseController {
tcSdtbService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcSdtb> util = new ExcelUtil<TcSdtb>(TcSdtb.class);
util.importTemplateExcel(response, " 属地通报");
}
}

@ -7,6 +7,7 @@ import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcAqg;
import com.ruoyi.tcZz.domain.TcSdtb;
import com.ruoyi.tcZz.domain.TcSgjipTop5;
import com.ruoyi.tcZz.service.ITcSgjipTop5Service;
import io.swagger.annotations.Api;
@ -114,4 +115,12 @@ public class TcSgjipTop5Controller extends BaseController {
tcSgjipTop5Service.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcSgjipTop5> util = new ExcelUtil<TcSgjipTop5>(TcSgjipTop5.class);
util.importTemplateExcel(response, " 受攻击IPTOP5");
}
}

@ -7,6 +7,7 @@ import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcAqg;
import com.ruoyi.tcZz.domain.TcSgjipTop5;
import com.ruoyi.tcZz.domain.TcSjly;
import com.ruoyi.tcZz.service.ITcSjlyService;
import io.swagger.annotations.Api;
@ -116,4 +117,12 @@ public class TcSjlyController extends BaseController {
tcSjlyService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcSjly> util = new ExcelUtil<TcSjly>(TcSjly.class);
util.importTemplateExcel(response, " 硬探针、软探针");
}
}

@ -4,6 +4,7 @@ import java.util.List;
import javax.servlet.http.HttpServletResponse;
import com.ruoyi.tcZz.domain.TcAqg;
import com.ruoyi.tcZz.domain.TcSjly;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
@ -116,4 +117,12 @@ public class TcSjlytjController extends BaseController {
tcSjlytjService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcSjlytj> util = new ExcelUtil<TcSjlytj>(TcSjlytj.class);
util.importTemplateExcel(response, " 数据来源统计");
}
}

@ -7,6 +7,7 @@ import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcAqg;
import com.ruoyi.tcZz.domain.TcSjlytj;
import com.ruoyi.tcZz.domain.TcSslx;
import com.ruoyi.tcZz.service.ITcSslxService;
import io.swagger.annotations.Api;
@ -117,4 +118,12 @@ public class TcSslxController extends BaseController {
tcSslxService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcSslx> util = new ExcelUtil<TcSslx>(TcSslx.class);
util.importTemplateExcel(response, " 涉事类型");
}
}

@ -7,6 +7,7 @@ import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcAqg;
import com.ruoyi.tcZz.domain.TcSslx;
import com.ruoyi.tcZz.domain.TcTbcz;
import com.ruoyi.tcZz.service.ITcTbczService;
import io.swagger.annotations.Api;
@ -117,4 +118,12 @@ public class TcTbczController extends BaseController {
tcTbczService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcTbcz> util = new ExcelUtil<TcTbcz>(TcTbcz.class);
util.importTemplateExcel(response, " 通报处置");
}
}

@ -7,6 +7,7 @@ import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcAqg;
import com.ruoyi.tcZz.domain.TcTbcz;
import com.ruoyi.tcZz.domain.TcTbwc;
import com.ruoyi.tcZz.service.ITcTbwcService;
import io.swagger.annotations.Api;
@ -118,4 +119,12 @@ public class TcTbwcController extends BaseController {
tcTbwcService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcTbwc> util = new ExcelUtil<TcTbwc>(TcTbwc.class);
util.importTemplateExcel(response, " 通报完成情况");
}
}

@ -4,6 +4,7 @@ import java.util.List;
import javax.servlet.http.HttpServletResponse;
import com.ruoyi.tcZz.domain.TcAqg;
import com.ruoyi.tcZz.domain.TcTbwc;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
@ -115,4 +116,12 @@ public class TcTtsumController extends BaseController {
tcTtsumService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcTtsum> util = new ExcelUtil<TcTtsum>(TcTtsum.class);
util.importTemplateExcel(response, " 今日头条、快手");
}
}

@ -4,6 +4,7 @@ import java.util.List;
import javax.servlet.http.HttpServletResponse;
import com.ruoyi.tcZz.domain.TcAqg;
import com.ruoyi.tcZz.domain.TcTtsum;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
@ -123,4 +124,12 @@ public class TcVxController extends BaseController
tcVxService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcVx> util = new ExcelUtil<TcVx>(TcVx.class);
util.importTemplateExcel(response, " 微信");
}
}

@ -4,6 +4,7 @@ import java.util.List;
import javax.servlet.http.HttpServletResponse;
import com.ruoyi.tcZz.domain.TcAqg;
import com.ruoyi.tcZz.domain.TcVx;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
@ -123,4 +124,12 @@ public class TcWbController extends BaseController
tcWbService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcWb> util = new ExcelUtil<TcWb>(TcWb.class);
util.importTemplateExcel(response, " 微博");
}
}

@ -4,6 +4,7 @@ import java.util.List;
import javax.servlet.http.HttpServletResponse;
import com.ruoyi.tcZz.domain.TcAqg;
import com.ruoyi.tcZz.domain.TcWb;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
@ -124,4 +125,12 @@ public class TcWlaqzcqyController extends BaseController
tcWlaqzcqyService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcWlaqzcqy> util = new ExcelUtil<TcWlaqzcqy>(TcWlaqzcqy.class);
util.importTemplateExcel(response, " 网络安全支持单位");
}
}

@ -7,6 +7,7 @@ import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcAqg;
import com.ruoyi.tcZz.domain.TcWlaqzcqy;
import com.ruoyi.tcZz.domain.TcWldv;
import com.ruoyi.tcZz.service.ITcWldvService;
import io.swagger.annotations.Api;
@ -116,4 +117,12 @@ public class TcWldvController extends BaseController {
tcWldvService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcWldv> util = new ExcelUtil<TcWldv>(TcWldv.class);
util.importTemplateExcel(response, " 网络大V");
}
}

@ -3,6 +3,7 @@ package com.ruoyi.tcZz.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import com.ruoyi.tcZz.domain.TcWldv;
import com.ruoyi.tcZz.domain.TcYqzs;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
@ -124,4 +125,12 @@ public class TcWljgController extends BaseController
tcWljgService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcWljg> util = new ExcelUtil<TcWljg>(TcWljg.class);
util.importTemplateExcel(response, " 网络监测列表");
}
}

@ -4,6 +4,7 @@ import java.util.List;
import javax.servlet.http.HttpServletResponse;
import com.ruoyi.tcZz.domain.TcAqg;
import com.ruoyi.tcZz.domain.TcWljg;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
@ -116,4 +117,12 @@ public class TcWljgtjController extends BaseController {
tcWljgtjService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcWljgtj> util = new ExcelUtil<TcWljgtj>(TcWljgtj.class);
util.importTemplateExcel(response, " 网络监测统计");
}
}

@ -116,4 +116,12 @@ public class TcWlmqfzrController extends BaseController {
tcWlmqfzrService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcWlmqfzr> util = new ExcelUtil<TcWlmqfzr>(TcWlmqfzr.class);
util.importTemplateExcel(response, " 网络民情负责人");
}
}

@ -4,6 +4,7 @@ import java.util.List;
import javax.servlet.http.HttpServletResponse;
import com.ruoyi.tcZz.domain.TcWljgtj;
import com.ruoyi.tcZz.domain.TcWlmqfzr;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
@ -115,4 +116,12 @@ public class TcWlwmzyzController extends BaseController {
tcWlwmzyzService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcWlwmzyz> util = new ExcelUtil<TcWlwmzyz>(TcWlwmzyz.class);
util.importTemplateExcel(response, " 网络文明志愿者");
}
}

@ -4,6 +4,7 @@ import java.util.List;
import javax.servlet.http.HttpServletResponse;
import com.ruoyi.tcZz.domain.TcWljgtj;
import com.ruoyi.tcZz.domain.TcWlwmzyz;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
@ -115,4 +116,12 @@ public class TcWpwzlyqkController extends BaseController {
tcWpwzlyqkService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcWpwzlyqk> util = new ExcelUtil<TcWpwzlyqk>(TcWpwzlyqk.class);
util.importTemplateExcel(response, " 网评文章录用情况");
}
}

@ -4,6 +4,7 @@ import java.util.List;
import javax.servlet.http.HttpServletResponse;
import com.ruoyi.tcZz.domain.TcWljgtj;
import com.ruoyi.tcZz.domain.TcWpwzlyqk;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
@ -116,4 +117,12 @@ public class TcWpyController extends BaseController {
tcWpyService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcWpy> util = new ExcelUtil<TcWpy>(TcWpy.class);
util.importTemplateExcel(response, " 网评员");
}
}

@ -4,6 +4,7 @@ import java.util.List;
import javax.servlet.http.HttpServletResponse;
import com.ruoyi.tcZz.domain.TcWljgtj;
import com.ruoyi.tcZz.domain.TcWpy;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
@ -115,4 +116,12 @@ public class TcWpyrwwclController extends BaseController {
tcWpyrwwclService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcWpyrwwcl> util = new ExcelUtil<TcWpyrwwcl>(TcWpyrwwcl.class);
util.importTemplateExcel(response, " 网评员任务完成率(网评系统)");
}
}

@ -7,6 +7,7 @@ import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcWljgtj;
import com.ruoyi.tcZz.domain.TcWpyrwwcl;
import com.ruoyi.tcZz.domain.TcWz;
import com.ruoyi.tcZz.service.ITcWzService;
import io.swagger.annotations.Api;
@ -115,4 +116,12 @@ public class TcWzController extends BaseController {
tcWzService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcWz> util = new ExcelUtil<TcWz>(TcWz.class);
util.importTemplateExcel(response, " 网站");
}
}

@ -4,6 +4,7 @@ import java.util.List;
import javax.servlet.http.HttpServletResponse;
import com.ruoyi.tcZz.domain.TcCy;
import com.ruoyi.tcZz.domain.TcWz;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
@ -116,4 +117,12 @@ public class TcXtjcController extends BaseController {
tcXtjcService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcXtjc> util = new ExcelUtil<TcXtjc>(TcXtjc.class);
util.importTemplateExcel(response, " 系统监测列表");
}
}

@ -5,6 +5,7 @@ import javax.servlet.http.HttpServletResponse;
import com.ruoyi.tcZz.domain.TcWljgtj;
import com.ruoyi.tcZz.domain.TcWz;
import com.ruoyi.tcZz.domain.TcXtjc;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
@ -123,4 +124,12 @@ public class TcYqbgController extends BaseController
tcYqbgService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcYqbg> util = new ExcelUtil<TcYqbg>(TcYqbg.class);
util.importTemplateExcel(response, " 舆情报告");
}
}

@ -4,6 +4,7 @@ import java.util.List;
import javax.servlet.http.HttpServletResponse;
import com.ruoyi.tcZz.domain.TcWljgtj;
import com.ruoyi.tcZz.domain.TcYqbg;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
@ -122,4 +123,12 @@ public class TcYqxxlnumController extends BaseController
tcYqxxlnumService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcYqxxlnum> util = new ExcelUtil<TcYqxxlnum>(TcYqxxlnum.class);
util.importTemplateExcel(response, " 舆情信息量统计");
}
}

@ -7,6 +7,7 @@ import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcWljgtj;
import com.ruoyi.tcZz.domain.TcYqxxlnum;
import com.ruoyi.tcZz.domain.TcYqxxltj;
import com.ruoyi.tcZz.service.ITcYqxxltjService;
import io.swagger.annotations.Api;
@ -125,4 +126,12 @@ public class TcYqxxltjController extends BaseController {
tcYqxxltjService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcYqxxltj> util = new ExcelUtil<TcYqxxltj>(TcYqxxltj.class);
util.importTemplateExcel(response, " 舆情信息量统计明細列表");
}
}

@ -7,6 +7,7 @@ import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcWljgtj;
import com.ruoyi.tcZz.domain.TcYqxxltj;
import com.ruoyi.tcZz.domain.TcYqyj;
import com.ruoyi.tcZz.service.ITcYqyjService;
import io.swagger.annotations.Api;
@ -114,4 +115,12 @@ public class TcYqyjController extends BaseController {
tcYqyjService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcYqyj> util = new ExcelUtil<TcYqyj>(TcYqyj.class);
util.importTemplateExcel(response, " 舆情预警");
}
}

@ -4,6 +4,7 @@ import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcYqyj;
import com.ruoyi.tcZz.domain.TcYqzs;
import com.ruoyi.tcZz.service.ITcYqzsService;
import io.swagger.annotations.Api;
@ -112,4 +113,12 @@ public class TcYqzsController extends BaseController {
tcYqzsService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcYqzs> util = new ExcelUtil<TcYqzs>(TcYqzs.class);
util.importTemplateExcel(response, " 舆情走势图列表");
}
}

@ -5,6 +5,7 @@ import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcWljgtj;
import com.ruoyi.tcZz.domain.TcYqzs;
import com.ruoyi.tcZz.domain.TcYtlc;
import com.ruoyi.tcZz.service.ITcYtlcService;
import io.swagger.annotations.Api;
@ -112,4 +113,12 @@ public class TcYtlcController extends BaseController {
tcYtlcService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcYtlc> util = new ExcelUtil<TcYtlc>(TcYtlc.class);
util.importTemplateExcel(response, " 约谈流程");
}
}

@ -115,4 +115,12 @@ public class TcZbxqController extends BaseController {
tcZbxqService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcZbxq> util = new ExcelUtil<TcZbxq>(TcZbxq.class);
util.importTemplateExcel(response, " 转办量、转办详情");
}
}

@ -7,6 +7,7 @@ import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcWljgtj;
import com.ruoyi.tcZz.domain.TcZbxq;
import com.ruoyi.tcZz.domain.TcZdgzxm;
import com.ruoyi.tcZz.service.ITcZdgzxmService;
import io.swagger.annotations.Api;
@ -116,4 +117,12 @@ public class TcZdgzxmController extends BaseController {
tcZdgzxmService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcZdgzxm> util = new ExcelUtil<TcZdgzxm>(TcZdgzxm.class);
util.importTemplateExcel(response, " 重点工作项目");
}
}

@ -5,6 +5,7 @@ import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcWljgtj;
import com.ruoyi.tcZz.domain.TcZdgzxm;
import com.ruoyi.tcZz.domain.TcZdlyjg;
import com.ruoyi.tcZz.service.ITcZdlyjgService;
import io.swagger.annotations.Api;
@ -111,4 +112,12 @@ public class TcZdlyjgController extends BaseController {
tcZdlyjgService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcZdlyjg> util = new ExcelUtil<TcZdlyjg>(TcZdlyjg.class);
util.importTemplateExcel(response, " 重点领域监管");
}
}

@ -5,6 +5,7 @@ import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcWljgtj;
import com.ruoyi.tcZz.domain.TcZdlyjg;
import com.ruoyi.tcZz.domain.TcZdqyml;
import com.ruoyi.tcZz.service.ITcZdqymlService;
import io.swagger.annotations.Api;
@ -113,4 +114,12 @@ public class TcZdqymlController extends BaseController {
tcZdqymlService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcZdqyml> util = new ExcelUtil<TcZdqyml>(TcZdqyml.class);
util.importTemplateExcel(response, " 重点企业名录");
}
}

@ -7,6 +7,7 @@ import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcWljgtj;
import com.ruoyi.tcZz.domain.TcZdqyml;
import com.ruoyi.tcZz.domain.TcZfwz;
import com.ruoyi.tcZz.service.ITcZfwzService;
import io.swagger.annotations.Api;
@ -117,4 +118,12 @@ public class TcZfwzController extends BaseController {
tcZfwzService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcZfwz> util = new ExcelUtil<TcZfwz>(TcZfwz.class);
util.importTemplateExcel(response, " 政府网站");
}
}

@ -4,6 +4,7 @@ import java.util.List;
import javax.servlet.http.HttpServletResponse;
import com.ruoyi.tcZz.domain.TcWljgtj;
import com.ruoyi.tcZz.domain.TcZfwz;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
@ -116,4 +117,12 @@ public class TcZxyhController extends BaseController {
tcZxyhService.updateByisStatus(isStatus,ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
ExcelUtil<TcZxyh> util = new ExcelUtil<TcZxyh>(TcZxyh.class);
util.importTemplateExcel(response, " 最新隐患");
}
}

Loading…
Cancel
Save