main
dongdingding 1 year ago
parent bd73155b9e
commit e4c106e6af

@ -11,7 +11,6 @@ import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.ArrayList;
import java.util.List;
/**
@ -60,8 +59,6 @@ public class ScreenController extends BaseController {
}
/**
*
*/
@ -79,16 +76,15 @@ public class ScreenController extends BaseController {
@ApiOperation(value = "清郎专项行动数据统计", response = ScreenQinglangResponse.class)
@GetMapping("/screenqinglang")
public AjaxResult screenQinglang() {
ScreenQinglangResponse screenQinglangResponse=new ScreenQinglangResponse();
List<ScreenQinglangWeifanResponse> list= screenService.getScreenQinglang();
List<ScreenQinglangWeiguiResponse> list1= screenService.getScreenQinglangWeigui();
ScreenQinglangResponse screenQinglangResponse = new ScreenQinglangResponse();
List<ScreenQinglangWeifanResponse> list = screenService.getScreenQinglang();
List<ScreenQinglangWeiguiResponse> list1 = screenService.getScreenQinglangWeigui();
screenQinglangResponse.setScreenQinglangWeifanResponse(list);
screenQinglangResponse.setScreenQinglangWeiguiResponse(list1);
return AjaxResult.success(screenQinglangResponse);
}
/**
*
*/
@ -100,8 +96,6 @@ public class ScreenController extends BaseController {
}
/**
*
*/
@ -124,8 +118,6 @@ public class ScreenController extends BaseController {
}
/**
*
*/

@ -2,7 +2,6 @@ package com.ruoyi.tcZz.controller;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcAqg;
@ -14,8 +13,6 @@ import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletResponse;
import java.io.File;
import java.io.FileInputStream;
import java.util.List;
/**
@ -115,10 +112,10 @@ public class TcAqgController extends BaseController {
tcAqgService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcAqg> util = new ExcelUtil<TcAqg>(TcAqg.class);
util.importTemplateExcel(response, " 网络安全官");
}

@ -1,26 +1,20 @@
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.TcFbqk;
import com.ruoyi.tcZz.domain.TcXtjc;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcAqyh;
import com.ruoyi.tcZz.service.ITcAqyhService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* tc_aqyhController
*
@ -30,18 +24,16 @@ import org.springframework.web.multipart.MultipartFile;
@RestController
@Api(tags = "安全隐患")
@RequestMapping("/tcZz/networkSecurity/aqyh")
public class TcAqyhController extends BaseController
{
public class TcAqyhController extends BaseController {
@Autowired
private ITcAqyhService tcAqyhService;
/**
* tc_aqyh
*/
@ApiOperation(value = "查询安全隐患列表",response =TcAqyh.class )
@ApiOperation(value = "查询安全隐患列表", response = TcAqyh.class)
@GetMapping("/list")
public TableDataInfo list(TcAqyh tcAqyh)
{
public TableDataInfo list(TcAqyh tcAqyh) {
startPage();
List<TcAqyh> list = tcAqyhService.selectTcAqyhList(tcAqyh);
return getDataTable(list);
@ -52,8 +44,7 @@ public class TcAqyhController extends BaseController
*/
@ApiOperation(value = "导出安全隐患列表")
@PostMapping("/export")
public void export(HttpServletResponse response, TcAqyh tcAqyh)
{
public void export(HttpServletResponse response, TcAqyh tcAqyh) {
List<TcAqyh> list = tcAqyhService.selectTcAqyhList(tcAqyh);
ExcelUtil<TcAqyh> util = new ExcelUtil<TcAqyh>(TcAqyh.class);
util.exportExcel(response, list, "安全隐患 tc_aqyh数据");
@ -64,8 +55,7 @@ public class TcAqyhController extends BaseController
*/
@ApiOperation(value = "获取安全隐患详细信息")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
public AjaxResult getInfo(@PathVariable("id") Long id) {
return success(tcAqyhService.selectTcAqyhById(id));
}
@ -74,18 +64,17 @@ public class TcAqyhController extends BaseController
*/
@ApiOperation(value = "新增安全隐患")
@PostMapping
public AjaxResult add(@RequestBody TcAqyh tcAqyh)
{
public AjaxResult add(@RequestBody TcAqyh tcAqyh) {
//根据Yh_name判断如果已存在则调修改
TcAqyh newtcAqyh=new TcAqyh();
TcAqyh newtcAqyh = new TcAqyh();
newtcAqyh.setYhName(tcAqyh.getYhName());
List<TcAqyh> list = tcAqyhService.selectTcAqyhList(newtcAqyh);
if (!list.isEmpty()){
for (TcAqyh a :list) {
if (!list.isEmpty()) {
for (TcAqyh a : list) {
tcAqyh.setId(a.getId());
tcAqyhService.updateTcAqyh(tcAqyh);
}
}else {
} else {
tcAqyhService.insertTcAqyh(tcAqyh);
}
return AjaxResult.success();
@ -96,8 +85,7 @@ public class TcAqyhController extends BaseController
*/
@ApiOperation(value = "修改安全隐患")
@PutMapping
public AjaxResult edit(@RequestBody TcAqyh tcAqyh)
{
public AjaxResult edit(@RequestBody TcAqyh tcAqyh) {
return toAjax(tcAqyhService.updateTcAqyh(tcAqyh));
}
@ -105,9 +93,8 @@ public class TcAqyhController extends BaseController
* tc_aqyh
*/
@ApiOperation(value = "删除安全隐患")
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids) {
return toAjax(tcAqyhService.deleteTcAqyhByIds(ids));
}
@ -133,13 +120,13 @@ public class TcAqyhController extends BaseController
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcAqyhService.updateByisStatus(isStatus,ids);
tcAqyhService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcAqyh> util = new ExcelUtil<TcAqyh>(TcAqyh.class);
util.importTemplateExcel(response, " 安全隐患");
}

@ -1,25 +1,20 @@
package com.ruoyi.tcZz.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import com.ruoyi.tcZz.domain.TcAqyh;
import com.ruoyi.tcZz.domain.TcWljg;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcBjsjwp;
import com.ruoyi.tcZz.service.ITcBjsjwpService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* Controller
*
@ -29,18 +24,16 @@ import org.springframework.web.multipart.MultipartFile;
@Api(tags = "本级上级网评指令比例(月)")
@RestController
@RequestMapping("/tcZz/networkEcology/bjsjwp")
public class TcBjsjwpController extends BaseController
{
public class TcBjsjwpController extends BaseController {
@Autowired
private ITcBjsjwpService tcBjsjwpService;
/**
*
*/
@ApiOperation(value = "查询本级上级网评指令比例(月)列表",response = TcBjsjwp.class )
@ApiOperation(value = "查询本级上级网评指令比例(月)列表", response = TcBjsjwp.class)
@GetMapping("/list")
public TableDataInfo list(TcBjsjwp tcBjsjwp)
{
public TableDataInfo list(TcBjsjwp tcBjsjwp) {
startPage();
List<TcBjsjwp> list = tcBjsjwpService.selectTcBjsjwpList(tcBjsjwp);
return getDataTable(list);
@ -51,8 +44,7 @@ public class TcBjsjwpController extends BaseController
*/
@ApiOperation(value = "导出本级上级网评指令比例(月)列表")
@PostMapping("/export")
public void export(HttpServletResponse response, TcBjsjwp tcBjsjwp)
{
public void export(HttpServletResponse response, TcBjsjwp tcBjsjwp) {
List<TcBjsjwp> list = tcBjsjwpService.selectTcBjsjwpList(tcBjsjwp);
ExcelUtil<TcBjsjwp> util = new ExcelUtil<TcBjsjwp>(TcBjsjwp.class);
util.exportExcel(response, list, "本级上级网评指令比例(月)数据");
@ -63,8 +55,7 @@ public class TcBjsjwpController extends BaseController
*/
@ApiOperation(value = "获取本级上级网评指令比例(月)详细信息")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
public AjaxResult getInfo(@PathVariable("id") Long id) {
return success(tcBjsjwpService.selectTcBjsjwpById(id));
}
@ -73,8 +64,7 @@ public class TcBjsjwpController extends BaseController
*/
@ApiOperation(value = "新增本级上级网评指令比例(月)")
@PostMapping
public AjaxResult add(@RequestBody TcBjsjwp tcBjsjwp)
{
public AjaxResult add(@RequestBody TcBjsjwp tcBjsjwp) {
return toAjax(tcBjsjwpService.insertTcBjsjwp(tcBjsjwp));
}
@ -83,8 +73,7 @@ public class TcBjsjwpController extends BaseController
*/
@ApiOperation(value = "修改本级上级网评指令比例(月)")
@PutMapping
public AjaxResult edit(@RequestBody TcBjsjwp tcBjsjwp)
{
public AjaxResult edit(@RequestBody TcBjsjwp tcBjsjwp) {
return toAjax(tcBjsjwpService.updateTcBjsjwp(tcBjsjwp));
}
@ -92,9 +81,8 @@ public class TcBjsjwpController extends BaseController
*
*/
@ApiOperation(value = "删除本级上级网评指令比例(月)")
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids) {
return toAjax(tcBjsjwpService.deleteTcBjsjwpByIds(ids));
}
@ -110,6 +98,7 @@ public class TcBjsjwpController extends BaseController
tcBjsjwpService.importUser(tcBjsjwpList);
return AjaxResult.success();
}
/**
*
*
@ -120,13 +109,13 @@ public class TcBjsjwpController extends BaseController
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcBjsjwpService.updateByisStatus(isStatus,ids);
tcBjsjwpService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcBjsjwp> util = new ExcelUtil<TcBjsjwp>(TcBjsjwp.class);
util.importTemplateExcel(response, " 本级上级网评指令比例(月)");
}

@ -1,25 +1,20 @@
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;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcBmtb;
import com.ruoyi.tcZz.service.ITcBmtbService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* Controller
*
@ -29,18 +24,16 @@ import org.springframework.web.multipart.MultipartFile;
@RestController
@Api(tags = "部门通报")
@RequestMapping("/tcZz/networkSecurity/bmtb")
public class TcBmtbController extends BaseController
{
public class TcBmtbController extends BaseController {
@Autowired
private ITcBmtbService tcBmtbService;
/**
*
*/
@ApiOperation(value = "查询部门通报列表",response = TcBmtb.class)
@ApiOperation(value = "查询部门通报列表", response = TcBmtb.class)
@GetMapping("/list")
public TableDataInfo list(TcBmtb tcBmtb)
{
public TableDataInfo list(TcBmtb tcBmtb) {
startPage();
List<TcBmtb> list = tcBmtbService.selectTcBmtbList(tcBmtb);
return getDataTable(list);
@ -51,8 +44,7 @@ public class TcBmtbController extends BaseController
*/
@ApiOperation(value = "导出部门通报列表")
@PostMapping("/export")
public void export(HttpServletResponse response, TcBmtb tcBmtb)
{
public void export(HttpServletResponse response, TcBmtb tcBmtb) {
List<TcBmtb> list = tcBmtbService.selectTcBmtbList(tcBmtb);
ExcelUtil<TcBmtb> util = new ExcelUtil<TcBmtb>(TcBmtb.class);
util.exportExcel(response, list, "部门通报数据");
@ -63,8 +55,7 @@ public class TcBmtbController extends BaseController
*/
@ApiOperation(value = "获取部门通报详细信息")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
public AjaxResult getInfo(@PathVariable("id") Long id) {
return success(tcBmtbService.selectTcBmtbById(id));
}
@ -73,8 +64,7 @@ public class TcBmtbController extends BaseController
*/
@ApiOperation(value = "新增部门通报")
@PostMapping
public AjaxResult add(@RequestBody TcBmtb tcBmtb)
{
public AjaxResult add(@RequestBody TcBmtb tcBmtb) {
return toAjax(tcBmtbService.insertTcBmtb(tcBmtb));
}
@ -83,8 +73,7 @@ public class TcBmtbController extends BaseController
*/
@ApiOperation(value = "修改部门通报")
@PutMapping
public AjaxResult edit(@RequestBody TcBmtb tcBmtb)
{
public AjaxResult edit(@RequestBody TcBmtb tcBmtb) {
return toAjax(tcBmtbService.updateTcBmtb(tcBmtb));
}
@ -92,9 +81,8 @@ public class TcBmtbController extends BaseController
*
*/
@ApiOperation(value = "删除部门通报")
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids) {
return toAjax(tcBmtbService.deleteTcBmtbByIds(ids));
}
@ -109,6 +97,7 @@ public class TcBmtbController extends BaseController
tcBmtbService.importUser(tcWljgList);
return AjaxResult.success();
}
/**
*
*
@ -119,14 +108,13 @@ public class TcBmtbController extends BaseController
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcBmtbService.updateByisStatus(isStatus,ids);
tcBmtbService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcBmtb> util = new ExcelUtil<TcBmtb>(TcBmtb.class);
util.importTemplateExcel(response, " 部门通报");
}

@ -4,9 +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;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
@ -99,6 +97,7 @@ public class TcBzhanController extends BaseController {
tcBzhanService.importUser(tcBzhanList);
return AjaxResult.success();
}
/**
*
*
@ -109,14 +108,13 @@ public class TcBzhanController extends BaseController {
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcBzhanService.updateByisStatus(isStatus,ids);
tcBzhanService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcBzhan> util = new ExcelUtil<TcBzhan>(TcBzhan.class);
util.importTemplateExcel(response, " B站、小红书");
}

@ -1,19 +1,14 @@
package com.ruoyi.tcZz.controller;
import com.ruoyi.common.annotation.Log;
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.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;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
@ -104,6 +99,7 @@ public class TcCyController extends BaseController {
tcCyService.importUser(tcCyList);
return AjaxResult.success();
}
/**
*
*
@ -114,14 +110,13 @@ public class TcCyController extends BaseController {
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcCyService.updateByisStatus(isStatus,ids);
tcCyService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcCy> util = new ExcelUtil<TcCy>(TcCy.class);
util.importTemplateExcel(response, " 词云列表");
}

@ -1,19 +1,14 @@
package com.ruoyi.tcZz.controller;
import com.ruoyi.common.annotation.Log;
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.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;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
@ -103,6 +98,7 @@ public class TcDbdwController extends BaseController {
tcDbdwService.importUser(tcDbdwList);
return AjaxResult.success();
}
/**
*
*
@ -113,14 +109,13 @@ public class TcDbdwController extends BaseController {
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcDbdwService.updateByisStatus(isStatus,ids);
tcDbdwService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcDbdw> util = new ExcelUtil<TcDbdw>(TcDbdw.class);
util.importTemplateExcel(response, " 等保单位");
}

@ -1,25 +1,20 @@
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;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcDbxt;
import com.ruoyi.tcZz.service.ITcDbxtService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* Controller
*
@ -114,14 +109,13 @@ public class TcDbxtController extends BaseController {
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcDbxtService.updateByisStatus(isStatus,ids);
tcDbxtService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcDbxt> util = new ExcelUtil<TcDbxt>(TcDbxt.class);
util.importTemplateExcel(response, " 等保系统");
}

@ -1,19 +1,14 @@
package com.ruoyi.tcZz.controller;
import com.ruoyi.common.annotation.Log;
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.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;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
@ -36,7 +31,7 @@ public class TcDtsxController extends BaseController {
/**
*
*/
@ApiOperation(value = "查询动态筛选列表",response = TcDtsx.class)
@ApiOperation(value = "查询动态筛选列表", response = TcDtsx.class)
@GetMapping("/list")
public TableDataInfo list(TcDtsx tcDtsx) {
startPage();
@ -90,6 +85,7 @@ public class TcDtsxController extends BaseController {
public AjaxResult remove(@PathVariable Long[] ids) {
return toAjax(tcDtsxService.deleteTcDtsxByIds(ids));
}
/**
*
*/
@ -112,14 +108,13 @@ public class TcDtsxController extends BaseController {
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcDtsxService.updateByisStatus(isStatus,ids);
tcDtsxService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcDtsx> util = new ExcelUtil<TcDtsx>(TcDtsx.class);
util.importTemplateExcel(response, " 动态筛选");
}

@ -1,19 +1,14 @@
package com.ruoyi.tcZz.controller;
import com.ruoyi.common.annotation.Log;
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.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;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
@ -114,14 +109,13 @@ public class TcDyController extends BaseController {
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcDyService.updateByisStatus(isStatus,ids);
tcDyService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcDy> util = new ExcelUtil<TcDy>(TcDy.class);
util.importTemplateExcel(response, " 抖音");
}

@ -1,19 +1,14 @@
package com.ruoyi.tcZz.controller;
import com.ruoyi.common.annotation.Log;
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.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;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
@ -114,14 +109,13 @@ public class TcFbController extends BaseController {
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcFbService.updateByisStatus(isStatus,ids);
tcFbService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcFb> util = new ExcelUtil<TcFb>(TcFb.class);
util.importTemplateExcel(response, " 上级媒体、本地发布");
}

@ -1,26 +1,20 @@
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.TcSgjipTop5;
import com.ruoyi.tcZz.domain.TcWljg;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcFbqk;
import com.ruoyi.tcZz.service.ITcFbqkService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* tc_fbqkController
*
@ -30,18 +24,16 @@ import org.springframework.web.multipart.MultipartFile;
@RestController
@Api(tags = "分布情况")
@RequestMapping("/tcZz/networkSecurity/fbqk")
public class TcFbqkController extends BaseController
{
public class TcFbqkController extends BaseController {
@Autowired
private ITcFbqkService tcFbqkService;
/**
* tc_fbqk
*/
@ApiOperation(value = "查询分布情况列表",response = TcFbqk.class)
@ApiOperation(value = "查询分布情况列表", response = TcFbqk.class)
@GetMapping("/list")
public TableDataInfo list(TcFbqk tcFbqk)
{
public TableDataInfo list(TcFbqk tcFbqk) {
startPage();
List<TcFbqk> list = tcFbqkService.selectTcFbqkList(tcFbqk);
return getDataTable(list);
@ -52,8 +44,7 @@ public class TcFbqkController extends BaseController
*/
@ApiOperation(value = "导出分布情况列表")
@PostMapping("/export")
public void export(HttpServletResponse response, TcFbqk tcFbqk)
{
public void export(HttpServletResponse response, TcFbqk tcFbqk) {
List<TcFbqk> list = tcFbqkService.selectTcFbqkList(tcFbqk);
ExcelUtil<TcFbqk> util = new ExcelUtil<TcFbqk>(TcFbqk.class);
util.exportExcel(response, list, "分布情况 tc_fbqk数据");
@ -64,8 +55,7 @@ public class TcFbqkController extends BaseController
*/
@ApiOperation(value = "获取分布情况详细信息")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
public AjaxResult getInfo(@PathVariable("id") Long id) {
return success(tcFbqkService.selectTcFbqkById(id));
}
@ -74,18 +64,17 @@ public class TcFbqkController extends BaseController
*/
@ApiOperation(value = "新增分布情况")
@PostMapping
public AjaxResult add(@RequestBody TcFbqk tcFbqk)
{
public AjaxResult add(@RequestBody TcFbqk tcFbqk) {
//根据City_name判断如果已存在则调修改
TcFbqk newtcFbqk=new TcFbqk();
TcFbqk newtcFbqk = new TcFbqk();
newtcFbqk.setCityName(tcFbqk.getCityName());
List<TcFbqk> list = tcFbqkService.selectTcFbqkList(newtcFbqk);
if (!list.isEmpty()){
for (TcFbqk a :list) {
if (!list.isEmpty()) {
for (TcFbqk a : list) {
tcFbqk.setId(a.getId());
tcFbqkService.updateTcFbqk(tcFbqk);
}
}else {
} else {
tcFbqkService.insertTcFbqk(tcFbqk);
}
return AjaxResult.success();
@ -96,8 +85,7 @@ public class TcFbqkController extends BaseController
*/
@ApiOperation(value = "修改分布情况")
@PutMapping
public AjaxResult edit(@RequestBody TcFbqk tcFbqk)
{
public AjaxResult edit(@RequestBody TcFbqk tcFbqk) {
return toAjax(tcFbqkService.updateTcFbqk(tcFbqk));
}
@ -105,9 +93,8 @@ public class TcFbqkController extends BaseController
* tc_fbqk
*/
@ApiOperation(value = "删除分布情况")
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids) {
return toAjax(tcFbqkService.deleteTcFbqkByIds(ids));
}
@ -134,14 +121,13 @@ public class TcFbqkController extends BaseController
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcFbqkService.updateByisStatus(isStatus,ids);
tcFbqkService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcFbqk> util = new ExcelUtil<TcFbqk>(TcFbqk.class);
util.importTemplateExcel(response, " 分布情况");
}

@ -1,25 +1,20 @@
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;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcGzdt;
import com.ruoyi.tcZz.service.ITcGzdtService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* Controller
*
@ -29,18 +24,16 @@ import org.springframework.web.multipart.MultipartFile;
@RestController
@Api(tags = "工作动态")
@RequestMapping("/tcZz/netManage/gzdt")
public class TcGzdtController extends BaseController
{
public class TcGzdtController extends BaseController {
@Autowired
private ITcGzdtService tcGzdtService;
/**
*
*/
@ApiOperation(value = "查询工作动态列表",response = TcGzdt.class)
@ApiOperation(value = "查询工作动态列表", response = TcGzdt.class)
@GetMapping("/list")
public TableDataInfo list(TcGzdt tcGzdt)
{
public TableDataInfo list(TcGzdt tcGzdt) {
startPage();
List<TcGzdt> list = tcGzdtService.selectTcGzdtList(tcGzdt);
return getDataTable(list);
@ -51,8 +44,7 @@ public class TcGzdtController extends BaseController
*/
@ApiOperation(value = "导出工作动态列表")
@PostMapping("/export")
public void export(HttpServletResponse response, TcGzdt tcGzdt)
{
public void export(HttpServletResponse response, TcGzdt tcGzdt) {
List<TcGzdt> list = tcGzdtService.selectTcGzdtList(tcGzdt);
ExcelUtil<TcGzdt> util = new ExcelUtil<TcGzdt>(TcGzdt.class);
util.exportExcel(response, list, "工作动态数据");
@ -63,8 +55,7 @@ public class TcGzdtController extends BaseController
*/
@ApiOperation(value = "获取工作动态详细信息")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
public AjaxResult getInfo(@PathVariable("id") Long id) {
return success(tcGzdtService.selectTcGzdtById(id));
}
@ -73,8 +64,7 @@ public class TcGzdtController extends BaseController
*/
@ApiOperation(value = "新增工作动态")
@PostMapping
public AjaxResult add(@RequestBody TcGzdt tcGzdt)
{
public AjaxResult add(@RequestBody TcGzdt tcGzdt) {
return toAjax(tcGzdtService.insertTcGzdt(tcGzdt));
}
@ -83,8 +73,7 @@ public class TcGzdtController extends BaseController
*/
@ApiOperation(value = "修改工作动态")
@PutMapping
public AjaxResult edit(@RequestBody TcGzdt tcGzdt)
{
public AjaxResult edit(@RequestBody TcGzdt tcGzdt) {
return toAjax(tcGzdtService.updateTcGzdt(tcGzdt));
}
@ -92,11 +81,11 @@ public class TcGzdtController extends BaseController
*
*/
@ApiOperation(value = "删除工作动态")
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids) {
return toAjax(tcGzdtService.deleteTcGzdtByIds(ids));
}
/**
*
*/
@ -119,14 +108,13 @@ public class TcGzdtController extends BaseController
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcGzdtService.updateByisStatus(isStatus,ids);
tcGzdtService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcGzdt> util = new ExcelUtil<TcGzdt>(TcGzdt.class);
util.importTemplateExcel(response, " 工作动态");
}

@ -4,7 +4,6 @@ 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;
@ -115,8 +114,7 @@ public class TcIdcdwController extends BaseController {
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcIdcdw> util = new ExcelUtil<TcIdcdw>(TcIdcdw.class);
util.importTemplateExcel(response, " IDC单位");
}

@ -1,19 +1,14 @@
package com.ruoyi.tcZz.controller;
import com.ruoyi.common.annotation.Log;
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.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;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
@ -113,14 +108,13 @@ public class TcJbmapController extends BaseController {
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcJbmapService.updateByisStatus(isStatus,ids);
tcJbmapService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcJbmap> util = new ExcelUtil<TcJbmap>(TcJbmap.class);
util.importTemplateExcel(response, " 举报地图");
}

@ -1,25 +1,20 @@
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;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcJbsjndfltj;
import com.ruoyi.tcZz.service.ITcJbsjndfltjService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* Controller
*
@ -113,14 +108,13 @@ public class TcJbsjndfltjController extends BaseController {
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcJbsjndfltjService.updateByisStatus(isStatus,ids);
tcJbsjndfltjService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcJbsjndfltj> util = new ExcelUtil<TcJbsjndfltj>(TcJbsjndfltj.class);
util.importTemplateExcel(response, " 举报事件年度分类统计");
}

@ -1,18 +1,14 @@
package com.ruoyi.tcZz.controller;
import com.ruoyi.common.annotation.Log;
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.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;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
@ -33,7 +29,6 @@ public class TcJgdwController extends BaseController {
private ITcJgdwService tcJgdwService;
/**
*
*/
@ -117,14 +112,13 @@ public class TcJgdwController extends BaseController {
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcJgdwService.updateByisStatus(isStatus,ids);
tcJgdwService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcJgdw> util = new ExcelUtil<TcJgdw>(TcJgdw.class);
util.importTemplateExcel(response, " 监管单位列表");
}

@ -1,20 +1,14 @@
package com.ruoyi.tcZz.controller;
import com.ruoyi.common.annotation.Log;
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.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.domain.TcTbwc;
import com.ruoyi.tcZz.service.ITcMapService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
@ -72,15 +66,15 @@ public class TcMapController extends BaseController {
@PostMapping
public AjaxResult add(@RequestBody TcMap tcMap) {
//根据Name判断如果已存在则调修改
TcMap newtcMap=new TcMap();
TcMap newtcMap = new TcMap();
newtcMap.setName(tcMap.getName());
List<TcMap> list = tcMapService.selectTcMapList(newtcMap);
if (!list.isEmpty()){
for (TcMap a :list) {
if (!list.isEmpty()) {
for (TcMap a : list) {
tcMap.setId(a.getId());
tcMapService.updateTcMap(tcMap);
}
}else {
} else {
tcMapService.insertTcMap(tcMap);
}
return AjaxResult.success();
@ -98,13 +92,20 @@ public class TcMapController extends BaseController {
/**
*
*/
@ApiOperation(value = "删除地图统计")
@ApiOperation(value = "根据id删除地图统计")
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids) {
return toAjax(tcMapService.deleteTcMapByIds(ids));
}
/**
*
*/
@ApiOperation(value = "删除地图统计")
@PostMapping("/deleteAll")
public AjaxResult deleteAll() {
return AjaxResult.success(tcMapService.deleteTcMap());
}
/**
*
*/
@ -127,14 +128,13 @@ public class TcMapController extends BaseController {
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcMapService.updateByisStatus(isStatus,ids);
tcMapService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcMap> util = new ExcelUtil<TcMap>(TcMap.class);
util.importTemplateExcel(response, " 地图统计");
}

@ -4,7 +4,6 @@ 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.TcMap;
import com.ruoyi.tcZz.domain.TcMtlx;
import com.ruoyi.tcZz.service.ITcMtlxService;
import io.swagger.annotations.Api;
@ -68,15 +67,15 @@ public class TcMtlxController extends BaseController {
public AjaxResult add(@RequestBody TcMtlx tcMtlx) {
//根据Name判断如果已存在则调修改
TcMtlx newtcMtlx=new TcMtlx();
TcMtlx newtcMtlx = new TcMtlx();
newtcMtlx.setName(tcMtlx.getName());
List<TcMtlx> list = tcMtlxService.selectTcMtlxList(newtcMtlx);
if (!list.isEmpty()){
for (TcMtlx a :list) {
if (!list.isEmpty()) {
for (TcMtlx a : list) {
tcMtlx.setId(a.getId());
tcMtlxService.updateTcMtlx(tcMtlx);
}
}else {
} else {
tcMtlxService.insertTcMtlx(tcMtlx);
}
return AjaxResult.success();

@ -4,8 +4,6 @@ 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.TcAqg;
import com.ruoyi.tcZz.domain.TcMtlx;
import com.ruoyi.tcZz.domain.TcQlzxxddt;
import com.ruoyi.tcZz.service.ITcQlzxxddtService;
import io.swagger.annotations.Api;
@ -111,14 +109,13 @@ public class TcQlzxxddtController extends BaseController {
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcQlzxxddtService.updateByisStatus(isStatus,ids);
tcQlzxxddtService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcQlzxxddt> util = new ExcelUtil<TcQlzxxddt>(TcQlzxxddt.class);
util.importTemplateExcel(response, " 清朗专项行动动态");
}

@ -1,25 +1,20 @@
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.TcQlzxxddt;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcQlzxxdsjtj;
import com.ruoyi.tcZz.service.ITcQlzxxdsjtjService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* Controller
*
@ -113,14 +108,13 @@ public class TcQlzxxdsjtjController extends BaseController {
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcQlzxxdsjtjService.updateByisStatus(isStatus,ids);
tcQlzxxdsjtjService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcQlzxxdsjtj> util = new ExcelUtil<TcQlzxxdsjtj>(TcQlzxxdsjtj.class);
util.importTemplateExcel(response, " 清郎专项行动数据统计");
}

@ -1,25 +1,20 @@
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.TcQlzxxdsjtj;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcSdtb;
import com.ruoyi.tcZz.service.ITcSdtbService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* Controller
*
@ -113,14 +108,13 @@ public class TcSdtbController extends BaseController {
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcSdtbService.updateByisStatus(isStatus,ids);
tcSdtbService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcSdtb> util = new ExcelUtil<TcSdtb>(TcSdtb.class);
util.importTemplateExcel(response, " 属地通报");
}

@ -1,19 +1,14 @@
package com.ruoyi.tcZz.controller;
import com.ruoyi.common.annotation.Log;
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.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;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
@ -70,16 +65,16 @@ public class TcSgjipTop5Controller extends BaseController {
@ApiOperation(value = "新增受攻击IPTOP5")
@PostMapping
public AjaxResult add(@RequestBody TcSgjipTop5 tcSgjipTop5) {
//根据S_attack_ip判断如果已存在则调修改
TcSgjipTop5 newtcSgjipTop5=new TcSgjipTop5();
//根据S_attack_ip判断如果已存在则调修改
TcSgjipTop5 newtcSgjipTop5 = new TcSgjipTop5();
newtcSgjipTop5.setSAttackIp(tcSgjipTop5.getSAttackIp());
List<TcSgjipTop5> list = tcSgjipTop5Service.selectTcSgjipTop5List(newtcSgjipTop5);
if (!list.isEmpty()){
for (TcSgjipTop5 a :list) {
tcSgjipTop5.setId(a.getId());
if (!list.isEmpty()) {
for (TcSgjipTop5 a : list) {
tcSgjipTop5.setId(a.getId());
tcSgjipTop5Service.updateTcSgjipTop5(tcSgjipTop5);
}
}else {
} else {
tcSgjipTop5Service.insertTcSgjipTop5(tcSgjipTop5);
}
return AjaxResult.success();
@ -102,6 +97,7 @@ public class TcSgjipTop5Controller extends BaseController {
public AjaxResult remove(@PathVariable Long[] ids) {
return toAjax(tcSgjipTop5Service.deleteTcSgjipTop5ByIds(ids));
}
/**
*
*/
@ -124,14 +120,13 @@ public class TcSgjipTop5Controller extends BaseController {
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcSgjipTop5Service.updateByisStatus(isStatus,ids);
tcSgjipTop5Service.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcSgjipTop5> util = new ExcelUtil<TcSgjipTop5>(TcSgjipTop5.class);
util.importTemplateExcel(response, " 受攻击IPTOP5");
}

@ -1,19 +1,14 @@
package com.ruoyi.tcZz.controller;
import com.ruoyi.common.annotation.Log;
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.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;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
@ -114,14 +109,13 @@ public class TcSjlyController extends BaseController {
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcSjlyService.updateByisStatus(isStatus,ids);
tcSjlyService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcSjly> util = new ExcelUtil<TcSjly>(TcSjly.class);
util.importTemplateExcel(response, " 硬探针、软探针");
}

@ -1,25 +1,20 @@
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.TcSjly;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcSjlytj;
import com.ruoyi.tcZz.service.ITcSjlytjService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* Controller
*
@ -114,14 +109,13 @@ public class TcSjlytjController extends BaseController {
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcSjlytjService.updateByisStatus(isStatus,ids);
tcSjlytjService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcSjlytj> util = new ExcelUtil<TcSjlytj>(TcSjlytj.class);
util.importTemplateExcel(response, " 数据来源统计");
}

@ -1,19 +1,14 @@
package com.ruoyi.tcZz.controller;
import com.ruoyi.common.annotation.Log;
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.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;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
@ -92,7 +87,6 @@ public class TcSslxController extends BaseController {
}
/**
*
*/
@ -115,14 +109,13 @@ public class TcSslxController extends BaseController {
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcSslxService.updateByisStatus(isStatus,ids);
tcSslxService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcSslx> util = new ExcelUtil<TcSslx>(TcSslx.class);
util.importTemplateExcel(response, " 涉事类型");
}

@ -1,19 +1,14 @@
package com.ruoyi.tcZz.controller;
import com.ruoyi.common.annotation.Log;
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.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;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
@ -92,7 +87,6 @@ public class TcTbczController extends BaseController {
}
/**
*
*/
@ -115,14 +109,13 @@ public class TcTbczController extends BaseController {
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcTbczService.updateByisStatus(isStatus,ids);
tcTbczService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcTbcz> util = new ExcelUtil<TcTbcz>(TcTbcz.class);
util.importTemplateExcel(response, " 通报处置");
}

@ -1,20 +1,14 @@
package com.ruoyi.tcZz.controller;
import com.ruoyi.common.annotation.Log;
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.enums.BusinessType;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcAqg;
import com.ruoyi.tcZz.domain.TcAqyh;
import com.ruoyi.tcZz.domain.TcTbcz;
import com.ruoyi.tcZz.domain.TcTbwc;
import com.ruoyi.tcZz.service.ITcTbwcService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
@ -72,16 +66,16 @@ public class TcTbwcController extends BaseController {
@PostMapping
public AjaxResult add(@RequestBody TcTbwc tcTbwc) {
//根据year + Time_name判断如果已存在则调修改
TcTbwc newtcTbwc=new TcTbwc();
TcTbwc newtcTbwc = new TcTbwc();
newtcTbwc.setYear(tcTbwc.getYear());
newtcTbwc.setTimeName(tcTbwc.getTimeName());
List<TcTbwc> list = tcTbwcService.selectTcTbwcList(newtcTbwc);
if (!list.isEmpty()){
for (TcTbwc a :list) {
if (!list.isEmpty()) {
for (TcTbwc a : list) {
tcTbwc.setId(a.getId());
tcTbwcService.updateTcTbwc(tcTbwc);
}
}else {
} else {
tcTbwcService.insertTcTbwc(tcTbwc);
}
@ -107,8 +101,6 @@ public class TcTbwcController extends BaseController {
}
/**
*
*/
@ -131,14 +123,13 @@ public class TcTbwcController extends BaseController {
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcTbwcService.updateByisStatus(isStatus,ids);
tcTbwcService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcTbwc> util = new ExcelUtil<TcTbwc>(TcTbwc.class);
util.importTemplateExcel(response, " 通报完成情况");
}

@ -1,24 +1,19 @@
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.TcTbwc;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcTtsum;
import com.ruoyi.tcZz.service.ITcTtsumService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* Controller
*
@ -113,14 +108,13 @@ public class TcTtsumController extends BaseController {
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcTtsumService.updateByisStatus(isStatus,ids);
tcTtsumService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcTtsum> util = new ExcelUtil<TcTtsum>(TcTtsum.class);
util.importTemplateExcel(response, " 今日头条、快手");
}

@ -1,25 +1,20 @@
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.TcTtsum;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcVx;
import com.ruoyi.tcZz.service.ITcVxService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* Controller
*
@ -29,18 +24,16 @@ import org.springframework.web.multipart.MultipartFile;
@RestController
@Api(tags = "微信")
@RequestMapping("/tcZz/netManage/vx")
public class TcVxController extends BaseController
{
public class TcVxController extends BaseController {
@Autowired
private ITcVxService tcVxService;
/**
*
*/
@ApiOperation(value = "查询微信列表",response = TcVx.class)
@ApiOperation(value = "查询微信列表", response = TcVx.class)
@GetMapping("/list")
public TableDataInfo list(TcVx tcVx)
{
public TableDataInfo list(TcVx tcVx) {
startPage();
List<TcVx> list = tcVxService.selectTcVxList(tcVx);
return getDataTable(list);
@ -51,8 +44,7 @@ public class TcVxController extends BaseController
*/
@ApiOperation(value = "导出微信列表")
@PostMapping("/export")
public void export(HttpServletResponse response, TcVx tcVx)
{
public void export(HttpServletResponse response, TcVx tcVx) {
List<TcVx> list = tcVxService.selectTcVxList(tcVx);
ExcelUtil<TcVx> util = new ExcelUtil<TcVx>(TcVx.class);
util.exportExcel(response, list, "微信数据");
@ -63,8 +55,7 @@ public class TcVxController extends BaseController
*/
@ApiOperation(value = "获取微信详细信息")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
public AjaxResult getInfo(@PathVariable("id") Long id) {
return success(tcVxService.selectTcVxById(id));
}
@ -73,8 +64,7 @@ public class TcVxController extends BaseController
*/
@ApiOperation(value = "新增微信")
@PostMapping
public AjaxResult add(@RequestBody TcVx tcVx)
{
public AjaxResult add(@RequestBody TcVx tcVx) {
return toAjax(tcVxService.insertTcVx(tcVx));
}
@ -83,8 +73,7 @@ public class TcVxController extends BaseController
*/
@ApiOperation(value = "修改微信")
@PutMapping
public AjaxResult edit(@RequestBody TcVx tcVx)
{
public AjaxResult edit(@RequestBody TcVx tcVx) {
return toAjax(tcVxService.updateTcVx(tcVx));
}
@ -92,9 +81,8 @@ public class TcVxController extends BaseController
*
*/
@ApiOperation(value = "删除微信")
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids) {
return toAjax(tcVxService.deleteTcVxByIds(ids));
}
@ -121,14 +109,13 @@ public class TcVxController extends BaseController
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcVxService.updateByisStatus(isStatus,ids);
tcVxService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcVx> util = new ExcelUtil<TcVx>(TcVx.class);
util.importTemplateExcel(response, " 微信");
}

@ -1,25 +1,20 @@
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.TcVx;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcWb;
import com.ruoyi.tcZz.service.ITcWbService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* Controller
*
@ -29,18 +24,16 @@ import org.springframework.web.multipart.MultipartFile;
@RestController
@Api(tags = "微博")
@RequestMapping("/tcZz/netManage/wb")
public class TcWbController extends BaseController
{
public class TcWbController extends BaseController {
@Autowired
private ITcWbService tcWbService;
/**
*
*/
@ApiOperation(value = "查询微博列表",response =TcWb.class )
@ApiOperation(value = "查询微博列表", response = TcWb.class)
@GetMapping("/list")
public TableDataInfo list(TcWb tcWb)
{
public TableDataInfo list(TcWb tcWb) {
startPage();
List<TcWb> list = tcWbService.selectTcWbList(tcWb);
return getDataTable(list);
@ -51,8 +44,7 @@ public class TcWbController extends BaseController
*/
@ApiOperation(value = "导出微博列表")
@PostMapping("/export")
public void export(HttpServletResponse response, TcWb tcWb)
{
public void export(HttpServletResponse response, TcWb tcWb) {
List<TcWb> list = tcWbService.selectTcWbList(tcWb);
ExcelUtil<TcWb> util = new ExcelUtil<TcWb>(TcWb.class);
util.exportExcel(response, list, "微博数据");
@ -63,8 +55,7 @@ public class TcWbController extends BaseController
*/
@ApiOperation(value = "获取微博详细信息")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
public AjaxResult getInfo(@PathVariable("id") Long id) {
return success(tcWbService.selectTcWbById(id));
}
@ -73,8 +64,7 @@ public class TcWbController extends BaseController
*/
@ApiOperation(value = "新增微博")
@PostMapping
public AjaxResult add(@RequestBody TcWb tcWb)
{
public AjaxResult add(@RequestBody TcWb tcWb) {
return toAjax(tcWbService.insertTcWb(tcWb));
}
@ -83,8 +73,7 @@ public class TcWbController extends BaseController
*/
@ApiOperation(value = "修改微博")
@PutMapping
public AjaxResult edit(@RequestBody TcWb tcWb)
{
public AjaxResult edit(@RequestBody TcWb tcWb) {
return toAjax(tcWbService.updateTcWb(tcWb));
}
@ -92,9 +81,8 @@ public class TcWbController extends BaseController
*
*/
@ApiOperation(value = "删除微博")
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids) {
return toAjax(tcWbService.deleteTcWbByIds(ids));
}
@ -121,14 +109,13 @@ public class TcWbController extends BaseController
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcWbService.updateByisStatus(isStatus,ids);
tcWbService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcWb> util = new ExcelUtil<TcWb>(TcWb.class);
util.importTemplateExcel(response, " 微博");
}

@ -1,25 +1,20 @@
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.TcWb;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcWlaqzcqy;
import com.ruoyi.tcZz.service.ITcWlaqzcqyService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* Controller
*
@ -29,18 +24,16 @@ import org.springframework.web.multipart.MultipartFile;
@RestController
@Api(tags = "网络安全支持单位")
@RequestMapping("/tcZz/networkEcology/wlaqzcqy")
public class TcWlaqzcqyController extends BaseController
{
public class TcWlaqzcqyController extends BaseController {
@Autowired
private ITcWlaqzcqyService tcWlaqzcqyService;
/**
*
*/
@ApiOperation(value = "查询网络安全支持单位列表",response = TcWlaqzcqy.class)
@ApiOperation(value = "查询网络安全支持单位列表", response = TcWlaqzcqy.class)
@GetMapping("/list")
public TableDataInfo list(TcWlaqzcqy tcWlaqzcqy)
{
public TableDataInfo list(TcWlaqzcqy tcWlaqzcqy) {
startPage();
List<TcWlaqzcqy> list = tcWlaqzcqyService.selectTcWlaqzcqyList(tcWlaqzcqy);
return getDataTable(list);
@ -51,8 +44,7 @@ public class TcWlaqzcqyController extends BaseController
*/
@ApiOperation(value = "导出网络安全支持单位列表")
@PostMapping("/export")
public void export(HttpServletResponse response, TcWlaqzcqy tcWlaqzcqy)
{
public void export(HttpServletResponse response, TcWlaqzcqy tcWlaqzcqy) {
List<TcWlaqzcqy> list = tcWlaqzcqyService.selectTcWlaqzcqyList(tcWlaqzcqy);
ExcelUtil<TcWlaqzcqy> util = new ExcelUtil<TcWlaqzcqy>(TcWlaqzcqy.class);
util.exportExcel(response, list, "网络安全支持单位数据");
@ -63,8 +55,7 @@ public class TcWlaqzcqyController extends BaseController
*/
@ApiOperation(value = "获取网络安全支持单位详细信息")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
public AjaxResult getInfo(@PathVariable("id") Long id) {
return success(tcWlaqzcqyService.selectTcWlaqzcqyById(id));
}
@ -73,8 +64,7 @@ public class TcWlaqzcqyController extends BaseController
*/
@ApiOperation(value = "新增网络安全支持单位")
@PostMapping
public AjaxResult add(@RequestBody TcWlaqzcqy tcWlaqzcqy)
{
public AjaxResult add(@RequestBody TcWlaqzcqy tcWlaqzcqy) {
return toAjax(tcWlaqzcqyService.insertTcWlaqzcqy(tcWlaqzcqy));
}
@ -83,8 +73,7 @@ public class TcWlaqzcqyController extends BaseController
*/
@ApiOperation(value = "修改网络安全支持单位")
@PutMapping
public AjaxResult edit(@RequestBody TcWlaqzcqy tcWlaqzcqy)
{
public AjaxResult edit(@RequestBody TcWlaqzcqy tcWlaqzcqy) {
return toAjax(tcWlaqzcqyService.updateTcWlaqzcqy(tcWlaqzcqy));
}
@ -92,14 +81,12 @@ public class TcWlaqzcqyController extends BaseController
*
*/
@ApiOperation(value = "删除网络安全支持单位")
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids) {
return toAjax(tcWlaqzcqyService.deleteTcWlaqzcqyByIds(ids));
}
/**
*
*/
@ -122,14 +109,13 @@ public class TcWlaqzcqyController extends BaseController
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcWlaqzcqyService.updateByisStatus(isStatus,ids);
tcWlaqzcqyService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcWlaqzcqy> util = new ExcelUtil<TcWlaqzcqy>(TcWlaqzcqy.class);
util.importTemplateExcel(response, " 网络安全支持单位");
}

@ -1,19 +1,14 @@
package com.ruoyi.tcZz.controller;
import com.ruoyi.common.annotation.Log;
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.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;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
@ -114,14 +109,13 @@ public class TcWldvController extends BaseController {
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcWldvService.updateByisStatus(isStatus,ids);
tcWldvService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcWldv> util = new ExcelUtil<TcWldv>(TcWldv.class);
util.importTemplateExcel(response, " 网络大V");
}

@ -1,25 +1,20 @@
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;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcWljg;
import com.ruoyi.tcZz.service.ITcWljgService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* Controller
*
@ -29,8 +24,7 @@ import org.springframework.web.multipart.MultipartFile;
@RestController
@Api(tags = "网络监测")
@RequestMapping("/tcZz/networkSecurity/cybersecurity")
public class TcWljgController extends BaseController
{
public class TcWljgController extends BaseController {
@Autowired
private ITcWljgService tcWljgService;
@ -40,8 +34,7 @@ public class TcWljgController extends BaseController
*/
@ApiOperation("导出网络监测列表")
@PostMapping("/export")
public void export(HttpServletResponse response, TcWljg tcWljg)
{
public void export(HttpServletResponse response, TcWljg tcWljg) {
List<TcWljg> list = tcWljgService.selectTcWljgList(tcWljg);
ExcelUtil<TcWljg> util = new ExcelUtil<TcWljg>(TcWljg.class);
util.exportExcel(response, list, "网络监测数据");
@ -52,8 +45,7 @@ public class TcWljgController extends BaseController
*/
@ApiOperation("获取网络监测详细信息")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
public AjaxResult getInfo(@PathVariable("id") Long id) {
return success(tcWljgService.selectTcWljgById(id));
}
@ -62,8 +54,7 @@ public class TcWljgController extends BaseController
*/
@ApiOperation("新增网络监测")
@PostMapping
public AjaxResult add(@RequestBody TcWljg tcWljg)
{
public AjaxResult add(@RequestBody TcWljg tcWljg) {
return toAjax(tcWljgService.insertTcWljg(tcWljg));
}
@ -72,8 +63,7 @@ public class TcWljgController extends BaseController
*/
@ApiOperation("修改网络监测")
@PutMapping
public AjaxResult edit(@RequestBody TcWljg tcWljg)
{
public AjaxResult edit(@RequestBody TcWljg tcWljg) {
return toAjax(tcWljgService.updateTcWljg(tcWljg));
}
@ -81,9 +71,8 @@ public class TcWljgController extends BaseController
*
*/
@ApiOperation("删除网络监测")
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids) {
return toAjax(tcWljgService.deleteTcWljgByIds(ids));
}
@ -91,10 +80,9 @@ public class TcWljgController extends BaseController
/**
*
*/
@ApiOperation(value = "查询网络监测列表",response = TcWljg.class)
@ApiOperation(value = "查询网络监测列表", response = TcWljg.class)
@GetMapping("/ListNoToken")
public TableDataInfo ListNoToken(TcWljg tcWljg)
{
public TableDataInfo ListNoToken(TcWljg tcWljg) {
startPage();
List<TcWljg> list = tcWljgService.selectTcWljgList(tcWljg);
return getDataTable(list);
@ -122,14 +110,13 @@ public class TcWljgController extends BaseController
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcWljgService.updateByisStatus(isStatus,ids);
tcWljgService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcWljg> util = new ExcelUtil<TcWljg>(TcWljg.class);
util.importTemplateExcel(response, " 网络监测列表");
}

@ -1,25 +1,20 @@
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.TcWljg;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcWljgtj;
import com.ruoyi.tcZz.service.ITcWljgtjService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* Controller
*
@ -36,7 +31,7 @@ public class TcWljgtjController extends BaseController {
/**
*
*/
@ApiOperation(value = "查询网络监测统计列表",response =TcWljgtj.class )
@ApiOperation(value = "查询网络监测统计列表", response = TcWljgtj.class)
@GetMapping("/list")
public TableDataInfo list(TcWljgtj tcWljgtj) {
startPage();
@ -114,14 +109,13 @@ public class TcWljgtjController extends BaseController {
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcWljgtjService.updateByisStatus(isStatus,ids);
tcWljgtjService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcWljgtj> util = new ExcelUtil<TcWljgtj>(TcWljgtj.class);
util.importTemplateExcel(response, " 网络监测统计");
}

@ -1,24 +1,20 @@
package com.ruoyi.tcZz.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import com.ruoyi.tcZz.domain.TcWljgtj;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcWlmqfzr;
import com.ruoyi.tcZz.service.ITcWlmqfzrService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* Controller
*
@ -113,14 +109,13 @@ public class TcWlmqfzrController extends BaseController {
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcWlmqfzrService.updateByisStatus(isStatus,ids);
tcWlmqfzrService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcWlmqfzr> util = new ExcelUtil<TcWlmqfzr>(TcWlmqfzr.class);
util.importTemplateExcel(response, " 网络民情负责人");
}

@ -1,25 +1,20 @@
package com.ruoyi.tcZz.controller;
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;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcWlwmzyz;
import com.ruoyi.tcZz.service.ITcWlwmzyzService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* Controller
*
@ -103,6 +98,7 @@ public class TcWlwmzyzController extends BaseController {
tcWlwmzyzService.importUser(tcWlwmzyzList);
return AjaxResult.success();
}
/**
*
*
@ -113,14 +109,13 @@ public class TcWlwmzyzController extends BaseController {
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcWlwmzyzService.updateByisStatus(isStatus,ids);
tcWlwmzyzService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcWlwmzyz> util = new ExcelUtil<TcWlwmzyz>(TcWlwmzyz.class);
util.importTemplateExcel(response, " 网络文明志愿者");
}

@ -1,25 +1,20 @@
package com.ruoyi.tcZz.controller;
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;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcWpwzlyqk;
import com.ruoyi.tcZz.service.ITcWpwzlyqkService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* Controller
*
@ -103,6 +98,7 @@ public class TcWpwzlyqkController extends BaseController {
tcWpwzlyqkService.importUser(tcWpwzlyqkList);
return AjaxResult.success();
}
/**
*
*
@ -113,14 +109,13 @@ public class TcWpwzlyqkController extends BaseController {
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcWpwzlyqkService.updateByisStatus(isStatus,ids);
tcWpwzlyqkService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcWpwzlyqk> util = new ExcelUtil<TcWpwzlyqk>(TcWpwzlyqk.class);
util.importTemplateExcel(response, " 网评文章录用情况");
}

@ -1,25 +1,20 @@
package com.ruoyi.tcZz.controller;
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;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcWpy;
import com.ruoyi.tcZz.service.ITcWpyService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* Controller
*
@ -92,7 +87,6 @@ public class TcWpyController extends BaseController {
}
/**
*
*/
@ -104,6 +98,7 @@ public class TcWpyController extends BaseController {
tcWpyService.importUser(tcWpyList);
return AjaxResult.success();
}
/**
*
*
@ -114,14 +109,13 @@ public class TcWpyController extends BaseController {
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcWpyService.updateByisStatus(isStatus,ids);
tcWpyService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcWpy> util = new ExcelUtil<TcWpy>(TcWpy.class);
util.importTemplateExcel(response, " 网评员");
}

@ -1,26 +1,20 @@
package com.ruoyi.tcZz.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import com.ruoyi.tcZz.domain.TcMtlx;
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;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcWpyrwwcl;
import com.ruoyi.tcZz.service.ITcWpyrwwclService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* Controller
*
@ -73,15 +67,15 @@ public class TcWpyrwwclController extends BaseController {
public AjaxResult add(@RequestBody TcWpyrwwcl tcWpyrwwcl) {
//根据unit判断如果已存在则调修改
TcWpyrwwcl newtcWpyrwwcl=new TcWpyrwwcl();
TcWpyrwwcl newtcWpyrwwcl = new TcWpyrwwcl();
newtcWpyrwwcl.setUnit(tcWpyrwwcl.getUnit());
List<TcWpyrwwcl> list = tcWpyrwwclService.selectTcWpyrwwclList(newtcWpyrwwcl);
if (!list.isEmpty()){
for (TcWpyrwwcl a :list) {
if (!list.isEmpty()) {
for (TcWpyrwwcl a : list) {
tcWpyrwwcl.setId(a.getId());
tcWpyrwwclService.updateTcWpyrwwcl(tcWpyrwwcl);
}
}else {
} else {
tcWpyrwwclService.insertTcWpyrwwcl(tcWpyrwwcl);
}
return AjaxResult.success();
@ -117,6 +111,7 @@ public class TcWpyrwwclController extends BaseController {
tcWpyrwwclService.importUser(tTcWpyrwwclList);
return AjaxResult.success();
}
/**
*
*
@ -127,14 +122,13 @@ public class TcWpyrwwclController extends BaseController {
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcWpyrwwclService.updateByisStatus(isStatus,ids);
tcWpyrwwclService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcWpyrwwcl> util = new ExcelUtil<TcWpyrwwcl>(TcWpyrwwcl.class);
util.importTemplateExcel(response, " 网评员任务完成率(网评系统)");
}

@ -1,19 +1,14 @@
package com.ruoyi.tcZz.controller;
import com.ruoyi.common.annotation.Log;
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.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;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
@ -103,6 +98,7 @@ public class TcWzController extends BaseController {
tcWzService.importUser(tcWzList);
return AjaxResult.success();
}
/**
*
*
@ -113,14 +109,13 @@ public class TcWzController extends BaseController {
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcWzService.updateByisStatus(isStatus,ids);
tcWzService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcWz> util = new ExcelUtil<TcWz>(TcWz.class);
util.importTemplateExcel(response, " 网站");
}

@ -1,25 +1,20 @@
package com.ruoyi.tcZz.controller;
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;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcXtjc;
import com.ruoyi.tcZz.service.ITcXtjcService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* Controller
*
@ -104,6 +99,7 @@ public class TcXtjcController extends BaseController {
tcXtjcService.importUser(tcXtjcList);
return AjaxResult.success();
}
/**
*
*
@ -114,14 +110,13 @@ public class TcXtjcController extends BaseController {
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcXtjcService.updateByisStatus(isStatus,ids);
tcXtjcService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcXtjc> util = new ExcelUtil<TcXtjc>(TcXtjc.class);
util.importTemplateExcel(response, " 系统监测列表");
}

@ -1,26 +1,20 @@
package com.ruoyi.tcZz.controller;
import java.util.List;
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;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcYqbg;
import com.ruoyi.tcZz.service.ITcYqbgService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* Controller
*
@ -30,8 +24,7 @@ import org.springframework.web.multipart.MultipartFile;
@RestController
@Api(tags = "舆情报告")
@RequestMapping("/tcZz/netWorkYq/yqbg")
public class TcYqbgController extends BaseController
{
public class TcYqbgController extends BaseController {
@Autowired
private ITcYqbgService tcYqbgService;
@ -40,8 +33,7 @@ public class TcYqbgController extends BaseController
*/
@ApiOperation(value = "查询舆情报告列表", response = TcYqbg.class)
@GetMapping("/list")
public TableDataInfo list(TcYqbg tcYqbg)
{
public TableDataInfo list(TcYqbg tcYqbg) {
startPage();
List<TcYqbg> list = tcYqbgService.selectTcYqbgList(tcYqbg);
return getDataTable(list);
@ -52,8 +44,7 @@ public class TcYqbgController extends BaseController
*/
@ApiOperation(value = "导出舆情报告列表")
@PostMapping("/export")
public void export(HttpServletResponse response, TcYqbg tcYqbg)
{
public void export(HttpServletResponse response, TcYqbg tcYqbg) {
List<TcYqbg> list = tcYqbgService.selectTcYqbgList(tcYqbg);
ExcelUtil<TcYqbg> util = new ExcelUtil<TcYqbg>(TcYqbg.class);
util.exportExcel(response, list, "舆情报告数据");
@ -64,8 +55,7 @@ public class TcYqbgController extends BaseController
*/
@ApiOperation(value = "获取舆情报告详细信息")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
public AjaxResult getInfo(@PathVariable("id") Long id) {
return success(tcYqbgService.selectTcYqbgById(id));
}
@ -74,8 +64,7 @@ public class TcYqbgController extends BaseController
*/
@ApiOperation(value = "新增舆情报告")
@PostMapping
public AjaxResult add(@RequestBody TcYqbg tcYqbg)
{
public AjaxResult add(@RequestBody TcYqbg tcYqbg) {
return toAjax(tcYqbgService.insertTcYqbg(tcYqbg));
}
@ -84,8 +73,7 @@ public class TcYqbgController extends BaseController
*/
@ApiOperation(value = "修改舆情报告")
@PutMapping
public AjaxResult edit(@RequestBody TcYqbg tcYqbg)
{
public AjaxResult edit(@RequestBody TcYqbg tcYqbg) {
return toAjax(tcYqbgService.updateTcYqbg(tcYqbg));
}
@ -93,9 +81,8 @@ public class TcYqbgController extends BaseController
*
*/
@ApiOperation(value = "删除舆情报告")
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids) {
return toAjax(tcYqbgService.deleteTcYqbgByIds(ids));
}
@ -111,6 +98,7 @@ public class TcYqbgController extends BaseController
tcYqbgService.importUser(tcYqbgList);
return AjaxResult.success();
}
/**
*
*
@ -121,14 +109,13 @@ public class TcYqbgController extends BaseController
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcYqbgService.updateByisStatus(isStatus,ids);
tcYqbgService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcYqbg> util = new ExcelUtil<TcYqbg>(TcYqbg.class);
util.importTemplateExcel(response, " 舆情报告");
}

@ -1,25 +1,20 @@
package com.ruoyi.tcZz.controller;
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;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcYqxxlnum;
import com.ruoyi.tcZz.service.ITcYqxxlnumService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* Controller
*
@ -29,18 +24,16 @@ import org.springframework.web.multipart.MultipartFile;
@Api(tags = "舆情信息量统计")
@RestController
@RequestMapping("/tcZz/netWorkYq/yqxxlnum")
public class TcYqxxlnumController extends BaseController
{
public class TcYqxxlnumController extends BaseController {
@Autowired
private ITcYqxxlnumService tcYqxxlnumService;
/**
*
*/
@ApiOperation(value = "查询舆情信息量统计列表",response =TcYqxxlnum.class )
@ApiOperation(value = "查询舆情信息量统计列表", response = TcYqxxlnum.class)
@GetMapping("/list")
public TableDataInfo list(TcYqxxlnum tcYqxxlnum)
{
public TableDataInfo list(TcYqxxlnum tcYqxxlnum) {
startPage();
List<TcYqxxlnum> list = tcYqxxlnumService.selectTcYqxxlnumList(tcYqxxlnum);
return getDataTable(list);
@ -51,8 +44,7 @@ public class TcYqxxlnumController extends BaseController
*/
@ApiOperation(value = "导出舆情信息量统计列表")
@PostMapping("/export")
public void export(HttpServletResponse response, TcYqxxlnum tcYqxxlnum)
{
public void export(HttpServletResponse response, TcYqxxlnum tcYqxxlnum) {
List<TcYqxxlnum> list = tcYqxxlnumService.selectTcYqxxlnumList(tcYqxxlnum);
ExcelUtil<TcYqxxlnum> util = new ExcelUtil<TcYqxxlnum>(TcYqxxlnum.class);
util.exportExcel(response, list, "舆情信息量统计数据");
@ -63,8 +55,7 @@ public class TcYqxxlnumController extends BaseController
*/
@ApiOperation(value = "获取舆情信息量统计详细信息")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
public AjaxResult getInfo(@PathVariable("id") Long id) {
return success(tcYqxxlnumService.selectTcYqxxlnumById(id));
}
@ -73,8 +64,7 @@ public class TcYqxxlnumController extends BaseController
*/
@ApiOperation(value = "新增舆情信息量统计")
@PostMapping
public AjaxResult add(@RequestBody TcYqxxlnum tcYqxxlnum)
{
public AjaxResult add(@RequestBody TcYqxxlnum tcYqxxlnum) {
return toAjax(tcYqxxlnumService.insertTcYqxxlnum(tcYqxxlnum));
}
@ -83,8 +73,7 @@ public class TcYqxxlnumController extends BaseController
*/
@ApiOperation(value = "修改舆情信息量统计")
@PutMapping
public AjaxResult edit(@RequestBody TcYqxxlnum tcYqxxlnum)
{
public AjaxResult edit(@RequestBody TcYqxxlnum tcYqxxlnum) {
return toAjax(tcYqxxlnumService.updateTcYqxxlnum(tcYqxxlnum));
}
@ -92,9 +81,8 @@ public class TcYqxxlnumController extends BaseController
*
*/
@ApiOperation(value = "删除舆情信息量统计")
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids) {
return toAjax(tcYqxxlnumService.deleteTcYqxxlnumByIds(ids));
}
@ -110,6 +98,7 @@ public class TcYqxxlnumController extends BaseController
tcYqxxlnumService.importUser(tcYqxxlnumList);
return AjaxResult.success();
}
/**
*
*
@ -120,14 +109,13 @@ public class TcYqxxlnumController extends BaseController
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcYqxxlnumService.updateByisStatus(isStatus,ids);
tcYqxxlnumService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcYqxxlnum> util = new ExcelUtil<TcYqxxlnum>(TcYqxxlnum.class);
util.importTemplateExcel(response, " 舆情信息量统计");
}

@ -1,19 +1,14 @@
package com.ruoyi.tcZz.controller;
import com.ruoyi.common.annotation.Log;
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.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;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
@ -36,7 +31,7 @@ public class TcYqxxltjController extends BaseController {
/**
*
*/
@ApiOperation(value = "查询舆情信息量统计明細列表",response = TcYqxxltj.class )
@ApiOperation(value = "查询舆情信息量统计明細列表", response = TcYqxxltj.class)
@GetMapping("/list")
public TableDataInfo list(TcYqxxltj tcYqxxltj) {
startPage();
@ -113,6 +108,7 @@ public class TcYqxxltjController extends BaseController {
tcYqxxltjService.importUser(YqxxltjList);
return AjaxResult.success();
}
/**
*
*
@ -122,15 +118,14 @@ public class TcYqxxltjController extends BaseController {
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus,@RequestParam("ids") List<String> ids) {
tcYqxxltjService.updateByisStatus(isStatus,ids);
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcYqxxltjService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcYqxxltj> util = new ExcelUtil<TcYqxxltj>(TcYqxxltj.class);
util.importTemplateExcel(response, " 舆情信息量统计明細列表");
}

@ -1,19 +1,14 @@
package com.ruoyi.tcZz.controller;
import com.ruoyi.common.annotation.Log;
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.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;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
@ -102,6 +97,7 @@ public class TcYqyjController extends BaseController {
tcYqyjService.importUser(tcYqyjList);
return AjaxResult.success();
}
/**
*
*
@ -111,15 +107,14 @@ public class TcYqyjController extends BaseController {
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus,@RequestParam("ids") List<String> ids) {
tcYqyjService.updateByisStatus(isStatus,ids);
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcYqyjService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcYqyj> util = new ExcelUtil<TcYqyj>(TcYqyj.class);
util.importTemplateExcel(response, " 舆情预警");
}

@ -4,8 +4,6 @@ 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.TcWljgtj;
import com.ruoyi.tcZz.domain.TcYqzs;
import com.ruoyi.tcZz.domain.TcYtlc;
import com.ruoyi.tcZz.service.ITcYtlcService;
import io.swagger.annotations.Api;
@ -100,6 +98,7 @@ public class TcYtlcController extends BaseController {
tcYtlcService.importUser(tcYtlcList);
return AjaxResult.success();
}
/**
*
*
@ -109,15 +108,14 @@ public class TcYtlcController extends BaseController {
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus,@RequestParam("ids") List<String> ids) {
tcYtlcService.updateByisStatus(isStatus,ids);
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcYtlcService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcYtlc> util = new ExcelUtil<TcYtlc>(TcYtlc.class);
util.importTemplateExcel(response, " 约谈流程");
}

@ -1,18 +1,14 @@
package com.ruoyi.tcZz.controller;
import com.ruoyi.common.annotation.Log;
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.enums.BusinessType;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcYtlc;
import com.ruoyi.tcZz.domain.TcZbxq;
import com.ruoyi.tcZz.service.ITcZbxqService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
@ -102,6 +98,7 @@ public class TcZbxqController extends BaseController {
tcZbxqService.importUser(tcZbxqList);
return AjaxResult.success();
}
/**
*
*
@ -111,15 +108,14 @@ public class TcZbxqController extends BaseController {
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus,@RequestParam("ids") List<String> ids) {
tcZbxqService.updateByisStatus(isStatus,ids);
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcZbxqService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcZbxq> util = new ExcelUtil<TcZbxq>(TcZbxq.class);
util.importTemplateExcel(response, " 转办量、转办详情");
}

@ -1,19 +1,14 @@
package com.ruoyi.tcZz.controller;
import com.ruoyi.common.annotation.Log;
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.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;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
@ -92,7 +87,6 @@ public class TcZdgzxmController extends BaseController {
}
/**
*
*/
@ -104,6 +98,7 @@ public class TcZdgzxmController extends BaseController {
tcZdgzxmService.importUser(tcZdgzxmList);
return AjaxResult.success();
}
/**
*
*
@ -113,15 +108,14 @@ public class TcZdgzxmController extends BaseController {
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus,@RequestParam("ids") List<String> ids) {
tcZdgzxmService.updateByisStatus(isStatus,ids);
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcZdgzxmService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcZdgzxm> util = new ExcelUtil<TcZdgzxm>(TcZdgzxm.class);
util.importTemplateExcel(response, " 重点工作项目");
}

@ -4,8 +4,6 @@ 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.TcWljgtj;
import com.ruoyi.tcZz.domain.TcZdgzxm;
import com.ruoyi.tcZz.domain.TcZdlyjg;
import com.ruoyi.tcZz.service.ITcZdlyjgService;
import io.swagger.annotations.Api;
@ -99,6 +97,7 @@ public class TcZdlyjgController extends BaseController {
tcZdlyjgService.importUser(tcZdlyjgList);
return AjaxResult.success();
}
/**
*
*
@ -108,15 +107,14 @@ public class TcZdlyjgController extends BaseController {
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus,@RequestParam("ids") List<String> ids) {
tcZdlyjgService.updateByisStatus(isStatus,ids);
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcZdlyjgService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcZdlyjg> util = new ExcelUtil<TcZdlyjg>(TcZdlyjg.class);
util.importTemplateExcel(response, " 重点领域监管");
}

@ -4,8 +4,6 @@ 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.TcWljgtj;
import com.ruoyi.tcZz.domain.TcZdlyjg;
import com.ruoyi.tcZz.domain.TcZdqyml;
import com.ruoyi.tcZz.service.ITcZdqymlService;
import io.swagger.annotations.Api;
@ -110,15 +108,14 @@ public class TcZdqymlController extends BaseController {
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus,@RequestParam("ids") List<String> ids) {
tcZdqymlService.updateByisStatus(isStatus,ids);
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcZdqymlService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcZdqyml> util = new ExcelUtil<TcZdqyml>(TcZdqyml.class);
util.importTemplateExcel(response, " 重点企业名录");
}

@ -1,19 +1,14 @@
package com.ruoyi.tcZz.controller;
import com.ruoyi.common.annotation.Log;
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.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;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
@ -92,7 +87,6 @@ public class TcZfwzController extends BaseController {
}
/**
*
*/
@ -114,15 +108,14 @@ public class TcZfwzController extends BaseController {
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus,@RequestParam("ids") List<String> ids) {
tcZfwzService.updateByisStatus(isStatus,ids);
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcZfwzService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcZfwz> util = new ExcelUtil<TcZfwz>(TcZfwz.class);
util.importTemplateExcel(response, " 政府网站");
}

@ -1,25 +1,20 @@
package com.ruoyi.tcZz.controller;
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;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.tcZz.domain.TcZxyh;
import com.ruoyi.tcZz.service.ITcZxyhService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* Controller
*
@ -114,14 +109,13 @@ public class TcZxyhController extends BaseController {
@ApiOperation("批量启用禁用")
@GetMapping("/isStatus")
public AjaxResult isStatus(@RequestParam("isStatus") Integer isStatus, @RequestParam("ids") List<String> ids) {
tcZxyhService.updateByisStatus(isStatus,ids);
tcZxyhService.updateByisStatus(isStatus, ids);
return AjaxResult.success();
}
@ApiOperation("通用下载excel模板")
@PostMapping("/importTemplate")
public void importTemplate(HttpServletResponse response)
{
public void importTemplate(HttpServletResponse response) {
ExcelUtil<TcZxyh> util = new ExcelUtil<TcZxyh>(TcZxyh.class);
util.importTemplateExcel(response, " 最新隐患");
}

@ -32,7 +32,7 @@ public class TcMap extends BaseEntity
/** 数量 */
@ApiModelProperty(value = "数量")
@Excel(name = "数量")
private String count;
private Integer count;
/** 1.
2.

@ -66,4 +66,11 @@ public interface TcMapMapper
*
*/
public void updateByisStatus(@Param("isStatus") Integer isStatus, @Param("ids") List<String> ids);
/**
*
*/
int deleteTcMap();
}

@ -2,7 +2,6 @@ package com.ruoyi.tcZz.service;
import java.util.List;
import com.ruoyi.tcZz.domain.TcAqg;
import com.ruoyi.tcZz.domain.TcMap;
/**
@ -11,8 +10,7 @@ import com.ruoyi.tcZz.domain.TcMap;
* @author ruoyi
* @date 2023-10-12
*/
public interface ITcMapService
{
public interface ITcMapService {
/**
*
*
@ -71,8 +69,13 @@ public interface ITcMapService
/**
*
*/
public void updateByisStatus(Integer isStatus, List<String> ids);
/**
*
*
*
* @return
*/
public void updateByisStatus(Integer isStatus,List<String> ids);
int deleteTcMap();
}

@ -3,7 +3,6 @@ package com.ruoyi.tcZz.service.impl;
import java.util.List;
import com.ruoyi.common.utils.DateUtils;
import com.ruoyi.tcZz.domain.TcAqg;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.tcZz.mapper.TcMapMapper;
@ -106,4 +105,9 @@ public class TcMapServiceImpl implements ITcMapService {
public void updateByisStatus(Integer isStatus,List<String> ids) {
tcMapMapper.updateByisStatus(isStatus,ids);
}
@Override
public int deleteTcMap() {
return tcMapMapper.deleteTcMap();
}
}

@ -33,7 +33,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="params.beginUpdateTime != null and params.beginUpdateTime != '' and params.endUpdateTime != null and params.endUpdateTime != ''"> and update_time between #{params.beginUpdateTime} and #{params.endUpdateTime}</if>
<if test="remark != null and remark != ''"> and remark = #{remark}</if>
</where>
order by create_time desc
order by count desc
</select>
<select id="selectTcMapById" parameterType="Long" resultMap="TcMapResult">
@ -98,4 +98,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
#{id}
</foreach>
</delete>
<delete id="deleteTcMap">
delete from tc_map
</delete>
</mapper>
Loading…
Cancel
Save