diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcDtsxController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcDtsxController.java new file mode 100644 index 00000000..1f5860cf --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcDtsxController.java @@ -0,0 +1,104 @@ +package com.ruoyi.tcZz.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; +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.tcZz.domain.TcDtsx; +import com.ruoyi.tcZz.service.ITcDtsxService; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 动态筛选Controller + * + * @author ruoyi + * @date 2023-10-12 + */ +@RestController +@RequestMapping("/tcZz/netWorkYq/dtsx") +public class TcDtsxController extends BaseController +{ + @Autowired + private ITcDtsxService tcDtsxService; + + /** + * 查询动态筛选列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:dtsx:list')") + @GetMapping("/list") + public TableDataInfo list(TcDtsx tcDtsx) + { + startPage(); + List list = tcDtsxService.selectTcDtsxList(tcDtsx); + return getDataTable(list); + } + + /** + * 导出动态筛选列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:dtsx:export')") + @Log(title = "动态筛选", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, TcDtsx tcDtsx) + { + List list = tcDtsxService.selectTcDtsxList(tcDtsx); + ExcelUtil util = new ExcelUtil(TcDtsx.class); + util.exportExcel(response, list, "动态筛选数据"); + } + + /** + * 获取动态筛选详细信息 + */ + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:dtsx:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(tcDtsxService.selectTcDtsxById(id)); + } + + /** + * 新增动态筛选 + */ + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:dtsx:add')") + @Log(title = "动态筛选", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody TcDtsx tcDtsx) + { + return toAjax(tcDtsxService.insertTcDtsx(tcDtsx)); + } + + /** + * 修改动态筛选 + */ + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:dtsx:edit')") + @Log(title = "动态筛选", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody TcDtsx tcDtsx) + { + return toAjax(tcDtsxService.updateTcDtsx(tcDtsx)); + } + + /** + * 删除动态筛选 + */ + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:dtsx:remove')") + @Log(title = "动态筛选", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(tcDtsxService.deleteTcDtsxByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcMtlxController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcMtlxController.java new file mode 100644 index 00000000..097d07fa --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcMtlxController.java @@ -0,0 +1,104 @@ +package com.ruoyi.tcZz.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; +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.tcZz.domain.TcMtlx; +import com.ruoyi.tcZz.service.ITcMtlxService; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 媒体类型Controller + * + * @author ruoyi + * @date 2023-10-12 + */ +@RestController +@RequestMapping("/tcZz/netWorkYq/mtlx") +public class TcMtlxController extends BaseController +{ + @Autowired + private ITcMtlxService tcMtlxService; + + /** + * 查询媒体类型列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:mtlx:list')") + @GetMapping("/list") + public TableDataInfo list(TcMtlx tcMtlx) + { + startPage(); + List list = tcMtlxService.selectTcMtlxList(tcMtlx); + return getDataTable(list); + } + + /** + * 导出媒体类型列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:mtlx:export')") + @Log(title = "媒体类型", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, TcMtlx tcMtlx) + { + List list = tcMtlxService.selectTcMtlxList(tcMtlx); + ExcelUtil util = new ExcelUtil(TcMtlx.class); + util.exportExcel(response, list, "媒体类型数据"); + } + + /** + * 获取媒体类型详细信息 + */ + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:mtlx:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(tcMtlxService.selectTcMtlxById(id)); + } + + /** + * 新增媒体类型 + */ + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:mtlx:add')") + @Log(title = "媒体类型", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody TcMtlx tcMtlx) + { + return toAjax(tcMtlxService.insertTcMtlx(tcMtlx)); + } + + /** + * 修改媒体类型 + */ + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:mtlx:edit')") + @Log(title = "媒体类型", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody TcMtlx tcMtlx) + { + return toAjax(tcMtlxService.updateTcMtlx(tcMtlx)); + } + + /** + * 删除媒体类型 + */ + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:mtlx:remove')") + @Log(title = "媒体类型", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(tcMtlxService.deleteTcMtlxByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcSslxController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcSslxController.java new file mode 100644 index 00000000..6a3af7b2 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcSslxController.java @@ -0,0 +1,104 @@ +package com.ruoyi.tcZz.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; +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.tcZz.domain.TcSslx; +import com.ruoyi.tcZz.service.ITcSslxService; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 涉事类型Controller + * + * @author ruoyi + * @date 2023-10-12 + */ +@RestController +@RequestMapping("/tcZz/netWorkYq/sslx") +public class TcSslxController extends BaseController +{ + @Autowired + private ITcSslxService tcSslxService; + + /** + * 查询涉事类型列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:sslx:list')") + @GetMapping("/list") + public TableDataInfo list(TcSslx tcSslx) + { + startPage(); + List list = tcSslxService.selectTcSslxList(tcSslx); + return getDataTable(list); + } + + /** + * 导出涉事类型列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:sslx:export')") + @Log(title = "涉事类型", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, TcSslx tcSslx) + { + List list = tcSslxService.selectTcSslxList(tcSslx); + ExcelUtil util = new ExcelUtil(TcSslx.class); + util.exportExcel(response, list, "涉事类型数据"); + } + + /** + * 获取涉事类型详细信息 + */ + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:sslx:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(tcSslxService.selectTcSslxById(id)); + } + + /** + * 新增涉事类型 + */ + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:sslx:add')") + @Log(title = "涉事类型", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody TcSslx tcSslx) + { + return toAjax(tcSslxService.insertTcSslx(tcSslx)); + } + + /** + * 修改涉事类型 + */ + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:sslx:edit')") + @Log(title = "涉事类型", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody TcSslx tcSslx) + { + return toAjax(tcSslxService.updateTcSslx(tcSslx)); + } + + /** + * 删除涉事类型 + */ + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:sslx:remove')") + @Log(title = "涉事类型", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(tcSslxService.deleteTcSslxByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcYqbgController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcYqbgController.java new file mode 100644 index 00000000..0b7f8313 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcYqbgController.java @@ -0,0 +1,104 @@ +package com.ruoyi.tcZz.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; +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.tcZz.domain.TcYqbg; +import com.ruoyi.tcZz.service.ITcYqbgService; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 舆情报告Controller + * + * @author ruoyi + * @date 2023-10-12 + */ +@RestController +@RequestMapping("/tcZz/netWorkYq/yqbg") +public class TcYqbgController extends BaseController +{ + @Autowired + private ITcYqbgService tcYqbgService; + + /** + * 查询舆情报告列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqbg:list')") + @GetMapping("/list") + public TableDataInfo list(TcYqbg tcYqbg) + { + startPage(); + List list = tcYqbgService.selectTcYqbgList(tcYqbg); + return getDataTable(list); + } + + /** + * 导出舆情报告列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqbg:export')") + @Log(title = "舆情报告", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, TcYqbg tcYqbg) + { + List list = tcYqbgService.selectTcYqbgList(tcYqbg); + ExcelUtil util = new ExcelUtil(TcYqbg.class); + util.exportExcel(response, list, "舆情报告数据"); + } + + /** + * 获取舆情报告详细信息 + */ + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqbg:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(tcYqbgService.selectTcYqbgById(id)); + } + + /** + * 新增舆情报告 + */ + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqbg:add')") + @Log(title = "舆情报告", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody TcYqbg tcYqbg) + { + return toAjax(tcYqbgService.insertTcYqbg(tcYqbg)); + } + + /** + * 修改舆情报告 + */ + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqbg:edit')") + @Log(title = "舆情报告", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody TcYqbg tcYqbg) + { + return toAjax(tcYqbgService.updateTcYqbg(tcYqbg)); + } + + /** + * 删除舆情报告 + */ + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqbg:remove')") + @Log(title = "舆情报告", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(tcYqbgService.deleteTcYqbgByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcYqxxlnumController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcYqxxlnumController.java new file mode 100644 index 00000000..0fbea8a0 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcYqxxlnumController.java @@ -0,0 +1,104 @@ +package com.ruoyi.tcZz.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; +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.tcZz.domain.TcYqxxlnum; +import com.ruoyi.tcZz.service.ITcYqxxlnumService; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 舆情信息量统计Controller + * + * @author ruoyi + * @date 2023-10-12 + */ +@RestController +@RequestMapping("/tcZz/netWorkYq/yqxxlnum") +public class TcYqxxlnumController extends BaseController +{ + @Autowired + private ITcYqxxlnumService tcYqxxlnumService; + + /** + * 查询舆情信息量统计列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqxxlnum:list')") + @GetMapping("/list") + public TableDataInfo list(TcYqxxlnum tcYqxxlnum) + { + startPage(); + List list = tcYqxxlnumService.selectTcYqxxlnumList(tcYqxxlnum); + return getDataTable(list); + } + + /** + * 导出舆情信息量统计列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqxxlnum:export')") + @Log(title = "舆情信息量统计", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, TcYqxxlnum tcYqxxlnum) + { + List list = tcYqxxlnumService.selectTcYqxxlnumList(tcYqxxlnum); + ExcelUtil util = new ExcelUtil(TcYqxxlnum.class); + util.exportExcel(response, list, "舆情信息量统计数据"); + } + + /** + * 获取舆情信息量统计详细信息 + */ + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqxxlnum:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(tcYqxxlnumService.selectTcYqxxlnumById(id)); + } + + /** + * 新增舆情信息量统计 + */ + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqxxlnum:add')") + @Log(title = "舆情信息量统计", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody TcYqxxlnum tcYqxxlnum) + { + return toAjax(tcYqxxlnumService.insertTcYqxxlnum(tcYqxxlnum)); + } + + /** + * 修改舆情信息量统计 + */ + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqxxlnum:edit')") + @Log(title = "舆情信息量统计", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody TcYqxxlnum tcYqxxlnum) + { + return toAjax(tcYqxxlnumService.updateTcYqxxlnum(tcYqxxlnum)); + } + + /** + * 删除舆情信息量统计 + */ + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqxxlnum:remove')") + @Log(title = "舆情信息量统计", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(tcYqxxlnumService.deleteTcYqxxlnumByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcYqxxltjController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcYqxxltjController.java index 887588b2..a91351e2 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcYqxxltjController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcYqxxltjController.java @@ -22,22 +22,22 @@ import com.ruoyi.common.utils.poi.ExcelUtil; import com.ruoyi.common.core.page.TableDataInfo; /** - * 舆情信息量统计Controller + * 舆情信息量统计明細Controller * * @author ruoyi * @date 2023-10-12 */ @RestController -@RequestMapping("/tcZz/yqxxltj") +@RequestMapping("/tcZz/netWorkYq/yqxxltj") public class TcYqxxltjController extends BaseController { @Autowired private ITcYqxxltjService tcYqxxltjService; /** - * 查询舆情信息量统计列表 + * 查询舆情信息量统计明細列表 */ - @PreAuthorize("@ss.hasPermi('tcZz:yqxxltj:list')") + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqxxltj:list')") @GetMapping("/list") public TableDataInfo list(TcYqxxltj tcYqxxltj) { @@ -47,22 +47,22 @@ public class TcYqxxltjController extends BaseController } /** - * 导出舆情信息量统计列表 + * 导出舆情信息量统计明細列表 */ - @PreAuthorize("@ss.hasPermi('tcZz:yqxxltj:export')") - @Log(title = "舆情信息量统计", businessType = BusinessType.EXPORT) + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqxxltj:export')") + @Log(title = "舆情信息量统计明細", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, TcYqxxltj tcYqxxltj) { List list = tcYqxxltjService.selectTcYqxxltjList(tcYqxxltj); ExcelUtil util = new ExcelUtil(TcYqxxltj.class); - util.exportExcel(response, list, "舆情信息量统计数据"); + util.exportExcel(response, list, "舆情信息量统计明細数据"); } /** - * 获取舆情信息量统计详细信息 + * 获取舆情信息量统计明細详细信息 */ - @PreAuthorize("@ss.hasPermi('tcZz:yqxxltj:query')") + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqxxltj:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { @@ -70,10 +70,10 @@ public class TcYqxxltjController extends BaseController } /** - * 新增舆情信息量统计 + * 新增舆情信息量统计明細 */ - @PreAuthorize("@ss.hasPermi('tcZz:yqxxltj:add')") - @Log(title = "舆情信息量统计", businessType = BusinessType.INSERT) + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqxxltj:add')") + @Log(title = "舆情信息量统计明細", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody TcYqxxltj tcYqxxltj) { @@ -81,10 +81,10 @@ public class TcYqxxltjController extends BaseController } /** - * 修改舆情信息量统计 + * 修改舆情信息量统计明細 */ - @PreAuthorize("@ss.hasPermi('tcZz:yqxxltj:edit')") - @Log(title = "舆情信息量统计", businessType = BusinessType.UPDATE) + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqxxltj:edit')") + @Log(title = "舆情信息量统计明細", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody TcYqxxltj tcYqxxltj) { @@ -92,10 +92,10 @@ public class TcYqxxltjController extends BaseController } /** - * 删除舆情信息量统计 + * 删除舆情信息量统计明細 */ - @PreAuthorize("@ss.hasPermi('tcZz:yqxxltj:remove')") - @Log(title = "舆情信息量统计", businessType = BusinessType.DELETE) + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqxxltj:remove')") + @Log(title = "舆情信息量统计明細", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcYqyjController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcYqyjController.java new file mode 100644 index 00000000..0b667a46 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcYqyjController.java @@ -0,0 +1,104 @@ +package com.ruoyi.tcZz.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; +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.tcZz.domain.TcYqyj; +import com.ruoyi.tcZz.service.ITcYqyjService; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 舆情预警Controller + * + * @author ruoyi + * @date 2023-10-12 + */ +@RestController +@RequestMapping("/tcZz/netWorkYq/yqyj") +public class TcYqyjController extends BaseController +{ + @Autowired + private ITcYqyjService tcYqyjService; + + /** + * 查询舆情预警列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqyj:list')") + @GetMapping("/list") + public TableDataInfo list(TcYqyj tcYqyj) + { + startPage(); + List list = tcYqyjService.selectTcYqyjList(tcYqyj); + return getDataTable(list); + } + + /** + * 导出舆情预警列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqyj:export')") + @Log(title = "舆情预警", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, TcYqyj tcYqyj) + { + List list = tcYqyjService.selectTcYqyjList(tcYqyj); + ExcelUtil util = new ExcelUtil(TcYqyj.class); + util.exportExcel(response, list, "舆情预警数据"); + } + + /** + * 获取舆情预警详细信息 + */ + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqyj:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(tcYqyjService.selectTcYqyjById(id)); + } + + /** + * 新增舆情预警 + */ + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqyj:add')") + @Log(title = "舆情预警", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody TcYqyj tcYqyj) + { + return toAjax(tcYqyjService.insertTcYqyj(tcYqyj)); + } + + /** + * 修改舆情预警 + */ + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqyj:edit')") + @Log(title = "舆情预警", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody TcYqyj tcYqyj) + { + return toAjax(tcYqyjService.updateTcYqyj(tcYqyj)); + } + + /** + * 删除舆情预警 + */ + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqyj:remove')") + @Log(title = "舆情预警", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(tcYqyjService.deleteTcYqyjByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcZbxqController.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcZbxqController.java new file mode 100644 index 00000000..75e17448 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/controller/TcZbxqController.java @@ -0,0 +1,104 @@ +package com.ruoyi.tcZz.controller; + +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; +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.tcZz.domain.TcZbxq; +import com.ruoyi.tcZz.service.ITcZbxqService; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 转办量、转办详情Controller + * + * @author ruoyi + * @date 2023-10-12 + */ +@RestController +@RequestMapping("/tcZz/netWorkYq/zbxq") +public class TcZbxqController extends BaseController +{ + @Autowired + private ITcZbxqService tcZbxqService; + + /** + * 查询 转办量、转办详情列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:zbxq:list')") + @GetMapping("/list") + public TableDataInfo list(TcZbxq tcZbxq) + { + startPage(); + List list = tcZbxqService.selectTcZbxqList(tcZbxq); + return getDataTable(list); + } + + /** + * 导出 转办量、转办详情列表 + */ + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:zbxq:export')") + @Log(title = " 转办量、转办详情", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, TcZbxq tcZbxq) + { + List list = tcZbxqService.selectTcZbxqList(tcZbxq); + ExcelUtil util = new ExcelUtil(TcZbxq.class); + util.exportExcel(response, list, " 转办量、转办详情数据"); + } + + /** + * 获取 转办量、转办详情详细信息 + */ + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:zbxq:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") Long id) + { + return success(tcZbxqService.selectTcZbxqById(id)); + } + + /** + * 新增 转办量、转办详情 + */ + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:zbxq:add')") + @Log(title = " 转办量、转办详情", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody TcZbxq tcZbxq) + { + return toAjax(tcZbxqService.insertTcZbxq(tcZbxq)); + } + + /** + * 修改 转办量、转办详情 + */ + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:zbxq:edit')") + @Log(title = " 转办量、转办详情", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody TcZbxq tcZbxq) + { + return toAjax(tcZbxqService.updateTcZbxq(tcZbxq)); + } + + /** + * 删除 转办量、转办详情 + */ + @PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:zbxq:remove')") + @Log(title = " 转办量、转办详情", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable Long[] ids) + { + return toAjax(tcZbxqService.deleteTcZbxqByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcDtsx.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcDtsx.java new file mode 100644 index 00000000..c5f7043d --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcDtsx.java @@ -0,0 +1,98 @@ +package com.ruoyi.tcZz.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 动态筛选对象 tc_dtsx + * + * @author ruoyi + * @date 2023-10-12 + */ +public class TcDtsx extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** $column.columnComment */ + private Long id; + + /** 监测信息总量 */ + @Excel(name = "监测信息总量") + private String jcCount; + + /** 排除信息量 */ + @Excel(name = "排除信息量") + private String pcCount; + + /** 舆情预警量(可空) */ + @Excel(name = "舆情预警量", readConverterExp = "可=空") + private String yqCount; + + /** 舆情预警占比(可空) */ + @Excel(name = "舆情预警占比", readConverterExp = "可=空") + private String yqZb; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setJcCount(String jcCount) + { + this.jcCount = jcCount; + } + + public String getJcCount() + { + return jcCount; + } + public void setPcCount(String pcCount) + { + this.pcCount = pcCount; + } + + public String getPcCount() + { + return pcCount; + } + public void setYqCount(String yqCount) + { + this.yqCount = yqCount; + } + + public String getYqCount() + { + return yqCount; + } + public void setYqZb(String yqZb) + { + this.yqZb = yqZb; + } + + public String getYqZb() + { + return yqZb; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("jcCount", getJcCount()) + .append("pcCount", getPcCount()) + .append("yqCount", getYqCount()) + .append("yqZb", getYqZb()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcMtlx.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcMtlx.java new file mode 100644 index 00000000..8d9583b8 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcMtlx.java @@ -0,0 +1,70 @@ +package com.ruoyi.tcZz.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 媒体类型对象 tc_mtlx + * + * @author ruoyi + * @date 2023-10-12 + */ +public class TcMtlx extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** $column.columnComment */ + private Long id; + + /** 名称 */ + @Excel(name = "名称") + private String name; + + /** 占比 */ + @Excel(name = "占比") + private String zb; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setName(String name) + { + this.name = name; + } + + public String getName() + { + return name; + } + public void setZb(String zb) + { + this.zb = zb; + } + + public String getZb() + { + return zb; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("name", getName()) + .append("zb", getZb()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcSslx.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcSslx.java new file mode 100644 index 00000000..be44301c --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcSslx.java @@ -0,0 +1,70 @@ +package com.ruoyi.tcZz.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 涉事类型对象 tc_sslx + * + * @author ruoyi + * @date 2023-10-12 + */ +public class TcSslx extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** $column.columnComment */ + private Long id; + + /** 名称 */ + @Excel(name = "名称") + private String name; + + /** 占比 */ + @Excel(name = "占比") + private String zb; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setName(String name) + { + this.name = name; + } + + public String getName() + { + return name; + } + public void setZb(String zb) + { + this.zb = zb; + } + + public String getZb() + { + return zb; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("name", getName()) + .append("zb", getZb()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcYqbg.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcYqbg.java new file mode 100644 index 00000000..bb1614ed --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcYqbg.java @@ -0,0 +1,126 @@ +package com.ruoyi.tcZz.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 舆情报告对象 tc_yqbg + * + * @author ruoyi + * @date 2023-10-12 + */ +public class TcYqbg extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** $column.columnComment */ + private Long id; + + /** 区域id */ + @Excel(name = "区域id") + private String areaId; + + /** 启用/禁用 */ + @Excel(name = "启用/禁用") + private Long isStatus; + + /** 类型 */ + @Excel(name = "类型") + private Long type; + + /** 标题名称 */ + @Excel(name = "标题名称") + private String title; + + /** 文件名称 */ + @Excel(name = "文件名称") + private String fileName; + + /** 文件路径(完整路径) */ + @Excel(name = "文件路径(完整路径)") + private String fileUrl; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setAreaId(String areaId) + { + this.areaId = areaId; + } + + public String getAreaId() + { + return areaId; + } + public void setIsStatus(Long isStatus) + { + this.isStatus = isStatus; + } + + public Long getIsStatus() + { + return isStatus; + } + public void setType(Long type) + { + this.type = type; + } + + public Long getType() + { + return type; + } + public void setTitle(String title) + { + this.title = title; + } + + public String getTitle() + { + return title; + } + public void setFileName(String fileName) + { + this.fileName = fileName; + } + + public String getFileName() + { + return fileName; + } + public void setFileUrl(String fileUrl) + { + this.fileUrl = fileUrl; + } + + public String getFileUrl() + { + return fileUrl; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("areaId", getAreaId()) + .append("isStatus", getIsStatus()) + .append("type", getType()) + .append("title", getTitle()) + .append("fileName", getFileName()) + .append("fileUrl", getFileUrl()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcYqxxlnum.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcYqxxlnum.java new file mode 100644 index 00000000..2e58127f --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcYqxxlnum.java @@ -0,0 +1,98 @@ +package com.ruoyi.tcZz.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 舆情信息量统计对象 tc_yqxxlnum + * + * @author ruoyi + * @date 2023-10-12 + */ +public class TcYqxxlnum extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** $column.columnComment */ + private Long id; + + /** 本地相关信息数量 */ + @Excel(name = "本地相关信息数量") + private Long count1; + + /** 本地敏感信息数量 */ + @Excel(name = "本地敏感信息数量") + private Long count2; + + /** 推送预警信息数量 */ + @Excel(name = "推送预警信息数量") + private Long count3; + + /** 聚焦本地媒体数量 */ + @Excel(name = "聚焦本地媒体数量") + private Long count4; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setCount1(Long count1) + { + this.count1 = count1; + } + + public Long getCount1() + { + return count1; + } + public void setCount2(Long count2) + { + this.count2 = count2; + } + + public Long getCount2() + { + return count2; + } + public void setCount3(Long count3) + { + this.count3 = count3; + } + + public Long getCount3() + { + return count3; + } + public void setCount4(Long count4) + { + this.count4 = count4; + } + + public Long getCount4() + { + return count4; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("count1", getCount1()) + .append("count2", getCount2()) + .append("count3", getCount3()) + .append("count4", getCount4()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcYqxxltj.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcYqxxltj.java index fefecdf2..54c19d9f 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcYqxxltj.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcYqxxltj.java @@ -2,28 +2,22 @@ package com.ruoyi.tcZz.domain; import java.util.Date; import com.fasterxml.jackson.annotation.JsonFormat; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import lombok.Data; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.ruoyi.common.annotation.Excel; import com.ruoyi.common.core.domain.BaseEntity; /** - * 舆情信息量统计对象 tc_yqxxltj + * 舆情信息量统计明細对象 tc_yqxxltj * * @author ruoyi * @date 2023-10-12 */ -@Data -@ApiModel("舆情信息量统计对象") public class TcYqxxltj extends BaseEntity { private static final long serialVersionUID = 1L; /** $column.columnComment */ - @ApiModelProperty(value = "id") private Long id; /** 区域id */ @@ -54,4 +48,96 @@ public class TcYqxxltj extends BaseEntity /** 内容 */ @Excel(name = "内容") private String content; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setAreaId(String areaId) + { + this.areaId = areaId; + } + + public String getAreaId() + { + return areaId; + } + public void setIsStatus(Long isStatus) + { + this.isStatus = isStatus; + } + + public Long getIsStatus() + { + return isStatus; + } + public void setType(Long type) + { + this.type = type; + } + + public Long getType() + { + return type; + } + public void setTitle(String title) + { + this.title = title; + } + + public String getTitle() + { + return title; + } + public void setSource(String source) + { + this.source = source; + } + + public String getSource() + { + return source; + } + public void setDateTime(Date dateTime) + { + this.dateTime = dateTime; + } + + public Date getDateTime() + { + return dateTime; + } + public void setContent(String content) + { + this.content = content; + } + + public String getContent() + { + return content; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("areaId", getAreaId()) + .append("isStatus", getIsStatus()) + .append("type", getType()) + .append("title", getTitle()) + .append("source", getSource()) + .append("dateTime", getDateTime()) + .append("content", getContent()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcYqyj.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcYqyj.java new file mode 100644 index 00000000..265cad16 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcYqyj.java @@ -0,0 +1,129 @@ +package com.ruoyi.tcZz.domain; + +import java.util.Date; +import com.fasterxml.jackson.annotation.JsonFormat; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 舆情预警对象 tc_yqyj + * + * @author ruoyi + * @date 2023-10-12 + */ +public class TcYqyj extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** $column.columnComment */ + private Long id; + + /** 区域id */ + @Excel(name = "区域id") + private String areaId; + + /** 1.启用 2.禁用 */ + @Excel(name = "1.启用 2.禁用") + private Long isStatus; + + /** 标题 */ + @Excel(name = "标题") + private String title; + + /** 来源 */ + @Excel(name = "来源") + private String source; + + /** 时间 */ + @JsonFormat(pattern = "yyyy-MM-dd") + @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd") + private Date dateTime; + + /** 内容 */ + @Excel(name = "内容") + private String content; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setAreaId(String areaId) + { + this.areaId = areaId; + } + + public String getAreaId() + { + return areaId; + } + public void setIsStatus(Long isStatus) + { + this.isStatus = isStatus; + } + + public Long getIsStatus() + { + return isStatus; + } + public void setTitle(String title) + { + this.title = title; + } + + public String getTitle() + { + return title; + } + public void setSource(String source) + { + this.source = source; + } + + public String getSource() + { + return source; + } + public void setDateTime(Date dateTime) + { + this.dateTime = dateTime; + } + + public Date getDateTime() + { + return dateTime; + } + public void setContent(String content) + { + this.content = content; + } + + public String getContent() + { + return content; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("areaId", getAreaId()) + .append("isStatus", getIsStatus()) + .append("title", getTitle()) + .append("source", getSource()) + .append("dateTime", getDateTime()) + .append("content", getContent()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcYqzs.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcYqzs.java index c802f3dd..414560cb 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcYqzs.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcYqzs.java @@ -2,9 +2,6 @@ package com.ruoyi.tcZz.domain; import java.util.Date; import com.fasterxml.jackson.annotation.JsonFormat; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import lombok.Data; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.ruoyi.common.annotation.Excel; @@ -16,14 +13,11 @@ import com.ruoyi.common.core.domain.BaseEntity; * @author ruoyi * @date 2023-10-12 */ -@Data -@ApiModel("舆情走势图对象") public class TcYqzs extends BaseEntity { private static final long serialVersionUID = 1L; /** $column.columnComment */ - @ApiModelProperty(value = "id") private Long id; /** 区域id */ @@ -47,4 +41,66 @@ public class TcYqzs extends BaseEntity @Excel(name = "敏感数量") @ApiModelProperty(value = "敏感数量") private Long count2; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setAreaId(Long areaId) + { + this.areaId = areaId; + } + + public Long getAreaId() + { + return areaId; + } + public void setDateTime(Date dateTime) + { + this.dateTime = dateTime; + } + + public Date getDateTime() + { + return dateTime; + } + public void setCount1(Long count1) + { + this.count1 = count1; + } + + public Long getCount1() + { + return count1; + } + public void setCount2(Long count2) + { + this.count2 = count2; + } + + public Long getCount2() + { + return count2; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("areaId", getAreaId()) + .append("dateTime", getDateTime()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .append("count1", getCount1()) + .append("count2", getCount2()) + .toString(); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcZbxq.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcZbxq.java new file mode 100644 index 00000000..2b2cbafc --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcZbxq.java @@ -0,0 +1,112 @@ +package com.ruoyi.tcZz.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 转办量、转办详情对象 tc_zbxq + * + * @author ruoyi + * @date 2023-10-12 + */ +public class TcZbxq extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** $column.columnComment */ + private Long id; + + /** 区域id */ + @Excel(name = "区域id") + private String areaId; + + /** 启用/禁用 */ + @Excel(name = "启用/禁用") + private Long isStatus; + + /** 舆情标题 */ + @Excel(name = "舆情标题") + private String yqTitle; + + /** 部门名称 */ + @Excel(name = "部门名称") + private String depName; + + /** 舆情状态 */ + @Excel(name = "舆情状态") + private String yqState; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setAreaId(String areaId) + { + this.areaId = areaId; + } + + public String getAreaId() + { + return areaId; + } + public void setIsStatus(Long isStatus) + { + this.isStatus = isStatus; + } + + public Long getIsStatus() + { + return isStatus; + } + public void setYqTitle(String yqTitle) + { + this.yqTitle = yqTitle; + } + + public String getYqTitle() + { + return yqTitle; + } + public void setDepName(String depName) + { + this.depName = depName; + } + + public String getDepName() + { + return depName; + } + public void setYqState(String yqState) + { + this.yqState = yqState; + } + + public String getYqState() + { + return yqState; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("areaId", getAreaId()) + .append("isStatus", getIsStatus()) + .append("yqTitle", getYqTitle()) + .append("depName", getDepName()) + .append("yqState", getYqState()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcDtsxMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcDtsxMapper.java new file mode 100644 index 00000000..3654ca78 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcDtsxMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.mapper; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcDtsx; + +/** + * 动态筛选Mapper接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface TcDtsxMapper +{ + /** + * 查询动态筛选 + * + * @param id 动态筛选主键 + * @return 动态筛选 + */ + public TcDtsx selectTcDtsxById(Long id); + + /** + * 查询动态筛选列表 + * + * @param tcDtsx 动态筛选 + * @return 动态筛选集合 + */ + public List selectTcDtsxList(TcDtsx tcDtsx); + + /** + * 新增动态筛选 + * + * @param tcDtsx 动态筛选 + * @return 结果 + */ + public int insertTcDtsx(TcDtsx tcDtsx); + + /** + * 修改动态筛选 + * + * @param tcDtsx 动态筛选 + * @return 结果 + */ + public int updateTcDtsx(TcDtsx tcDtsx); + + /** + * 删除动态筛选 + * + * @param id 动态筛选主键 + * @return 结果 + */ + public int deleteTcDtsxById(Long id); + + /** + * 批量删除动态筛选 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteTcDtsxByIds(Long[] ids); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcMtlxMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcMtlxMapper.java new file mode 100644 index 00000000..07d17bbe --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcMtlxMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.mapper; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcMtlx; + +/** + * 媒体类型Mapper接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface TcMtlxMapper +{ + /** + * 查询媒体类型 + * + * @param id 媒体类型主键 + * @return 媒体类型 + */ + public TcMtlx selectTcMtlxById(Long id); + + /** + * 查询媒体类型列表 + * + * @param tcMtlx 媒体类型 + * @return 媒体类型集合 + */ + public List selectTcMtlxList(TcMtlx tcMtlx); + + /** + * 新增媒体类型 + * + * @param tcMtlx 媒体类型 + * @return 结果 + */ + public int insertTcMtlx(TcMtlx tcMtlx); + + /** + * 修改媒体类型 + * + * @param tcMtlx 媒体类型 + * @return 结果 + */ + public int updateTcMtlx(TcMtlx tcMtlx); + + /** + * 删除媒体类型 + * + * @param id 媒体类型主键 + * @return 结果 + */ + public int deleteTcMtlxById(Long id); + + /** + * 批量删除媒体类型 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteTcMtlxByIds(Long[] ids); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcSslxMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcSslxMapper.java new file mode 100644 index 00000000..52e50e11 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcSslxMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.mapper; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcSslx; + +/** + * 涉事类型Mapper接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface TcSslxMapper +{ + /** + * 查询涉事类型 + * + * @param id 涉事类型主键 + * @return 涉事类型 + */ + public TcSslx selectTcSslxById(Long id); + + /** + * 查询涉事类型列表 + * + * @param tcSslx 涉事类型 + * @return 涉事类型集合 + */ + public List selectTcSslxList(TcSslx tcSslx); + + /** + * 新增涉事类型 + * + * @param tcSslx 涉事类型 + * @return 结果 + */ + public int insertTcSslx(TcSslx tcSslx); + + /** + * 修改涉事类型 + * + * @param tcSslx 涉事类型 + * @return 结果 + */ + public int updateTcSslx(TcSslx tcSslx); + + /** + * 删除涉事类型 + * + * @param id 涉事类型主键 + * @return 结果 + */ + public int deleteTcSslxById(Long id); + + /** + * 批量删除涉事类型 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteTcSslxByIds(Long[] ids); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcYqbgMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcYqbgMapper.java new file mode 100644 index 00000000..039af919 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcYqbgMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.mapper; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcYqbg; + +/** + * 舆情报告Mapper接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface TcYqbgMapper +{ + /** + * 查询舆情报告 + * + * @param id 舆情报告主键 + * @return 舆情报告 + */ + public TcYqbg selectTcYqbgById(Long id); + + /** + * 查询舆情报告列表 + * + * @param tcYqbg 舆情报告 + * @return 舆情报告集合 + */ + public List selectTcYqbgList(TcYqbg tcYqbg); + + /** + * 新增舆情报告 + * + * @param tcYqbg 舆情报告 + * @return 结果 + */ + public int insertTcYqbg(TcYqbg tcYqbg); + + /** + * 修改舆情报告 + * + * @param tcYqbg 舆情报告 + * @return 结果 + */ + public int updateTcYqbg(TcYqbg tcYqbg); + + /** + * 删除舆情报告 + * + * @param id 舆情报告主键 + * @return 结果 + */ + public int deleteTcYqbgById(Long id); + + /** + * 批量删除舆情报告 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteTcYqbgByIds(Long[] ids); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcYqxxlnumMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcYqxxlnumMapper.java new file mode 100644 index 00000000..7c9627bd --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcYqxxlnumMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.mapper; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcYqxxlnum; + +/** + * 舆情信息量统计Mapper接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface TcYqxxlnumMapper +{ + /** + * 查询舆情信息量统计 + * + * @param id 舆情信息量统计主键 + * @return 舆情信息量统计 + */ + public TcYqxxlnum selectTcYqxxlnumById(Long id); + + /** + * 查询舆情信息量统计列表 + * + * @param tcYqxxlnum 舆情信息量统计 + * @return 舆情信息量统计集合 + */ + public List selectTcYqxxlnumList(TcYqxxlnum tcYqxxlnum); + + /** + * 新增舆情信息量统计 + * + * @param tcYqxxlnum 舆情信息量统计 + * @return 结果 + */ + public int insertTcYqxxlnum(TcYqxxlnum tcYqxxlnum); + + /** + * 修改舆情信息量统计 + * + * @param tcYqxxlnum 舆情信息量统计 + * @return 结果 + */ + public int updateTcYqxxlnum(TcYqxxlnum tcYqxxlnum); + + /** + * 删除舆情信息量统计 + * + * @param id 舆情信息量统计主键 + * @return 结果 + */ + public int deleteTcYqxxlnumById(Long id); + + /** + * 批量删除舆情信息量统计 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteTcYqxxlnumByIds(Long[] ids); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcYqxxltjMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcYqxxltjMapper.java index 1de2161a..8449c9a2 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcYqxxltjMapper.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcYqxxltjMapper.java @@ -4,7 +4,7 @@ import java.util.List; import com.ruoyi.tcZz.domain.TcYqxxltj; /** - * 舆情信息量统计Mapper接口 + * 舆情信息量统计明細Mapper接口 * * @author ruoyi * @date 2023-10-12 @@ -12,47 +12,47 @@ import com.ruoyi.tcZz.domain.TcYqxxltj; public interface TcYqxxltjMapper { /** - * 查询舆情信息量统计 + * 查询舆情信息量统计明細 * - * @param id 舆情信息量统计主键 - * @return 舆情信息量统计 + * @param id 舆情信息量统计明細主键 + * @return 舆情信息量统计明細 */ public TcYqxxltj selectTcYqxxltjById(Long id); /** - * 查询舆情信息量统计列表 + * 查询舆情信息量统计明細列表 * - * @param tcYqxxltj 舆情信息量统计 - * @return 舆情信息量统计集合 + * @param tcYqxxltj 舆情信息量统计明細 + * @return 舆情信息量统计明細集合 */ public List selectTcYqxxltjList(TcYqxxltj tcYqxxltj); /** - * 新增舆情信息量统计 + * 新增舆情信息量统计明細 * - * @param tcYqxxltj 舆情信息量统计 + * @param tcYqxxltj 舆情信息量统计明細 * @return 结果 */ public int insertTcYqxxltj(TcYqxxltj tcYqxxltj); /** - * 修改舆情信息量统计 + * 修改舆情信息量统计明細 * - * @param tcYqxxltj 舆情信息量统计 + * @param tcYqxxltj 舆情信息量统计明細 * @return 结果 */ public int updateTcYqxxltj(TcYqxxltj tcYqxxltj); /** - * 删除舆情信息量统计 + * 删除舆情信息量统计明細 * - * @param id 舆情信息量统计主键 + * @param id 舆情信息量统计明細主键 * @return 结果 */ public int deleteTcYqxxltjById(Long id); /** - * 批量删除舆情信息量统计 + * 批量删除舆情信息量统计明細 * * @param ids 需要删除的数据主键集合 * @return 结果 diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcYqyjMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcYqyjMapper.java new file mode 100644 index 00000000..10b33d50 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcYqyjMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.mapper; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcYqyj; + +/** + * 舆情预警Mapper接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface TcYqyjMapper +{ + /** + * 查询舆情预警 + * + * @param id 舆情预警主键 + * @return 舆情预警 + */ + public TcYqyj selectTcYqyjById(Long id); + + /** + * 查询舆情预警列表 + * + * @param tcYqyj 舆情预警 + * @return 舆情预警集合 + */ + public List selectTcYqyjList(TcYqyj tcYqyj); + + /** + * 新增舆情预警 + * + * @param tcYqyj 舆情预警 + * @return 结果 + */ + public int insertTcYqyj(TcYqyj tcYqyj); + + /** + * 修改舆情预警 + * + * @param tcYqyj 舆情预警 + * @return 结果 + */ + public int updateTcYqyj(TcYqyj tcYqyj); + + /** + * 删除舆情预警 + * + * @param id 舆情预警主键 + * @return 结果 + */ + public int deleteTcYqyjById(Long id); + + /** + * 批量删除舆情预警 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteTcYqyjByIds(Long[] ids); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcZbxqMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcZbxqMapper.java new file mode 100644 index 00000000..27097fcd --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/mapper/TcZbxqMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.mapper; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcZbxq; + +/** + * 转办量、转办详情Mapper接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface TcZbxqMapper +{ + /** + * 查询 转办量、转办详情 + * + * @param id 转办量、转办详情主键 + * @return 转办量、转办详情 + */ + public TcZbxq selectTcZbxqById(Long id); + + /** + * 查询 转办量、转办详情列表 + * + * @param tcZbxq 转办量、转办详情 + * @return 转办量、转办详情集合 + */ + public List selectTcZbxqList(TcZbxq tcZbxq); + + /** + * 新增 转办量、转办详情 + * + * @param tcZbxq 转办量、转办详情 + * @return 结果 + */ + public int insertTcZbxq(TcZbxq tcZbxq); + + /** + * 修改 转办量、转办详情 + * + * @param tcZbxq 转办量、转办详情 + * @return 结果 + */ + public int updateTcZbxq(TcZbxq tcZbxq); + + /** + * 删除 转办量、转办详情 + * + * @param id 转办量、转办详情主键 + * @return 结果 + */ + public int deleteTcZbxqById(Long id); + + /** + * 批量删除 转办量、转办详情 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteTcZbxqByIds(Long[] ids); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcDtsxService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcDtsxService.java new file mode 100644 index 00000000..2f5f6ed8 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcDtsxService.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.service; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcDtsx; + +/** + * 动态筛选Service接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface ITcDtsxService +{ + /** + * 查询动态筛选 + * + * @param id 动态筛选主键 + * @return 动态筛选 + */ + public TcDtsx selectTcDtsxById(Long id); + + /** + * 查询动态筛选列表 + * + * @param tcDtsx 动态筛选 + * @return 动态筛选集合 + */ + public List selectTcDtsxList(TcDtsx tcDtsx); + + /** + * 新增动态筛选 + * + * @param tcDtsx 动态筛选 + * @return 结果 + */ + public int insertTcDtsx(TcDtsx tcDtsx); + + /** + * 修改动态筛选 + * + * @param tcDtsx 动态筛选 + * @return 结果 + */ + public int updateTcDtsx(TcDtsx tcDtsx); + + /** + * 批量删除动态筛选 + * + * @param ids 需要删除的动态筛选主键集合 + * @return 结果 + */ + public int deleteTcDtsxByIds(Long[] ids); + + /** + * 删除动态筛选信息 + * + * @param id 动态筛选主键 + * @return 结果 + */ + public int deleteTcDtsxById(Long id); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcMtlxService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcMtlxService.java new file mode 100644 index 00000000..7af8ea31 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcMtlxService.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.service; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcMtlx; + +/** + * 媒体类型Service接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface ITcMtlxService +{ + /** + * 查询媒体类型 + * + * @param id 媒体类型主键 + * @return 媒体类型 + */ + public TcMtlx selectTcMtlxById(Long id); + + /** + * 查询媒体类型列表 + * + * @param tcMtlx 媒体类型 + * @return 媒体类型集合 + */ + public List selectTcMtlxList(TcMtlx tcMtlx); + + /** + * 新增媒体类型 + * + * @param tcMtlx 媒体类型 + * @return 结果 + */ + public int insertTcMtlx(TcMtlx tcMtlx); + + /** + * 修改媒体类型 + * + * @param tcMtlx 媒体类型 + * @return 结果 + */ + public int updateTcMtlx(TcMtlx tcMtlx); + + /** + * 批量删除媒体类型 + * + * @param ids 需要删除的媒体类型主键集合 + * @return 结果 + */ + public int deleteTcMtlxByIds(Long[] ids); + + /** + * 删除媒体类型信息 + * + * @param id 媒体类型主键 + * @return 结果 + */ + public int deleteTcMtlxById(Long id); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcSslxService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcSslxService.java new file mode 100644 index 00000000..8dba163d --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcSslxService.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.service; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcSslx; + +/** + * 涉事类型Service接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface ITcSslxService +{ + /** + * 查询涉事类型 + * + * @param id 涉事类型主键 + * @return 涉事类型 + */ + public TcSslx selectTcSslxById(Long id); + + /** + * 查询涉事类型列表 + * + * @param tcSslx 涉事类型 + * @return 涉事类型集合 + */ + public List selectTcSslxList(TcSslx tcSslx); + + /** + * 新增涉事类型 + * + * @param tcSslx 涉事类型 + * @return 结果 + */ + public int insertTcSslx(TcSslx tcSslx); + + /** + * 修改涉事类型 + * + * @param tcSslx 涉事类型 + * @return 结果 + */ + public int updateTcSslx(TcSslx tcSslx); + + /** + * 批量删除涉事类型 + * + * @param ids 需要删除的涉事类型主键集合 + * @return 结果 + */ + public int deleteTcSslxByIds(Long[] ids); + + /** + * 删除涉事类型信息 + * + * @param id 涉事类型主键 + * @return 结果 + */ + public int deleteTcSslxById(Long id); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcYqbgService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcYqbgService.java new file mode 100644 index 00000000..3ad5e6c9 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcYqbgService.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.service; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcYqbg; + +/** + * 舆情报告Service接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface ITcYqbgService +{ + /** + * 查询舆情报告 + * + * @param id 舆情报告主键 + * @return 舆情报告 + */ + public TcYqbg selectTcYqbgById(Long id); + + /** + * 查询舆情报告列表 + * + * @param tcYqbg 舆情报告 + * @return 舆情报告集合 + */ + public List selectTcYqbgList(TcYqbg tcYqbg); + + /** + * 新增舆情报告 + * + * @param tcYqbg 舆情报告 + * @return 结果 + */ + public int insertTcYqbg(TcYqbg tcYqbg); + + /** + * 修改舆情报告 + * + * @param tcYqbg 舆情报告 + * @return 结果 + */ + public int updateTcYqbg(TcYqbg tcYqbg); + + /** + * 批量删除舆情报告 + * + * @param ids 需要删除的舆情报告主键集合 + * @return 结果 + */ + public int deleteTcYqbgByIds(Long[] ids); + + /** + * 删除舆情报告信息 + * + * @param id 舆情报告主键 + * @return 结果 + */ + public int deleteTcYqbgById(Long id); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcYqxxlnumService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcYqxxlnumService.java new file mode 100644 index 00000000..68930b49 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcYqxxlnumService.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.service; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcYqxxlnum; + +/** + * 舆情信息量统计Service接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface ITcYqxxlnumService +{ + /** + * 查询舆情信息量统计 + * + * @param id 舆情信息量统计主键 + * @return 舆情信息量统计 + */ + public TcYqxxlnum selectTcYqxxlnumById(Long id); + + /** + * 查询舆情信息量统计列表 + * + * @param tcYqxxlnum 舆情信息量统计 + * @return 舆情信息量统计集合 + */ + public List selectTcYqxxlnumList(TcYqxxlnum tcYqxxlnum); + + /** + * 新增舆情信息量统计 + * + * @param tcYqxxlnum 舆情信息量统计 + * @return 结果 + */ + public int insertTcYqxxlnum(TcYqxxlnum tcYqxxlnum); + + /** + * 修改舆情信息量统计 + * + * @param tcYqxxlnum 舆情信息量统计 + * @return 结果 + */ + public int updateTcYqxxlnum(TcYqxxlnum tcYqxxlnum); + + /** + * 批量删除舆情信息量统计 + * + * @param ids 需要删除的舆情信息量统计主键集合 + * @return 结果 + */ + public int deleteTcYqxxlnumByIds(Long[] ids); + + /** + * 删除舆情信息量统计信息 + * + * @param id 舆情信息量统计主键 + * @return 结果 + */ + public int deleteTcYqxxlnumById(Long id); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcYqxxltjService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcYqxxltjService.java index 0cb9f2de..2e3f1f93 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcYqxxltjService.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcYqxxltjService.java @@ -4,7 +4,7 @@ import java.util.List; import com.ruoyi.tcZz.domain.TcYqxxltj; /** - * 舆情信息量统计Service接口 + * 舆情信息量统计明細Service接口 * * @author ruoyi * @date 2023-10-12 @@ -12,49 +12,49 @@ import com.ruoyi.tcZz.domain.TcYqxxltj; public interface ITcYqxxltjService { /** - * 查询舆情信息量统计 + * 查询舆情信息量统计明細 * - * @param id 舆情信息量统计主键 - * @return 舆情信息量统计 + * @param id 舆情信息量统计明細主键 + * @return 舆情信息量统计明細 */ public TcYqxxltj selectTcYqxxltjById(Long id); /** - * 查询舆情信息量统计列表 + * 查询舆情信息量统计明細列表 * - * @param tcYqxxltj 舆情信息量统计 - * @return 舆情信息量统计集合 + * @param tcYqxxltj 舆情信息量统计明細 + * @return 舆情信息量统计明細集合 */ public List selectTcYqxxltjList(TcYqxxltj tcYqxxltj); /** - * 新增舆情信息量统计 + * 新增舆情信息量统计明細 * - * @param tcYqxxltj 舆情信息量统计 + * @param tcYqxxltj 舆情信息量统计明細 * @return 结果 */ public int insertTcYqxxltj(TcYqxxltj tcYqxxltj); /** - * 修改舆情信息量统计 + * 修改舆情信息量统计明細 * - * @param tcYqxxltj 舆情信息量统计 + * @param tcYqxxltj 舆情信息量统计明細 * @return 结果 */ public int updateTcYqxxltj(TcYqxxltj tcYqxxltj); /** - * 批量删除舆情信息量统计 + * 批量删除舆情信息量统计明細 * - * @param ids 需要删除的舆情信息量统计主键集合 + * @param ids 需要删除的舆情信息量统计明細主键集合 * @return 结果 */ public int deleteTcYqxxltjByIds(Long[] ids); /** - * 删除舆情信息量统计信息 + * 删除舆情信息量统计明細信息 * - * @param id 舆情信息量统计主键 + * @param id 舆情信息量统计明細主键 * @return 结果 */ public int deleteTcYqxxltjById(Long id); diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcYqyjService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcYqyjService.java new file mode 100644 index 00000000..2c4f9088 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcYqyjService.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.service; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcYqyj; + +/** + * 舆情预警Service接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface ITcYqyjService +{ + /** + * 查询舆情预警 + * + * @param id 舆情预警主键 + * @return 舆情预警 + */ + public TcYqyj selectTcYqyjById(Long id); + + /** + * 查询舆情预警列表 + * + * @param tcYqyj 舆情预警 + * @return 舆情预警集合 + */ + public List selectTcYqyjList(TcYqyj tcYqyj); + + /** + * 新增舆情预警 + * + * @param tcYqyj 舆情预警 + * @return 结果 + */ + public int insertTcYqyj(TcYqyj tcYqyj); + + /** + * 修改舆情预警 + * + * @param tcYqyj 舆情预警 + * @return 结果 + */ + public int updateTcYqyj(TcYqyj tcYqyj); + + /** + * 批量删除舆情预警 + * + * @param ids 需要删除的舆情预警主键集合 + * @return 结果 + */ + public int deleteTcYqyjByIds(Long[] ids); + + /** + * 删除舆情预警信息 + * + * @param id 舆情预警主键 + * @return 结果 + */ + public int deleteTcYqyjById(Long id); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcZbxqService.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcZbxqService.java new file mode 100644 index 00000000..a2436c65 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/ITcZbxqService.java @@ -0,0 +1,61 @@ +package com.ruoyi.tcZz.service; + +import java.util.List; +import com.ruoyi.tcZz.domain.TcZbxq; + +/** + * 转办量、转办详情Service接口 + * + * @author ruoyi + * @date 2023-10-12 + */ +public interface ITcZbxqService +{ + /** + * 查询 转办量、转办详情 + * + * @param id 转办量、转办详情主键 + * @return 转办量、转办详情 + */ + public TcZbxq selectTcZbxqById(Long id); + + /** + * 查询 转办量、转办详情列表 + * + * @param tcZbxq 转办量、转办详情 + * @return 转办量、转办详情集合 + */ + public List selectTcZbxqList(TcZbxq tcZbxq); + + /** + * 新增 转办量、转办详情 + * + * @param tcZbxq 转办量、转办详情 + * @return 结果 + */ + public int insertTcZbxq(TcZbxq tcZbxq); + + /** + * 修改 转办量、转办详情 + * + * @param tcZbxq 转办量、转办详情 + * @return 结果 + */ + public int updateTcZbxq(TcZbxq tcZbxq); + + /** + * 批量删除 转办量、转办详情 + * + * @param ids 需要删除的 转办量、转办详情主键集合 + * @return 结果 + */ + public int deleteTcZbxqByIds(Long[] ids); + + /** + * 删除 转办量、转办详情信息 + * + * @param id 转办量、转办详情主键 + * @return 结果 + */ + public int deleteTcZbxqById(Long id); +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcDtsxServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcDtsxServiceImpl.java new file mode 100644 index 00000000..c31e3e3e --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcDtsxServiceImpl.java @@ -0,0 +1,96 @@ +package com.ruoyi.tcZz.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.tcZz.mapper.TcDtsxMapper; +import com.ruoyi.tcZz.domain.TcDtsx; +import com.ruoyi.tcZz.service.ITcDtsxService; + +/** + * 动态筛选Service业务层处理 + * + * @author ruoyi + * @date 2023-10-12 + */ +@Service +public class TcDtsxServiceImpl implements ITcDtsxService +{ + @Autowired + private TcDtsxMapper tcDtsxMapper; + + /** + * 查询动态筛选 + * + * @param id 动态筛选主键 + * @return 动态筛选 + */ + @Override + public TcDtsx selectTcDtsxById(Long id) + { + return tcDtsxMapper.selectTcDtsxById(id); + } + + /** + * 查询动态筛选列表 + * + * @param tcDtsx 动态筛选 + * @return 动态筛选 + */ + @Override + public List selectTcDtsxList(TcDtsx tcDtsx) + { + return tcDtsxMapper.selectTcDtsxList(tcDtsx); + } + + /** + * 新增动态筛选 + * + * @param tcDtsx 动态筛选 + * @return 结果 + */ + @Override + public int insertTcDtsx(TcDtsx tcDtsx) + { + tcDtsx.setCreateTime(DateUtils.getNowDate()); + return tcDtsxMapper.insertTcDtsx(tcDtsx); + } + + /** + * 修改动态筛选 + * + * @param tcDtsx 动态筛选 + * @return 结果 + */ + @Override + public int updateTcDtsx(TcDtsx tcDtsx) + { + tcDtsx.setUpdateTime(DateUtils.getNowDate()); + return tcDtsxMapper.updateTcDtsx(tcDtsx); + } + + /** + * 批量删除动态筛选 + * + * @param ids 需要删除的动态筛选主键 + * @return 结果 + */ + @Override + public int deleteTcDtsxByIds(Long[] ids) + { + return tcDtsxMapper.deleteTcDtsxByIds(ids); + } + + /** + * 删除动态筛选信息 + * + * @param id 动态筛选主键 + * @return 结果 + */ + @Override + public int deleteTcDtsxById(Long id) + { + return tcDtsxMapper.deleteTcDtsxById(id); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcMtlxServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcMtlxServiceImpl.java new file mode 100644 index 00000000..0aecd767 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcMtlxServiceImpl.java @@ -0,0 +1,96 @@ +package com.ruoyi.tcZz.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.tcZz.mapper.TcMtlxMapper; +import com.ruoyi.tcZz.domain.TcMtlx; +import com.ruoyi.tcZz.service.ITcMtlxService; + +/** + * 媒体类型Service业务层处理 + * + * @author ruoyi + * @date 2023-10-12 + */ +@Service +public class TcMtlxServiceImpl implements ITcMtlxService +{ + @Autowired + private TcMtlxMapper tcMtlxMapper; + + /** + * 查询媒体类型 + * + * @param id 媒体类型主键 + * @return 媒体类型 + */ + @Override + public TcMtlx selectTcMtlxById(Long id) + { + return tcMtlxMapper.selectTcMtlxById(id); + } + + /** + * 查询媒体类型列表 + * + * @param tcMtlx 媒体类型 + * @return 媒体类型 + */ + @Override + public List selectTcMtlxList(TcMtlx tcMtlx) + { + return tcMtlxMapper.selectTcMtlxList(tcMtlx); + } + + /** + * 新增媒体类型 + * + * @param tcMtlx 媒体类型 + * @return 结果 + */ + @Override + public int insertTcMtlx(TcMtlx tcMtlx) + { + tcMtlx.setCreateTime(DateUtils.getNowDate()); + return tcMtlxMapper.insertTcMtlx(tcMtlx); + } + + /** + * 修改媒体类型 + * + * @param tcMtlx 媒体类型 + * @return 结果 + */ + @Override + public int updateTcMtlx(TcMtlx tcMtlx) + { + tcMtlx.setUpdateTime(DateUtils.getNowDate()); + return tcMtlxMapper.updateTcMtlx(tcMtlx); + } + + /** + * 批量删除媒体类型 + * + * @param ids 需要删除的媒体类型主键 + * @return 结果 + */ + @Override + public int deleteTcMtlxByIds(Long[] ids) + { + return tcMtlxMapper.deleteTcMtlxByIds(ids); + } + + /** + * 删除媒体类型信息 + * + * @param id 媒体类型主键 + * @return 结果 + */ + @Override + public int deleteTcMtlxById(Long id) + { + return tcMtlxMapper.deleteTcMtlxById(id); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcSslxServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcSslxServiceImpl.java new file mode 100644 index 00000000..f12e092e --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcSslxServiceImpl.java @@ -0,0 +1,96 @@ +package com.ruoyi.tcZz.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.tcZz.mapper.TcSslxMapper; +import com.ruoyi.tcZz.domain.TcSslx; +import com.ruoyi.tcZz.service.ITcSslxService; + +/** + * 涉事类型Service业务层处理 + * + * @author ruoyi + * @date 2023-10-12 + */ +@Service +public class TcSslxServiceImpl implements ITcSslxService +{ + @Autowired + private TcSslxMapper tcSslxMapper; + + /** + * 查询涉事类型 + * + * @param id 涉事类型主键 + * @return 涉事类型 + */ + @Override + public TcSslx selectTcSslxById(Long id) + { + return tcSslxMapper.selectTcSslxById(id); + } + + /** + * 查询涉事类型列表 + * + * @param tcSslx 涉事类型 + * @return 涉事类型 + */ + @Override + public List selectTcSslxList(TcSslx tcSslx) + { + return tcSslxMapper.selectTcSslxList(tcSslx); + } + + /** + * 新增涉事类型 + * + * @param tcSslx 涉事类型 + * @return 结果 + */ + @Override + public int insertTcSslx(TcSslx tcSslx) + { + tcSslx.setCreateTime(DateUtils.getNowDate()); + return tcSslxMapper.insertTcSslx(tcSslx); + } + + /** + * 修改涉事类型 + * + * @param tcSslx 涉事类型 + * @return 结果 + */ + @Override + public int updateTcSslx(TcSslx tcSslx) + { + tcSslx.setUpdateTime(DateUtils.getNowDate()); + return tcSslxMapper.updateTcSslx(tcSslx); + } + + /** + * 批量删除涉事类型 + * + * @param ids 需要删除的涉事类型主键 + * @return 结果 + */ + @Override + public int deleteTcSslxByIds(Long[] ids) + { + return tcSslxMapper.deleteTcSslxByIds(ids); + } + + /** + * 删除涉事类型信息 + * + * @param id 涉事类型主键 + * @return 结果 + */ + @Override + public int deleteTcSslxById(Long id) + { + return tcSslxMapper.deleteTcSslxById(id); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcYqbgServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcYqbgServiceImpl.java new file mode 100644 index 00000000..c580a370 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcYqbgServiceImpl.java @@ -0,0 +1,96 @@ +package com.ruoyi.tcZz.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.tcZz.mapper.TcYqbgMapper; +import com.ruoyi.tcZz.domain.TcYqbg; +import com.ruoyi.tcZz.service.ITcYqbgService; + +/** + * 舆情报告Service业务层处理 + * + * @author ruoyi + * @date 2023-10-12 + */ +@Service +public class TcYqbgServiceImpl implements ITcYqbgService +{ + @Autowired + private TcYqbgMapper tcYqbgMapper; + + /** + * 查询舆情报告 + * + * @param id 舆情报告主键 + * @return 舆情报告 + */ + @Override + public TcYqbg selectTcYqbgById(Long id) + { + return tcYqbgMapper.selectTcYqbgById(id); + } + + /** + * 查询舆情报告列表 + * + * @param tcYqbg 舆情报告 + * @return 舆情报告 + */ + @Override + public List selectTcYqbgList(TcYqbg tcYqbg) + { + return tcYqbgMapper.selectTcYqbgList(tcYqbg); + } + + /** + * 新增舆情报告 + * + * @param tcYqbg 舆情报告 + * @return 结果 + */ + @Override + public int insertTcYqbg(TcYqbg tcYqbg) + { + tcYqbg.setCreateTime(DateUtils.getNowDate()); + return tcYqbgMapper.insertTcYqbg(tcYqbg); + } + + /** + * 修改舆情报告 + * + * @param tcYqbg 舆情报告 + * @return 结果 + */ + @Override + public int updateTcYqbg(TcYqbg tcYqbg) + { + tcYqbg.setUpdateTime(DateUtils.getNowDate()); + return tcYqbgMapper.updateTcYqbg(tcYqbg); + } + + /** + * 批量删除舆情报告 + * + * @param ids 需要删除的舆情报告主键 + * @return 结果 + */ + @Override + public int deleteTcYqbgByIds(Long[] ids) + { + return tcYqbgMapper.deleteTcYqbgByIds(ids); + } + + /** + * 删除舆情报告信息 + * + * @param id 舆情报告主键 + * @return 结果 + */ + @Override + public int deleteTcYqbgById(Long id) + { + return tcYqbgMapper.deleteTcYqbgById(id); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcYqxxlnumServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcYqxxlnumServiceImpl.java new file mode 100644 index 00000000..830bd96f --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcYqxxlnumServiceImpl.java @@ -0,0 +1,96 @@ +package com.ruoyi.tcZz.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.tcZz.mapper.TcYqxxlnumMapper; +import com.ruoyi.tcZz.domain.TcYqxxlnum; +import com.ruoyi.tcZz.service.ITcYqxxlnumService; + +/** + * 舆情信息量统计Service业务层处理 + * + * @author ruoyi + * @date 2023-10-12 + */ +@Service +public class TcYqxxlnumServiceImpl implements ITcYqxxlnumService +{ + @Autowired + private TcYqxxlnumMapper tcYqxxlnumMapper; + + /** + * 查询舆情信息量统计 + * + * @param id 舆情信息量统计主键 + * @return 舆情信息量统计 + */ + @Override + public TcYqxxlnum selectTcYqxxlnumById(Long id) + { + return tcYqxxlnumMapper.selectTcYqxxlnumById(id); + } + + /** + * 查询舆情信息量统计列表 + * + * @param tcYqxxlnum 舆情信息量统计 + * @return 舆情信息量统计 + */ + @Override + public List selectTcYqxxlnumList(TcYqxxlnum tcYqxxlnum) + { + return tcYqxxlnumMapper.selectTcYqxxlnumList(tcYqxxlnum); + } + + /** + * 新增舆情信息量统计 + * + * @param tcYqxxlnum 舆情信息量统计 + * @return 结果 + */ + @Override + public int insertTcYqxxlnum(TcYqxxlnum tcYqxxlnum) + { + tcYqxxlnum.setCreateTime(DateUtils.getNowDate()); + return tcYqxxlnumMapper.insertTcYqxxlnum(tcYqxxlnum); + } + + /** + * 修改舆情信息量统计 + * + * @param tcYqxxlnum 舆情信息量统计 + * @return 结果 + */ + @Override + public int updateTcYqxxlnum(TcYqxxlnum tcYqxxlnum) + { + tcYqxxlnum.setUpdateTime(DateUtils.getNowDate()); + return tcYqxxlnumMapper.updateTcYqxxlnum(tcYqxxlnum); + } + + /** + * 批量删除舆情信息量统计 + * + * @param ids 需要删除的舆情信息量统计主键 + * @return 结果 + */ + @Override + public int deleteTcYqxxlnumByIds(Long[] ids) + { + return tcYqxxlnumMapper.deleteTcYqxxlnumByIds(ids); + } + + /** + * 删除舆情信息量统计信息 + * + * @param id 舆情信息量统计主键 + * @return 结果 + */ + @Override + public int deleteTcYqxxlnumById(Long id) + { + return tcYqxxlnumMapper.deleteTcYqxxlnumById(id); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcYqxxltjServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcYqxxltjServiceImpl.java index 34cec1cb..971a58e5 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcYqxxltjServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcYqxxltjServiceImpl.java @@ -9,7 +9,7 @@ import com.ruoyi.tcZz.domain.TcYqxxltj; import com.ruoyi.tcZz.service.ITcYqxxltjService; /** - * 舆情信息量统计Service业务层处理 + * 舆情信息量统计明細Service业务层处理 * * @author ruoyi * @date 2023-10-12 @@ -21,10 +21,10 @@ public class TcYqxxltjServiceImpl implements ITcYqxxltjService private TcYqxxltjMapper tcYqxxltjMapper; /** - * 查询舆情信息量统计 + * 查询舆情信息量统计明細 * - * @param id 舆情信息量统计主键 - * @return 舆情信息量统计 + * @param id 舆情信息量统计明細主键 + * @return 舆情信息量统计明細 */ @Override public TcYqxxltj selectTcYqxxltjById(Long id) @@ -33,10 +33,10 @@ public class TcYqxxltjServiceImpl implements ITcYqxxltjService } /** - * 查询舆情信息量统计列表 + * 查询舆情信息量统计明細列表 * - * @param tcYqxxltj 舆情信息量统计 - * @return 舆情信息量统计 + * @param tcYqxxltj 舆情信息量统计明細 + * @return 舆情信息量统计明細 */ @Override public List selectTcYqxxltjList(TcYqxxltj tcYqxxltj) @@ -45,9 +45,9 @@ public class TcYqxxltjServiceImpl implements ITcYqxxltjService } /** - * 新增舆情信息量统计 + * 新增舆情信息量统计明細 * - * @param tcYqxxltj 舆情信息量统计 + * @param tcYqxxltj 舆情信息量统计明細 * @return 结果 */ @Override @@ -58,9 +58,9 @@ public class TcYqxxltjServiceImpl implements ITcYqxxltjService } /** - * 修改舆情信息量统计 + * 修改舆情信息量统计明細 * - * @param tcYqxxltj 舆情信息量统计 + * @param tcYqxxltj 舆情信息量统计明細 * @return 结果 */ @Override @@ -71,9 +71,9 @@ public class TcYqxxltjServiceImpl implements ITcYqxxltjService } /** - * 批量删除舆情信息量统计 + * 批量删除舆情信息量统计明細 * - * @param ids 需要删除的舆情信息量统计主键 + * @param ids 需要删除的舆情信息量统计明細主键 * @return 结果 */ @Override @@ -83,9 +83,9 @@ public class TcYqxxltjServiceImpl implements ITcYqxxltjService } /** - * 删除舆情信息量统计信息 + * 删除舆情信息量统计明細信息 * - * @param id 舆情信息量统计主键 + * @param id 舆情信息量统计明細主键 * @return 结果 */ @Override diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcYqyjServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcYqyjServiceImpl.java new file mode 100644 index 00000000..1a495e38 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcYqyjServiceImpl.java @@ -0,0 +1,96 @@ +package com.ruoyi.tcZz.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.tcZz.mapper.TcYqyjMapper; +import com.ruoyi.tcZz.domain.TcYqyj; +import com.ruoyi.tcZz.service.ITcYqyjService; + +/** + * 舆情预警Service业务层处理 + * + * @author ruoyi + * @date 2023-10-12 + */ +@Service +public class TcYqyjServiceImpl implements ITcYqyjService +{ + @Autowired + private TcYqyjMapper tcYqyjMapper; + + /** + * 查询舆情预警 + * + * @param id 舆情预警主键 + * @return 舆情预警 + */ + @Override + public TcYqyj selectTcYqyjById(Long id) + { + return tcYqyjMapper.selectTcYqyjById(id); + } + + /** + * 查询舆情预警列表 + * + * @param tcYqyj 舆情预警 + * @return 舆情预警 + */ + @Override + public List selectTcYqyjList(TcYqyj tcYqyj) + { + return tcYqyjMapper.selectTcYqyjList(tcYqyj); + } + + /** + * 新增舆情预警 + * + * @param tcYqyj 舆情预警 + * @return 结果 + */ + @Override + public int insertTcYqyj(TcYqyj tcYqyj) + { + tcYqyj.setCreateTime(DateUtils.getNowDate()); + return tcYqyjMapper.insertTcYqyj(tcYqyj); + } + + /** + * 修改舆情预警 + * + * @param tcYqyj 舆情预警 + * @return 结果 + */ + @Override + public int updateTcYqyj(TcYqyj tcYqyj) + { + tcYqyj.setUpdateTime(DateUtils.getNowDate()); + return tcYqyjMapper.updateTcYqyj(tcYqyj); + } + + /** + * 批量删除舆情预警 + * + * @param ids 需要删除的舆情预警主键 + * @return 结果 + */ + @Override + public int deleteTcYqyjByIds(Long[] ids) + { + return tcYqyjMapper.deleteTcYqyjByIds(ids); + } + + /** + * 删除舆情预警信息 + * + * @param id 舆情预警主键 + * @return 结果 + */ + @Override + public int deleteTcYqyjById(Long id) + { + return tcYqyjMapper.deleteTcYqyjById(id); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZbxqServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZbxqServiceImpl.java new file mode 100644 index 00000000..d0fa17e9 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZbxqServiceImpl.java @@ -0,0 +1,96 @@ +package com.ruoyi.tcZz.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.tcZz.mapper.TcZbxqMapper; +import com.ruoyi.tcZz.domain.TcZbxq; +import com.ruoyi.tcZz.service.ITcZbxqService; + +/** + * 转办量、转办详情Service业务层处理 + * + * @author ruoyi + * @date 2023-10-12 + */ +@Service +public class TcZbxqServiceImpl implements ITcZbxqService +{ + @Autowired + private TcZbxqMapper tcZbxqMapper; + + /** + * 查询 转办量、转办详情 + * + * @param id 转办量、转办详情主键 + * @return 转办量、转办详情 + */ + @Override + public TcZbxq selectTcZbxqById(Long id) + { + return tcZbxqMapper.selectTcZbxqById(id); + } + + /** + * 查询 转办量、转办详情列表 + * + * @param tcZbxq 转办量、转办详情 + * @return 转办量、转办详情 + */ + @Override + public List selectTcZbxqList(TcZbxq tcZbxq) + { + return tcZbxqMapper.selectTcZbxqList(tcZbxq); + } + + /** + * 新增 转办量、转办详情 + * + * @param tcZbxq 转办量、转办详情 + * @return 结果 + */ + @Override + public int insertTcZbxq(TcZbxq tcZbxq) + { + tcZbxq.setCreateTime(DateUtils.getNowDate()); + return tcZbxqMapper.insertTcZbxq(tcZbxq); + } + + /** + * 修改 转办量、转办详情 + * + * @param tcZbxq 转办量、转办详情 + * @return 结果 + */ + @Override + public int updateTcZbxq(TcZbxq tcZbxq) + { + tcZbxq.setUpdateTime(DateUtils.getNowDate()); + return tcZbxqMapper.updateTcZbxq(tcZbxq); + } + + /** + * 批量删除 转办量、转办详情 + * + * @param ids 需要删除的 转办量、转办详情主键 + * @return 结果 + */ + @Override + public int deleteTcZbxqByIds(Long[] ids) + { + return tcZbxqMapper.deleteTcZbxqByIds(ids); + } + + /** + * 删除 转办量、转办详情信息 + * + * @param id 转办量、转办详情主键 + * @return 结果 + */ + @Override + public int deleteTcZbxqById(Long id) + { + return tcZbxqMapper.deleteTcZbxqById(id); + } +} diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/TcCyMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcCyMapper.xml similarity index 100% rename from ruoyi-admin/src/main/resources/mapper/tcZz/TcCyMapper.xml rename to ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcCyMapper.xml diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcDtsxMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcDtsxMapper.xml new file mode 100644 index 00000000..a80e7d8d --- /dev/null +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcDtsxMapper.xml @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + + + + select id, jc_count, pc_count, yq_count, yq_zb, create_by, create_time, update_by, update_time, remark from tc_dtsx + + + + + + + + insert into tc_dtsx + + jc_count, + pc_count, + yq_count, + yq_zb, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{jcCount}, + #{pcCount}, + #{yqCount}, + #{yqZb}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update tc_dtsx + + jc_count = #{jcCount}, + pc_count = #{pcCount}, + yq_count = #{yqCount}, + yq_zb = #{yqZb}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from tc_dtsx where id = #{id} + + + + delete from tc_dtsx where id in + + #{id} + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcMtlxMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcMtlxMapper.xml new file mode 100644 index 00000000..b85f4399 --- /dev/null +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcMtlxMapper.xml @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + select id, name, zb, create_by, create_time, update_by, update_time, remark from tc_mtlx + + + + + + + + insert into tc_mtlx + + name, + zb, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{name}, + #{zb}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update tc_mtlx + + name = #{name}, + zb = #{zb}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from tc_mtlx where id = #{id} + + + + delete from tc_mtlx where id in + + #{id} + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcSslxMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcSslxMapper.xml new file mode 100644 index 00000000..346e88bf --- /dev/null +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcSslxMapper.xml @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + select id, name, zb, create_by, create_time, update_by, update_time, remark from tc_sslx + + + + + + + + insert into tc_sslx + + name, + zb, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{name}, + #{zb}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update tc_sslx + + name = #{name}, + zb = #{zb}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from tc_sslx where id = #{id} + + + + delete from tc_sslx where id in + + #{id} + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcYqbgMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcYqbgMapper.xml new file mode 100644 index 00000000..61dbb2ed --- /dev/null +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcYqbgMapper.xml @@ -0,0 +1,107 @@ + + + + + + + + + + + + + + + + + + + + + select id, area_id, isStatus, type, title, file_name, file_url, create_by, create_time, update_by, update_time, remark from tc_yqbg + + + + + + + + insert into tc_yqbg + + area_id, + isStatus, + type, + title, + file_name, + file_url, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{areaId}, + #{isStatus}, + #{type}, + #{title}, + #{fileName}, + #{fileUrl}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update tc_yqbg + + area_id = #{areaId}, + isStatus = #{isStatus}, + type = #{type}, + title = #{title}, + file_name = #{fileName}, + file_url = #{fileUrl}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from tc_yqbg where id = #{id} + + + + delete from tc_yqbg where id in + + #{id} + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcYqxxlnumMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcYqxxlnumMapper.xml new file mode 100644 index 00000000..0e9cd46d --- /dev/null +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcYqxxlnumMapper.xml @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + + + + + select id, count1, count2, count3, count4, create_by, create_time, update_by, update_time, remark from tc_yqxxlnum + + + + + + + + insert into tc_yqxxlnum + + count1, + count2, + count3, + count4, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{count1}, + #{count2}, + #{count3}, + #{count4}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update tc_yqxxlnum + + count1 = #{count1}, + count2 = #{count2}, + count3 = #{count3}, + count4 = #{count4}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from tc_yqxxlnum where id = #{id} + + + + delete from tc_yqxxlnum where id in + + #{id} + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/TcYqxxltjMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcYqxxltjMapper.xml similarity index 83% rename from ruoyi-admin/src/main/resources/mapper/tcZz/TcYqxxltjMapper.xml rename to ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcYqxxltjMapper.xml index 98b44aca..b4bf42bd 100644 --- a/ruoyi-admin/src/main/resources/mapper/tcZz/TcYqxxltjMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcYqxxltjMapper.xml @@ -27,13 +27,19 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcYqyjMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcYqyjMapper.xml new file mode 100644 index 00000000..ba5f7bf3 --- /dev/null +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcYqyjMapper.xml @@ -0,0 +1,107 @@ + + + + + + + + + + + + + + + + + + + + + select id, area_id, isStatus, title, source, date_time, content, create_by, create_time, update_by, update_time, remark from tc_yqyj + + + + + + + + insert into tc_yqyj + + area_id, + isStatus, + title, + source, + date_time, + content, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{areaId}, + #{isStatus}, + #{title}, + #{source}, + #{dateTime}, + #{content}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update tc_yqyj + + area_id = #{areaId}, + isStatus = #{isStatus}, + title = #{title}, + source = #{source}, + date_time = #{dateTime}, + content = #{content}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from tc_yqyj where id = #{id} + + + + delete from tc_yqyj where id in + + #{id} + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/TcYqzsMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcYqzsMapper.xml similarity index 100% rename from ruoyi-admin/src/main/resources/mapper/tcZz/TcYqzsMapper.xml rename to ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcYqzsMapper.xml diff --git a/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcZbxqMapper.xml b/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcZbxqMapper.xml new file mode 100644 index 00000000..42b92eb7 --- /dev/null +++ b/ruoyi-admin/src/main/resources/mapper/tcZz/netWorkYq/TcZbxqMapper.xml @@ -0,0 +1,101 @@ + + + + + + + + + + + + + + + + + + + + select id, area_id, isStatus, yq_title, dep_name, yq_state, create_by, create_time, update_by, update_time, remark from tc_zbxq + + + + + + + + insert into tc_zbxq + + area_id, + isStatus, + yq_title, + dep_name, + yq_state, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{areaId}, + #{isStatus}, + #{yqTitle}, + #{depName}, + #{yqState}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update tc_zbxq + + area_id = #{areaId}, + isStatus = #{isStatus}, + yq_title = #{yqTitle}, + dep_name = #{depName}, + yq_state = #{yqState}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from tc_zbxq where id = #{id} + + + + delete from tc_zbxq where id in + + #{id} + + + \ No newline at end of file