parent
056dd4715d
commit
3ed3bc23fe
@ -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.TcAqyh;
|
||||
import com.ruoyi.tcZz.service.ITcAqyhService;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 安全隐患 tc_aqyhController
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/tcZz/networkSecurity/aqyh")
|
||||
public class TcAqyhController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private ITcAqyhService tcAqyhService;
|
||||
|
||||
/**
|
||||
* 查询安全隐患 tc_aqyh列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:aqyh:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(TcAqyh tcAqyh)
|
||||
{
|
||||
startPage();
|
||||
List<TcAqyh> list = tcAqyhService.selectTcAqyhList(tcAqyh);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出安全隐患 tc_aqyh列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:aqyh:export')")
|
||||
@Log(title = "安全隐患 tc_aqyh", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, TcAqyh tcAqyh)
|
||||
{
|
||||
List<TcAqyh> list = tcAqyhService.selectTcAqyhList(tcAqyh);
|
||||
ExcelUtil<TcAqyh> util = new ExcelUtil<TcAqyh>(TcAqyh.class);
|
||||
util.exportExcel(response, list, "安全隐患 tc_aqyh数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取安全隐患 tc_aqyh详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:aqyh:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(tcAqyhService.selectTcAqyhById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增安全隐患 tc_aqyh
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:aqyh:add')")
|
||||
@Log(title = "安全隐患 tc_aqyh", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody TcAqyh tcAqyh)
|
||||
{
|
||||
return toAjax(tcAqyhService.insertTcAqyh(tcAqyh));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改安全隐患 tc_aqyh
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:aqyh:edit')")
|
||||
@Log(title = "安全隐患 tc_aqyh", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody TcAqyh tcAqyh)
|
||||
{
|
||||
return toAjax(tcAqyhService.updateTcAqyh(tcAqyh));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除安全隐患 tc_aqyh
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:aqyh:remove')")
|
||||
@Log(title = "安全隐患 tc_aqyh", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(tcAqyhService.deleteTcAqyhByIds(ids));
|
||||
}
|
||||
}
|
@ -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.TcBmtb;
|
||||
import com.ruoyi.tcZz.service.ITcBmtbService;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 部门通报Controller
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/tcZz/networkSecurity/bmtb")
|
||||
public class TcBmtbController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private ITcBmtbService tcBmtbService;
|
||||
|
||||
/**
|
||||
* 查询部门通报列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:bmtb:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(TcBmtb tcBmtb)
|
||||
{
|
||||
startPage();
|
||||
List<TcBmtb> list = tcBmtbService.selectTcBmtbList(tcBmtb);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出部门通报列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:bmtb:export')")
|
||||
@Log(title = "部门通报", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, TcBmtb tcBmtb)
|
||||
{
|
||||
List<TcBmtb> list = tcBmtbService.selectTcBmtbList(tcBmtb);
|
||||
ExcelUtil<TcBmtb> util = new ExcelUtil<TcBmtb>(TcBmtb.class);
|
||||
util.exportExcel(response, list, "部门通报数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取部门通报详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:bmtb:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(tcBmtbService.selectTcBmtbById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增部门通报
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:bmtb:add')")
|
||||
@Log(title = "部门通报", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody TcBmtb tcBmtb)
|
||||
{
|
||||
return toAjax(tcBmtbService.insertTcBmtb(tcBmtb));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改部门通报
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:bmtb:edit')")
|
||||
@Log(title = "部门通报", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody TcBmtb tcBmtb)
|
||||
{
|
||||
return toAjax(tcBmtbService.updateTcBmtb(tcBmtb));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除部门通报
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:bmtb:remove')")
|
||||
@Log(title = "部门通报", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(tcBmtbService.deleteTcBmtbByIds(ids));
|
||||
}
|
||||
}
|
@ -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.TcDbdw;
|
||||
import com.ruoyi.tcZz.service.ITcDbdwService;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 等保单位Controller
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/tcZz/networkSecurity/dbdw")
|
||||
public class TcDbdwController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private ITcDbdwService tcDbdwService;
|
||||
|
||||
/**
|
||||
* 查询等保单位列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:dbdw:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(TcDbdw tcDbdw)
|
||||
{
|
||||
startPage();
|
||||
List<TcDbdw> list = tcDbdwService.selectTcDbdwList(tcDbdw);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出等保单位列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:dbdw:export')")
|
||||
@Log(title = "等保单位", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, TcDbdw tcDbdw)
|
||||
{
|
||||
List<TcDbdw> list = tcDbdwService.selectTcDbdwList(tcDbdw);
|
||||
ExcelUtil<TcDbdw> util = new ExcelUtil<TcDbdw>(TcDbdw.class);
|
||||
util.exportExcel(response, list, "等保单位数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取等保单位详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:dbdw:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(tcDbdwService.selectTcDbdwById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增等保单位
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:dbdw:add')")
|
||||
@Log(title = "等保单位", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody TcDbdw tcDbdw)
|
||||
{
|
||||
return toAjax(tcDbdwService.insertTcDbdw(tcDbdw));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改等保单位
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:dbdw:edit')")
|
||||
@Log(title = "等保单位", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody TcDbdw tcDbdw)
|
||||
{
|
||||
return toAjax(tcDbdwService.updateTcDbdw(tcDbdw));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除等保单位
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:dbdw:remove')")
|
||||
@Log(title = "等保单位", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(tcDbdwService.deleteTcDbdwByIds(ids));
|
||||
}
|
||||
}
|
@ -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.TcDbxt;
|
||||
import com.ruoyi.tcZz.service.ITcDbxtService;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 等保系统Controller
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/tcZz/networkSecurity/dbxt")
|
||||
public class TcDbxtController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private ITcDbxtService tcDbxtService;
|
||||
|
||||
/**
|
||||
* 查询等保系统列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:dbxt:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(TcDbxt tcDbxt)
|
||||
{
|
||||
startPage();
|
||||
List<TcDbxt> list = tcDbxtService.selectTcDbxtList(tcDbxt);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出等保系统列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:dbxt:export')")
|
||||
@Log(title = "等保系统", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, TcDbxt tcDbxt)
|
||||
{
|
||||
List<TcDbxt> list = tcDbxtService.selectTcDbxtList(tcDbxt);
|
||||
ExcelUtil<TcDbxt> util = new ExcelUtil<TcDbxt>(TcDbxt.class);
|
||||
util.exportExcel(response, list, "等保系统数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取等保系统详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:dbxt:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(tcDbxtService.selectTcDbxtById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增等保系统
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:dbxt:add')")
|
||||
@Log(title = "等保系统", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody TcDbxt tcDbxt)
|
||||
{
|
||||
return toAjax(tcDbxtService.insertTcDbxt(tcDbxt));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改等保系统
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:dbxt:edit')")
|
||||
@Log(title = "等保系统", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody TcDbxt tcDbxt)
|
||||
{
|
||||
return toAjax(tcDbxtService.updateTcDbxt(tcDbxt));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除等保系统
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:dbxt:remove')")
|
||||
@Log(title = "等保系统", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(tcDbxtService.deleteTcDbxtByIds(ids));
|
||||
}
|
||||
}
|
@ -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.TcFbqk;
|
||||
import com.ruoyi.tcZz.service.ITcFbqkService;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 分布情况 tc_fbqkController
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/tcZz/networkSecurity/fbqk")
|
||||
public class TcFbqkController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private ITcFbqkService tcFbqkService;
|
||||
|
||||
/**
|
||||
* 查询分布情况 tc_fbqk列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:fbqk:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(TcFbqk tcFbqk)
|
||||
{
|
||||
startPage();
|
||||
List<TcFbqk> list = tcFbqkService.selectTcFbqkList(tcFbqk);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出分布情况 tc_fbqk列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:fbqk:export')")
|
||||
@Log(title = "分布情况 tc_fbqk", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, TcFbqk tcFbqk)
|
||||
{
|
||||
List<TcFbqk> list = tcFbqkService.selectTcFbqkList(tcFbqk);
|
||||
ExcelUtil<TcFbqk> util = new ExcelUtil<TcFbqk>(TcFbqk.class);
|
||||
util.exportExcel(response, list, "分布情况 tc_fbqk数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取分布情况 tc_fbqk详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:fbqk:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(tcFbqkService.selectTcFbqkById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增分布情况 tc_fbqk
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:fbqk:add')")
|
||||
@Log(title = "分布情况 tc_fbqk", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody TcFbqk tcFbqk)
|
||||
{
|
||||
return toAjax(tcFbqkService.insertTcFbqk(tcFbqk));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改分布情况 tc_fbqk
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:fbqk:edit')")
|
||||
@Log(title = "分布情况 tc_fbqk", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody TcFbqk tcFbqk)
|
||||
{
|
||||
return toAjax(tcFbqkService.updateTcFbqk(tcFbqk));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除分布情况 tc_fbqk
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:fbqk:remove')")
|
||||
@Log(title = "分布情况 tc_fbqk", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(tcFbqkService.deleteTcFbqkByIds(ids));
|
||||
}
|
||||
}
|
@ -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.TcIdcdw;
|
||||
import com.ruoyi.tcZz.service.ITcIdcdwService;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* IDC单位Controller
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/tcZz/networkSecurity/idcdw")
|
||||
public class TcIdcdwController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private ITcIdcdwService tcIdcdwService;
|
||||
|
||||
/**
|
||||
* 查询 IDC单位列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:idcdw:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(TcIdcdw tcIdcdw)
|
||||
{
|
||||
startPage();
|
||||
List<TcIdcdw> list = tcIdcdwService.selectTcIdcdwList(tcIdcdw);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出 IDC单位列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:idcdw:export')")
|
||||
@Log(title = " IDC单位", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, TcIdcdw tcIdcdw)
|
||||
{
|
||||
List<TcIdcdw> list = tcIdcdwService.selectTcIdcdwList(tcIdcdw);
|
||||
ExcelUtil<TcIdcdw> util = new ExcelUtil<TcIdcdw>(TcIdcdw.class);
|
||||
util.exportExcel(response, list, " IDC单位数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取 IDC单位详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:idcdw:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(tcIdcdwService.selectTcIdcdwById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增 IDC单位
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:idcdw:add')")
|
||||
@Log(title = " IDC单位", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody TcIdcdw tcIdcdw)
|
||||
{
|
||||
return toAjax(tcIdcdwService.insertTcIdcdw(tcIdcdw));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改 IDC单位
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:idcdw:edit')")
|
||||
@Log(title = " IDC单位", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody TcIdcdw tcIdcdw)
|
||||
{
|
||||
return toAjax(tcIdcdwService.updateTcIdcdw(tcIdcdw));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除 IDC单位
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:idcdw:remove')")
|
||||
@Log(title = " IDC单位", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(tcIdcdwService.deleteTcIdcdwByIds(ids));
|
||||
}
|
||||
}
|
@ -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.TcJgdw;
|
||||
import com.ruoyi.tcZz.service.ITcJgdwService;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 监管单位Controller
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/tcZz/networkSecurity/jgdw")
|
||||
public class TcJgdwController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private ITcJgdwService tcJgdwService;
|
||||
|
||||
/**
|
||||
* 查询监管单位列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:jgdw:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(TcJgdw tcJgdw)
|
||||
{
|
||||
startPage();
|
||||
List<TcJgdw> list = tcJgdwService.selectTcJgdwList(tcJgdw);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出监管单位列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:jgdw:export')")
|
||||
@Log(title = "监管单位", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, TcJgdw tcJgdw)
|
||||
{
|
||||
List<TcJgdw> list = tcJgdwService.selectTcJgdwList(tcJgdw);
|
||||
ExcelUtil<TcJgdw> util = new ExcelUtil<TcJgdw>(TcJgdw.class);
|
||||
util.exportExcel(response, list, "监管单位数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取监管单位详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:jgdw:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(tcJgdwService.selectTcJgdwById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增监管单位
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:jgdw:add')")
|
||||
@Log(title = "监管单位", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody TcJgdw tcJgdw)
|
||||
{
|
||||
return toAjax(tcJgdwService.insertTcJgdw(tcJgdw));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改监管单位
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:jgdw:edit')")
|
||||
@Log(title = "监管单位", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody TcJgdw tcJgdw)
|
||||
{
|
||||
return toAjax(tcJgdwService.updateTcJgdw(tcJgdw));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除监管单位
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:jgdw:remove')")
|
||||
@Log(title = "监管单位", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(tcJgdwService.deleteTcJgdwByIds(ids));
|
||||
}
|
||||
}
|
@ -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.TcMap;
|
||||
import com.ruoyi.tcZz.service.ITcMapService;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 地图统计Controller
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/tcZz/networkSecurity/map")
|
||||
public class TcMapController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private ITcMapService tcMapService;
|
||||
|
||||
/**
|
||||
* 查询地图统计列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:map:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(TcMap tcMap)
|
||||
{
|
||||
startPage();
|
||||
List<TcMap> list = tcMapService.selectTcMapList(tcMap);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出地图统计列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:map:export')")
|
||||
@Log(title = "地图统计", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, TcMap tcMap)
|
||||
{
|
||||
List<TcMap> list = tcMapService.selectTcMapList(tcMap);
|
||||
ExcelUtil<TcMap> util = new ExcelUtil<TcMap>(TcMap.class);
|
||||
util.exportExcel(response, list, "地图统计数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取地图统计详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:map:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(tcMapService.selectTcMapById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增地图统计
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:map:add')")
|
||||
@Log(title = "地图统计", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody TcMap tcMap)
|
||||
{
|
||||
return toAjax(tcMapService.insertTcMap(tcMap));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改地图统计
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:map:edit')")
|
||||
@Log(title = "地图统计", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody TcMap tcMap)
|
||||
{
|
||||
return toAjax(tcMapService.updateTcMap(tcMap));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除地图统计
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:map:remove')")
|
||||
@Log(title = "地图统计", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(tcMapService.deleteTcMapByIds(ids));
|
||||
}
|
||||
}
|
@ -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.TcSdtb;
|
||||
import com.ruoyi.tcZz.service.ITcSdtbService;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 属地通报Controller
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/tcZz/networkSecurity/sdtb")
|
||||
public class TcSdtbController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private ITcSdtbService tcSdtbService;
|
||||
|
||||
/**
|
||||
* 查询属地通报列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:sdtb:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(TcSdtb tcSdtb)
|
||||
{
|
||||
startPage();
|
||||
List<TcSdtb> list = tcSdtbService.selectTcSdtbList(tcSdtb);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出属地通报列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:sdtb:export')")
|
||||
@Log(title = "属地通报", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, TcSdtb tcSdtb)
|
||||
{
|
||||
List<TcSdtb> list = tcSdtbService.selectTcSdtbList(tcSdtb);
|
||||
ExcelUtil<TcSdtb> util = new ExcelUtil<TcSdtb>(TcSdtb.class);
|
||||
util.exportExcel(response, list, "属地通报数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取属地通报详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:sdtb:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(tcSdtbService.selectTcSdtbById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增属地通报
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:sdtb:add')")
|
||||
@Log(title = "属地通报", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody TcSdtb tcSdtb)
|
||||
{
|
||||
return toAjax(tcSdtbService.insertTcSdtb(tcSdtb));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改属地通报
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:sdtb:edit')")
|
||||
@Log(title = "属地通报", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody TcSdtb tcSdtb)
|
||||
{
|
||||
return toAjax(tcSdtbService.updateTcSdtb(tcSdtb));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除属地通报
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:sdtb:remove')")
|
||||
@Log(title = "属地通报", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(tcSdtbService.deleteTcSdtbByIds(ids));
|
||||
}
|
||||
}
|
@ -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.TcSgjipTop5;
|
||||
import com.ruoyi.tcZz.service.ITcSgjipTop5Service;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 受攻击IPTOP5Controller
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/tcZz/networkSecurity/top5")
|
||||
public class TcSgjipTop5Controller extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private ITcSgjipTop5Service tcSgjipTop5Service;
|
||||
|
||||
/**
|
||||
* 查询受攻击IPTOP5列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:top5:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(TcSgjipTop5 tcSgjipTop5)
|
||||
{
|
||||
startPage();
|
||||
List<TcSgjipTop5> list = tcSgjipTop5Service.selectTcSgjipTop5List(tcSgjipTop5);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出受攻击IPTOP5列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:top5:export')")
|
||||
@Log(title = "受攻击IPTOP5", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, TcSgjipTop5 tcSgjipTop5)
|
||||
{
|
||||
List<TcSgjipTop5> list = tcSgjipTop5Service.selectTcSgjipTop5List(tcSgjipTop5);
|
||||
ExcelUtil<TcSgjipTop5> util = new ExcelUtil<TcSgjipTop5>(TcSgjipTop5.class);
|
||||
util.exportExcel(response, list, "受攻击IPTOP5数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取受攻击IPTOP5详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:top5:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(tcSgjipTop5Service.selectTcSgjipTop5ById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增受攻击IPTOP5
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:top5:add')")
|
||||
@Log(title = "受攻击IPTOP5", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody TcSgjipTop5 tcSgjipTop5)
|
||||
{
|
||||
return toAjax(tcSgjipTop5Service.insertTcSgjipTop5(tcSgjipTop5));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改受攻击IPTOP5
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:top5:edit')")
|
||||
@Log(title = "受攻击IPTOP5", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody TcSgjipTop5 tcSgjipTop5)
|
||||
{
|
||||
return toAjax(tcSgjipTop5Service.updateTcSgjipTop5(tcSgjipTop5));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除受攻击IPTOP5
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:top5:remove')")
|
||||
@Log(title = "受攻击IPTOP5", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(tcSgjipTop5Service.deleteTcSgjipTop5ByIds(ids));
|
||||
}
|
||||
}
|
@ -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.TcTbcz;
|
||||
import com.ruoyi.tcZz.service.ITcTbczService;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 通报处置Controller
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/tcZz/networkSecurity/tbcz")
|
||||
public class TcTbczController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private ITcTbczService tcTbczService;
|
||||
|
||||
/**
|
||||
* 查询通报处置列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:tbcz:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(TcTbcz tcTbcz)
|
||||
{
|
||||
startPage();
|
||||
List<TcTbcz> list = tcTbczService.selectTcTbczList(tcTbcz);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出通报处置列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:tbcz:export')")
|
||||
@Log(title = "通报处置", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, TcTbcz tcTbcz)
|
||||
{
|
||||
List<TcTbcz> list = tcTbczService.selectTcTbczList(tcTbcz);
|
||||
ExcelUtil<TcTbcz> util = new ExcelUtil<TcTbcz>(TcTbcz.class);
|
||||
util.exportExcel(response, list, "通报处置数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取通报处置详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:tbcz:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(tcTbczService.selectTcTbczById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增通报处置
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:tbcz:add')")
|
||||
@Log(title = "通报处置", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody TcTbcz tcTbcz)
|
||||
{
|
||||
return toAjax(tcTbczService.insertTcTbcz(tcTbcz));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改通报处置
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:tbcz:edit')")
|
||||
@Log(title = "通报处置", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody TcTbcz tcTbcz)
|
||||
{
|
||||
return toAjax(tcTbczService.updateTcTbcz(tcTbcz));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除通报处置
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:tbcz:remove')")
|
||||
@Log(title = "通报处置", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(tcTbczService.deleteTcTbczByIds(ids));
|
||||
}
|
||||
}
|
@ -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.TcTbwc;
|
||||
import com.ruoyi.tcZz.service.ITcTbwcService;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 通报完成情况Controller
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/tcZz/networkSecurity/tbwc")
|
||||
public class TcTbwcController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private ITcTbwcService tcTbwcService;
|
||||
|
||||
/**
|
||||
* 查询通报完成情况列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:tbwc:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(TcTbwc tcTbwc)
|
||||
{
|
||||
startPage();
|
||||
List<TcTbwc> list = tcTbwcService.selectTcTbwcList(tcTbwc);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出通报完成情况列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:tbwc:export')")
|
||||
@Log(title = "通报完成情况", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, TcTbwc tcTbwc)
|
||||
{
|
||||
List<TcTbwc> list = tcTbwcService.selectTcTbwcList(tcTbwc);
|
||||
ExcelUtil<TcTbwc> util = new ExcelUtil<TcTbwc>(TcTbwc.class);
|
||||
util.exportExcel(response, list, "通报完成情况数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取通报完成情况详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:tbwc:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(tcTbwcService.selectTcTbwcById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增通报完成情况
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:tbwc:add')")
|
||||
@Log(title = "通报完成情况", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody TcTbwc tcTbwc)
|
||||
{
|
||||
return toAjax(tcTbwcService.insertTcTbwc(tcTbwc));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改通报完成情况
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:tbwc:edit')")
|
||||
@Log(title = "通报完成情况", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody TcTbwc tcTbwc)
|
||||
{
|
||||
return toAjax(tcTbwcService.updateTcTbwc(tcTbwc));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除通报完成情况
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:tbwc:remove')")
|
||||
@Log(title = "通报完成情况", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(tcTbwcService.deleteTcTbwcByIds(ids));
|
||||
}
|
||||
}
|
@ -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.TcWljgtj;
|
||||
import com.ruoyi.tcZz.service.ITcWljgtjService;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 网络监测统计Controller
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/tcZz/networkSecurity/wljgtj")
|
||||
public class TcWljgtjController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private ITcWljgtjService tcWljgtjService;
|
||||
|
||||
/**
|
||||
* 查询网络监测统计列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:wljgtj:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(TcWljgtj tcWljgtj)
|
||||
{
|
||||
startPage();
|
||||
List<TcWljgtj> list = tcWljgtjService.selectTcWljgtjList(tcWljgtj);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出网络监测统计列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:wljgtj:export')")
|
||||
@Log(title = "网络监测统计", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, TcWljgtj tcWljgtj)
|
||||
{
|
||||
List<TcWljgtj> list = tcWljgtjService.selectTcWljgtjList(tcWljgtj);
|
||||
ExcelUtil<TcWljgtj> util = new ExcelUtil<TcWljgtj>(TcWljgtj.class);
|
||||
util.exportExcel(response, list, "网络监测统计数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取网络监测统计详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:wljgtj:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(tcWljgtjService.selectTcWljgtjById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增网络监测统计
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:wljgtj:add')")
|
||||
@Log(title = "网络监测统计", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody TcWljgtj tcWljgtj)
|
||||
{
|
||||
return toAjax(tcWljgtjService.insertTcWljgtj(tcWljgtj));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改网络监测统计
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:wljgtj:edit')")
|
||||
@Log(title = "网络监测统计", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody TcWljgtj tcWljgtj)
|
||||
{
|
||||
return toAjax(tcWljgtjService.updateTcWljgtj(tcWljgtj));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除网络监测统计
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:wljgtj:remove')")
|
||||
@Log(title = "网络监测统计", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(tcWljgtjService.deleteTcWljgtjByIds(ids));
|
||||
}
|
||||
}
|
@ -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.TcXtjc;
|
||||
import com.ruoyi.tcZz.service.ITcXtjcService;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 系统监测Controller
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/tcZz/networkSecurity/xtjc")
|
||||
public class TcXtjcController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private ITcXtjcService tcXtjcService;
|
||||
|
||||
/**
|
||||
* 查询系统监测列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:xtjc:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(TcXtjc tcXtjc)
|
||||
{
|
||||
startPage();
|
||||
List<TcXtjc> list = tcXtjcService.selectTcXtjcList(tcXtjc);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出系统监测列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:xtjc:export')")
|
||||
@Log(title = "系统监测", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, TcXtjc tcXtjc)
|
||||
{
|
||||
List<TcXtjc> list = tcXtjcService.selectTcXtjcList(tcXtjc);
|
||||
ExcelUtil<TcXtjc> util = new ExcelUtil<TcXtjc>(TcXtjc.class);
|
||||
util.exportExcel(response, list, "系统监测数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取系统监测详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:xtjc:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(tcXtjcService.selectTcXtjcById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增系统监测
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:xtjc:add')")
|
||||
@Log(title = "系统监测", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody TcXtjc tcXtjc)
|
||||
{
|
||||
return toAjax(tcXtjcService.insertTcXtjc(tcXtjc));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改系统监测
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:xtjc:edit')")
|
||||
@Log(title = "系统监测", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody TcXtjc tcXtjc)
|
||||
{
|
||||
return toAjax(tcXtjcService.updateTcXtjc(tcXtjc));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除系统监测
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:xtjc:remove')")
|
||||
@Log(title = "系统监测", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(tcXtjcService.deleteTcXtjcByIds(ids));
|
||||
}
|
||||
}
|
@ -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.TcZfwz;
|
||||
import com.ruoyi.tcZz.service.ITcZfwzService;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 政府网站Controller
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/tcZz/networkSecurity/zfwz")
|
||||
public class TcZfwzController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private ITcZfwzService tcZfwzService;
|
||||
|
||||
/**
|
||||
* 查询政府网站列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:zfwz:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(TcZfwz tcZfwz)
|
||||
{
|
||||
startPage();
|
||||
List<TcZfwz> list = tcZfwzService.selectTcZfwzList(tcZfwz);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出政府网站列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:zfwz:export')")
|
||||
@Log(title = "政府网站", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, TcZfwz tcZfwz)
|
||||
{
|
||||
List<TcZfwz> list = tcZfwzService.selectTcZfwzList(tcZfwz);
|
||||
ExcelUtil<TcZfwz> util = new ExcelUtil<TcZfwz>(TcZfwz.class);
|
||||
util.exportExcel(response, list, "政府网站数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取政府网站详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:zfwz:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(tcZfwzService.selectTcZfwzById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增政府网站
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:zfwz:add')")
|
||||
@Log(title = "政府网站", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody TcZfwz tcZfwz)
|
||||
{
|
||||
return toAjax(tcZfwzService.insertTcZfwz(tcZfwz));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改政府网站
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:zfwz:edit')")
|
||||
@Log(title = "政府网站", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody TcZfwz tcZfwz)
|
||||
{
|
||||
return toAjax(tcZfwzService.updateTcZfwz(tcZfwz));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除政府网站
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:zfwz:remove')")
|
||||
@Log(title = "政府网站", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(tcZfwzService.deleteTcZfwzByIds(ids));
|
||||
}
|
||||
}
|
@ -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.TcZxyh;
|
||||
import com.ruoyi.tcZz.service.ITcZxyhService;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 最新隐患Controller
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/tcZz/networkSecurity/zxyh")
|
||||
public class TcZxyhController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private ITcZxyhService tcZxyhService;
|
||||
|
||||
/**
|
||||
* 查询最新隐患列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:zxyh:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(TcZxyh tcZxyh)
|
||||
{
|
||||
startPage();
|
||||
List<TcZxyh> list = tcZxyhService.selectTcZxyhList(tcZxyh);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出最新隐患列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:zxyh:export')")
|
||||
@Log(title = "最新隐患", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, TcZxyh tcZxyh)
|
||||
{
|
||||
List<TcZxyh> list = tcZxyhService.selectTcZxyhList(tcZxyh);
|
||||
ExcelUtil<TcZxyh> util = new ExcelUtil<TcZxyh>(TcZxyh.class);
|
||||
util.exportExcel(response, list, "最新隐患数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取最新隐患详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:zxyh:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(tcZxyhService.selectTcZxyhById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增最新隐患
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:zxyh:add')")
|
||||
@Log(title = "最新隐患", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody TcZxyh tcZxyh)
|
||||
{
|
||||
return toAjax(tcZxyhService.insertTcZxyh(tcZxyh));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改最新隐患
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:zxyh:edit')")
|
||||
@Log(title = "最新隐患", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody TcZxyh tcZxyh)
|
||||
{
|
||||
return toAjax(tcZxyhService.updateTcZxyh(tcZxyh));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除最新隐患
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/networkSecurity:zxyh:remove')")
|
||||
@Log(title = "最新隐患", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(tcZxyhService.deleteTcZxyhByIds(ids));
|
||||
}
|
||||
}
|
@ -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_aqyh对象 tc_aqyh
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public class TcAqyh extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long id;
|
||||
|
||||
/** 隐患名称 */
|
||||
@Excel(name = "隐患名称")
|
||||
private String yhName;
|
||||
|
||||
/** 隐患数量 */
|
||||
@Excel(name = "隐患数量")
|
||||
private String yhCount;
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
public void setYhName(String yhName)
|
||||
{
|
||||
this.yhName = yhName;
|
||||
}
|
||||
|
||||
public String getYhName()
|
||||
{
|
||||
return yhName;
|
||||
}
|
||||
public void setYhCount(String yhCount)
|
||||
{
|
||||
this.yhCount = yhCount;
|
||||
}
|
||||
|
||||
public String getYhCount()
|
||||
{
|
||||
return yhCount;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("yhName", getYhName())
|
||||
.append("yhCount", getYhCount())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("remark", getRemark())
|
||||
.toString();
|
||||
}
|
||||
}
|
@ -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_bmtb
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public class TcBmtb extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long id;
|
||||
|
||||
/** 启用/禁用 */
|
||||
@Excel(name = "启用/禁用")
|
||||
private Long isStatus;
|
||||
|
||||
/** 部门名称 */
|
||||
@Excel(name = "部门名称")
|
||||
private String depName;
|
||||
|
||||
/** 文件名称 */
|
||||
@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 setIsStatus(Long isStatus)
|
||||
{
|
||||
this.isStatus = isStatus;
|
||||
}
|
||||
|
||||
public Long getIsStatus()
|
||||
{
|
||||
return isStatus;
|
||||
}
|
||||
public void setDepName(String depName)
|
||||
{
|
||||
this.depName = depName;
|
||||
}
|
||||
|
||||
public String getDepName()
|
||||
{
|
||||
return depName;
|
||||
}
|
||||
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("isStatus", getIsStatus())
|
||||
.append("depName", getDepName())
|
||||
.append("fileName", getFileName())
|
||||
.append("fileUrl", getFileUrl())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("remark", getRemark())
|
||||
.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,255 @@
|
||||
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_dbdw
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public class TcDbdw extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long id;
|
||||
|
||||
/** 区域id */
|
||||
@Excel(name = "区域id")
|
||||
private String areaId;
|
||||
|
||||
/** 单位名称 */
|
||||
@Excel(name = "单位名称")
|
||||
private String unitName;
|
||||
|
||||
/** 邮政编码 */
|
||||
@Excel(name = "邮政编码")
|
||||
private String postalCode;
|
||||
|
||||
/** 单位地址—省 */
|
||||
private String addressProvince;
|
||||
|
||||
/** 单位地址—市 */
|
||||
private String addressCity;
|
||||
|
||||
/** 单位地址—区/县 */
|
||||
private String addressCounty;
|
||||
|
||||
/** 单位地址 */
|
||||
@Excel(name = "单位地址")
|
||||
private String unitAddress;
|
||||
|
||||
/** 行政区域代码 */
|
||||
@Excel(name = "行政区域代码")
|
||||
private String countyCode;
|
||||
|
||||
/** 隶属关系 */
|
||||
private String lsGx;
|
||||
|
||||
/** 单位类型 */
|
||||
private String unitType;
|
||||
|
||||
/** 行业类型 */
|
||||
private String industryType;
|
||||
|
||||
/** 单位责任人—姓名 */
|
||||
private String fzrName;
|
||||
|
||||
/** 单位责任人—职务 */
|
||||
private String fzrDuty;
|
||||
|
||||
/** 单位责任人—办公电话 */
|
||||
private String fzrTel;
|
||||
|
||||
/** 单位责任人—电子邮件 */
|
||||
private String fzrEmail;
|
||||
|
||||
/** 1.启用 2.禁用 */
|
||||
private Long isStatus;
|
||||
|
||||
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 setUnitName(String unitName)
|
||||
{
|
||||
this.unitName = unitName;
|
||||
}
|
||||
|
||||
public String getUnitName()
|
||||
{
|
||||
return unitName;
|
||||
}
|
||||
public void setPostalCode(String postalCode)
|
||||
{
|
||||
this.postalCode = postalCode;
|
||||
}
|
||||
|
||||
public String getPostalCode()
|
||||
{
|
||||
return postalCode;
|
||||
}
|
||||
public void setAddressProvince(String addressProvince)
|
||||
{
|
||||
this.addressProvince = addressProvince;
|
||||
}
|
||||
|
||||
public String getAddressProvince()
|
||||
{
|
||||
return addressProvince;
|
||||
}
|
||||
public void setAddressCity(String addressCity)
|
||||
{
|
||||
this.addressCity = addressCity;
|
||||
}
|
||||
|
||||
public String getAddressCity()
|
||||
{
|
||||
return addressCity;
|
||||
}
|
||||
public void setAddressCounty(String addressCounty)
|
||||
{
|
||||
this.addressCounty = addressCounty;
|
||||
}
|
||||
|
||||
public String getAddressCounty()
|
||||
{
|
||||
return addressCounty;
|
||||
}
|
||||
public void setUnitAddress(String unitAddress)
|
||||
{
|
||||
this.unitAddress = unitAddress;
|
||||
}
|
||||
|
||||
public String getUnitAddress()
|
||||
{
|
||||
return unitAddress;
|
||||
}
|
||||
public void setCountyCode(String countyCode)
|
||||
{
|
||||
this.countyCode = countyCode;
|
||||
}
|
||||
|
||||
public String getCountyCode()
|
||||
{
|
||||
return countyCode;
|
||||
}
|
||||
public void setLsGx(String lsGx)
|
||||
{
|
||||
this.lsGx = lsGx;
|
||||
}
|
||||
|
||||
public String getLsGx()
|
||||
{
|
||||
return lsGx;
|
||||
}
|
||||
public void setUnitType(String unitType)
|
||||
{
|
||||
this.unitType = unitType;
|
||||
}
|
||||
|
||||
public String getUnitType()
|
||||
{
|
||||
return unitType;
|
||||
}
|
||||
public void setIndustryType(String industryType)
|
||||
{
|
||||
this.industryType = industryType;
|
||||
}
|
||||
|
||||
public String getIndustryType()
|
||||
{
|
||||
return industryType;
|
||||
}
|
||||
public void setFzrName(String fzrName)
|
||||
{
|
||||
this.fzrName = fzrName;
|
||||
}
|
||||
|
||||
public String getFzrName()
|
||||
{
|
||||
return fzrName;
|
||||
}
|
||||
public void setFzrDuty(String fzrDuty)
|
||||
{
|
||||
this.fzrDuty = fzrDuty;
|
||||
}
|
||||
|
||||
public String getFzrDuty()
|
||||
{
|
||||
return fzrDuty;
|
||||
}
|
||||
public void setFzrTel(String fzrTel)
|
||||
{
|
||||
this.fzrTel = fzrTel;
|
||||
}
|
||||
|
||||
public String getFzrTel()
|
||||
{
|
||||
return fzrTel;
|
||||
}
|
||||
public void setFzrEmail(String fzrEmail)
|
||||
{
|
||||
this.fzrEmail = fzrEmail;
|
||||
}
|
||||
|
||||
public String getFzrEmail()
|
||||
{
|
||||
return fzrEmail;
|
||||
}
|
||||
public void setIsStatus(Long isStatus)
|
||||
{
|
||||
this.isStatus = isStatus;
|
||||
}
|
||||
|
||||
public Long getIsStatus()
|
||||
{
|
||||
return isStatus;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("areaId", getAreaId())
|
||||
.append("unitName", getUnitName())
|
||||
.append("postalCode", getPostalCode())
|
||||
.append("addressProvince", getAddressProvince())
|
||||
.append("addressCity", getAddressCity())
|
||||
.append("addressCounty", getAddressCounty())
|
||||
.append("unitAddress", getUnitAddress())
|
||||
.append("countyCode", getCountyCode())
|
||||
.append("lsGx", getLsGx())
|
||||
.append("unitType", getUnitType())
|
||||
.append("industryType", getIndustryType())
|
||||
.append("fzrName", getFzrName())
|
||||
.append("fzrDuty", getFzrDuty())
|
||||
.append("fzrTel", getFzrTel())
|
||||
.append("fzrEmail", getFzrEmail())
|
||||
.append("isStatus", getIsStatus())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("remark", getRemark())
|
||||
.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,296 @@
|
||||
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_dbxt
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public class TcDbxt extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long id;
|
||||
|
||||
/** 区域id */
|
||||
@Excel(name = "区域id")
|
||||
private String areaId;
|
||||
|
||||
/** 系统名称 */
|
||||
@Excel(name = "系统名称")
|
||||
private String systemName;
|
||||
|
||||
/** 备案编号 */
|
||||
@Excel(name = "备案编号")
|
||||
private String beianNum;
|
||||
|
||||
/** 信息系统安全保护等级 */
|
||||
@Excel(name = "信息系统安全保护等级")
|
||||
private String safetyLevel;
|
||||
|
||||
/** 单位名称 */
|
||||
private String unitName;
|
||||
|
||||
/** 业务类型 */
|
||||
private String businessType;
|
||||
|
||||
/** 服务范围 */
|
||||
private String serviceArea;
|
||||
|
||||
/** 服务对象 */
|
||||
private String serviceObj;
|
||||
|
||||
/** 覆盖范围 */
|
||||
private String coverageArea;
|
||||
|
||||
/** 网络性质 */
|
||||
private String networkProperty;
|
||||
|
||||
/** 系统互联情况 */
|
||||
private String systemHlql;
|
||||
|
||||
/** 投入运行使用日期 */
|
||||
private Date startTime;
|
||||
|
||||
/** 系统是否分级 */
|
||||
private String isLevel;
|
||||
|
||||
/** 系统定级时间 */
|
||||
private Date systemDjtime;
|
||||
|
||||
/** 专家评审情况 */
|
||||
private String psQk;
|
||||
|
||||
/** 是否有主管部门 */
|
||||
private String isHavedep;
|
||||
|
||||
/** 系统定级报告 */
|
||||
private String systemDjbg;
|
||||
|
||||
/** 系统状态 */
|
||||
private String systemState;
|
||||
|
||||
/** 1.启用 2.禁用 */
|
||||
@Excel(name = "1.启用 2.禁用")
|
||||
private Long isStatus;
|
||||
|
||||
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 setSystemName(String systemName)
|
||||
{
|
||||
this.systemName = systemName;
|
||||
}
|
||||
|
||||
public String getSystemName()
|
||||
{
|
||||
return systemName;
|
||||
}
|
||||
public void setBeianNum(String beianNum)
|
||||
{
|
||||
this.beianNum = beianNum;
|
||||
}
|
||||
|
||||
public String getBeianNum()
|
||||
{
|
||||
return beianNum;
|
||||
}
|
||||
public void setSafetyLevel(String safetyLevel)
|
||||
{
|
||||
this.safetyLevel = safetyLevel;
|
||||
}
|
||||
|
||||
public String getSafetyLevel()
|
||||
{
|
||||
return safetyLevel;
|
||||
}
|
||||
public void setUnitName(String unitName)
|
||||
{
|
||||
this.unitName = unitName;
|
||||
}
|
||||
|
||||
public String getUnitName()
|
||||
{
|
||||
return unitName;
|
||||
}
|
||||
public void setBusinessType(String businessType)
|
||||
{
|
||||
this.businessType = businessType;
|
||||
}
|
||||
|
||||
public String getBusinessType()
|
||||
{
|
||||
return businessType;
|
||||
}
|
||||
public void setServiceArea(String serviceArea)
|
||||
{
|
||||
this.serviceArea = serviceArea;
|
||||
}
|
||||
|
||||
public String getServiceArea()
|
||||
{
|
||||
return serviceArea;
|
||||
}
|
||||
public void setServiceObj(String serviceObj)
|
||||
{
|
||||
this.serviceObj = serviceObj;
|
||||
}
|
||||
|
||||
public String getServiceObj()
|
||||
{
|
||||
return serviceObj;
|
||||
}
|
||||
public void setCoverageArea(String coverageArea)
|
||||
{
|
||||
this.coverageArea = coverageArea;
|
||||
}
|
||||
|
||||
public String getCoverageArea()
|
||||
{
|
||||
return coverageArea;
|
||||
}
|
||||
public void setNetworkProperty(String networkProperty)
|
||||
{
|
||||
this.networkProperty = networkProperty;
|
||||
}
|
||||
|
||||
public String getNetworkProperty()
|
||||
{
|
||||
return networkProperty;
|
||||
}
|
||||
public void setSystemHlql(String systemHlql)
|
||||
{
|
||||
this.systemHlql = systemHlql;
|
||||
}
|
||||
|
||||
public String getSystemHlql()
|
||||
{
|
||||
return systemHlql;
|
||||
}
|
||||
public void setStartTime(Date startTime)
|
||||
{
|
||||
this.startTime = startTime;
|
||||
}
|
||||
|
||||
public Date getStartTime()
|
||||
{
|
||||
return startTime;
|
||||
}
|
||||
public void setIsLevel(String isLevel)
|
||||
{
|
||||
this.isLevel = isLevel;
|
||||
}
|
||||
|
||||
public String getIsLevel()
|
||||
{
|
||||
return isLevel;
|
||||
}
|
||||
public void setSystemDjtime(Date systemDjtime)
|
||||
{
|
||||
this.systemDjtime = systemDjtime;
|
||||
}
|
||||
|
||||
public Date getSystemDjtime()
|
||||
{
|
||||
return systemDjtime;
|
||||
}
|
||||
public void setPsQk(String psQk)
|
||||
{
|
||||
this.psQk = psQk;
|
||||
}
|
||||
|
||||
public String getPsQk()
|
||||
{
|
||||
return psQk;
|
||||
}
|
||||
public void setIsHavedep(String isHavedep)
|
||||
{
|
||||
this.isHavedep = isHavedep;
|
||||
}
|
||||
|
||||
public String getIsHavedep()
|
||||
{
|
||||
return isHavedep;
|
||||
}
|
||||
public void setSystemDjbg(String systemDjbg)
|
||||
{
|
||||
this.systemDjbg = systemDjbg;
|
||||
}
|
||||
|
||||
public String getSystemDjbg()
|
||||
{
|
||||
return systemDjbg;
|
||||
}
|
||||
public void setSystemState(String systemState)
|
||||
{
|
||||
this.systemState = systemState;
|
||||
}
|
||||
|
||||
public String getSystemState()
|
||||
{
|
||||
return systemState;
|
||||
}
|
||||
public void setIsStatus(Long isStatus)
|
||||
{
|
||||
this.isStatus = isStatus;
|
||||
}
|
||||
|
||||
public Long getIsStatus()
|
||||
{
|
||||
return isStatus;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("areaId", getAreaId())
|
||||
.append("systemName", getSystemName())
|
||||
.append("beianNum", getBeianNum())
|
||||
.append("safetyLevel", getSafetyLevel())
|
||||
.append("unitName", getUnitName())
|
||||
.append("businessType", getBusinessType())
|
||||
.append("serviceArea", getServiceArea())
|
||||
.append("serviceObj", getServiceObj())
|
||||
.append("coverageArea", getCoverageArea())
|
||||
.append("networkProperty", getNetworkProperty())
|
||||
.append("systemHlql", getSystemHlql())
|
||||
.append("startTime", getStartTime())
|
||||
.append("isLevel", getIsLevel())
|
||||
.append("systemDjtime", getSystemDjtime())
|
||||
.append("psQk", getPsQk())
|
||||
.append("isHavedep", getIsHavedep())
|
||||
.append("systemDjbg", getSystemDjbg())
|
||||
.append("systemState", getSystemState())
|
||||
.append("isStatus", getIsStatus())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("remark", getRemark())
|
||||
.toString();
|
||||
}
|
||||
}
|
@ -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_fbqk对象 tc_fbqk
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public class TcFbqk extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long id;
|
||||
|
||||
/** 名称 */
|
||||
@Excel(name = "名称")
|
||||
private String cityName;
|
||||
|
||||
/** 占比 */
|
||||
@Excel(name = "占比")
|
||||
private String zb;
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
public void setCityName(String cityName)
|
||||
{
|
||||
this.cityName = cityName;
|
||||
}
|
||||
|
||||
public String getCityName()
|
||||
{
|
||||
return cityName;
|
||||
}
|
||||
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("cityName", getCityName())
|
||||
.append("zb", getZb())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("remark", getRemark())
|
||||
.toString();
|
||||
}
|
||||
}
|
@ -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;
|
||||
|
||||
/**
|
||||
* IDC单位对象 tc_idcdw
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public class TcIdcdw extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long id;
|
||||
|
||||
/** 区域 */
|
||||
@Excel(name = "区域")
|
||||
private String areaId;
|
||||
|
||||
/** 启用/禁用 */
|
||||
@Excel(name = "启用/禁用")
|
||||
private Long isStatus;
|
||||
|
||||
/** lDC名称 */
|
||||
@Excel(name = "lDC名称")
|
||||
private String ldcName;
|
||||
|
||||
/** iP段信息 */
|
||||
@Excel(name = "iP段信息")
|
||||
private String ipData;
|
||||
|
||||
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 setLdcName(String ldcName)
|
||||
{
|
||||
this.ldcName = ldcName;
|
||||
}
|
||||
|
||||
public String getLdcName()
|
||||
{
|
||||
return ldcName;
|
||||
}
|
||||
public void setIpData(String ipData)
|
||||
{
|
||||
this.ipData = ipData;
|
||||
}
|
||||
|
||||
public String getIpData()
|
||||
{
|
||||
return ipData;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("areaId", getAreaId())
|
||||
.append("isStatus", getIsStatus())
|
||||
.append("ldcName", getLdcName())
|
||||
.append("ipData", getIpData())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("remark", getRemark())
|
||||
.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,86 @@
|
||||
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_map
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public class TcMap extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long id;
|
||||
|
||||
/** 名称 */
|
||||
@Excel(name = "名称")
|
||||
private String name;
|
||||
|
||||
/** 数量 */
|
||||
@Excel(name = "数量")
|
||||
private String count;
|
||||
|
||||
/** 1.国际
|
||||
2.国内
|
||||
*/
|
||||
@Excel(name = "1.国际 2.国内")
|
||||
private Long type;
|
||||
|
||||
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 setCount(String count)
|
||||
{
|
||||
this.count = count;
|
||||
}
|
||||
|
||||
public String getCount()
|
||||
{
|
||||
return count;
|
||||
}
|
||||
public void setType(Long type)
|
||||
{
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public Long getType()
|
||||
{
|
||||
return type;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("name", getName())
|
||||
.append("count", getCount())
|
||||
.append("type", getType())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("remark", getRemark())
|
||||
.toString();
|
||||
}
|
||||
}
|
@ -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_sdtb
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public class TcSdtb extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long id;
|
||||
|
||||
/** 属地名称 */
|
||||
@Excel(name = "属地名称")
|
||||
private Long area;
|
||||
|
||||
/** 启用/禁用 */
|
||||
@Excel(name = "启用/禁用")
|
||||
private Long isStatus;
|
||||
|
||||
/** 文件名称 */
|
||||
@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 setArea(Long area)
|
||||
{
|
||||
this.area = area;
|
||||
}
|
||||
|
||||
public Long getArea()
|
||||
{
|
||||
return area;
|
||||
}
|
||||
public void setIsStatus(Long isStatus)
|
||||
{
|
||||
this.isStatus = isStatus;
|
||||
}
|
||||
|
||||
public Long getIsStatus()
|
||||
{
|
||||
return isStatus;
|
||||
}
|
||||
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("area", getArea())
|
||||
.append("isStatus", getIsStatus())
|
||||
.append("fileName", getFileName())
|
||||
.append("fileUrl", getFileUrl())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("remark", getRemark())
|
||||
.toString();
|
||||
}
|
||||
}
|
@ -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;
|
||||
|
||||
/**
|
||||
* 受攻击IPTOP5对象 tc_sgjip_top5
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public class TcSgjipTop5 extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long id;
|
||||
|
||||
/** 受攻击IP */
|
||||
@Excel(name = "受攻击IP")
|
||||
private String sAttackIp;
|
||||
|
||||
/** 受攻击次数 */
|
||||
@Excel(name = "受攻击次数")
|
||||
private String sAttackCount;
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
public void setsAttackIp(String sAttackIp)
|
||||
{
|
||||
this.sAttackIp = sAttackIp;
|
||||
}
|
||||
|
||||
public String getsAttackIp()
|
||||
{
|
||||
return sAttackIp;
|
||||
}
|
||||
public void setsAttackCount(String sAttackCount)
|
||||
{
|
||||
this.sAttackCount = sAttackCount;
|
||||
}
|
||||
|
||||
public String getsAttackCount()
|
||||
{
|
||||
return sAttackCount;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("sAttackIp", getsAttackIp())
|
||||
.append("sAttackCount", getsAttackCount())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("remark", getRemark())
|
||||
.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,138 @@
|
||||
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_tbcz
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public class TcTbcz extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long id;
|
||||
|
||||
/** 区域 */
|
||||
@Excel(name = "区域")
|
||||
private String areaId;
|
||||
|
||||
/** 启用/禁用 */
|
||||
@Excel(name = "启用/禁用")
|
||||
private Long isStatus;
|
||||
|
||||
/** 单位名称 */
|
||||
@Excel(name = "单位名称")
|
||||
private String unitName;
|
||||
|
||||
/** 目标IP/域名 */
|
||||
@Excel(name = "目标IP/域名")
|
||||
private String ipAddress;
|
||||
|
||||
/** 处置情况 */
|
||||
@Excel(name = "处置情况")
|
||||
private String czState;
|
||||
|
||||
/** 文件名称 */
|
||||
private String fileName;
|
||||
|
||||
/** 文件路径(完整路径) */
|
||||
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 setUnitName(String unitName)
|
||||
{
|
||||
this.unitName = unitName;
|
||||
}
|
||||
|
||||
public String getUnitName()
|
||||
{
|
||||
return unitName;
|
||||
}
|
||||
public void setIpAddress(String ipAddress)
|
||||
{
|
||||
this.ipAddress = ipAddress;
|
||||
}
|
||||
|
||||
public String getIpAddress()
|
||||
{
|
||||
return ipAddress;
|
||||
}
|
||||
public void setCzState(String czState)
|
||||
{
|
||||
this.czState = czState;
|
||||
}
|
||||
|
||||
public String getCzState()
|
||||
{
|
||||
return czState;
|
||||
}
|
||||
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("unitName", getUnitName())
|
||||
.append("ipAddress", getIpAddress())
|
||||
.append("czState", getCzState())
|
||||
.append("fileName", getFileName())
|
||||
.append("fileUrl", getFileUrl())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("remark", getRemark())
|
||||
.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,115 @@
|
||||
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_tbwc
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public class TcTbwc extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long id;
|
||||
|
||||
/** 时间名称 */
|
||||
@Excel(name = "时间名称")
|
||||
private String timeName;
|
||||
|
||||
/** 通报数量 */
|
||||
@Excel(name = "通报数量")
|
||||
private String tbCount;
|
||||
|
||||
/** 完成期数 */
|
||||
@Excel(name = "完成期数")
|
||||
private String overCount;
|
||||
|
||||
/** 完成比例 */
|
||||
@Excel(name = "完成比例")
|
||||
private String overScale;
|
||||
|
||||
/** 年份 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "年份", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date year;
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
public void setTimeName(String timeName)
|
||||
{
|
||||
this.timeName = timeName;
|
||||
}
|
||||
|
||||
public String getTimeName()
|
||||
{
|
||||
return timeName;
|
||||
}
|
||||
public void setTbCount(String tbCount)
|
||||
{
|
||||
this.tbCount = tbCount;
|
||||
}
|
||||
|
||||
public String getTbCount()
|
||||
{
|
||||
return tbCount;
|
||||
}
|
||||
public void setOverCount(String overCount)
|
||||
{
|
||||
this.overCount = overCount;
|
||||
}
|
||||
|
||||
public String getOverCount()
|
||||
{
|
||||
return overCount;
|
||||
}
|
||||
public void setOverScale(String overScale)
|
||||
{
|
||||
this.overScale = overScale;
|
||||
}
|
||||
|
||||
public String getOverScale()
|
||||
{
|
||||
return overScale;
|
||||
}
|
||||
public void setYear(Date year)
|
||||
{
|
||||
this.year = year;
|
||||
}
|
||||
|
||||
public Date getYear()
|
||||
{
|
||||
return year;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("timeName", getTimeName())
|
||||
.append("tbCount", getTbCount())
|
||||
.append("overCount", getOverCount())
|
||||
.append("overScale", getOverScale())
|
||||
.append("year", getYear())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("remark", getRemark())
|
||||
.toString();
|
||||
}
|
||||
}
|
@ -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_wljgtj
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public class TcWljgtj extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long id;
|
||||
|
||||
/** 网络攻击(万次) */
|
||||
@Excel(name = "网络攻击(万次)")
|
||||
private String netAttack;
|
||||
|
||||
/** 入侵攻击 */
|
||||
@Excel(name = "入侵攻击")
|
||||
private String rqAttack;
|
||||
|
||||
/** 恶意扫描 */
|
||||
@Excel(name = "恶意扫描")
|
||||
private String smAttack;
|
||||
|
||||
/** 僵木蠕病毒 */
|
||||
@Excel(name = "僵木蠕病毒")
|
||||
private String bdAttack;
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
public void setNetAttack(String netAttack)
|
||||
{
|
||||
this.netAttack = netAttack;
|
||||
}
|
||||
|
||||
public String getNetAttack()
|
||||
{
|
||||
return netAttack;
|
||||
}
|
||||
public void setRqAttack(String rqAttack)
|
||||
{
|
||||
this.rqAttack = rqAttack;
|
||||
}
|
||||
|
||||
public String getRqAttack()
|
||||
{
|
||||
return rqAttack;
|
||||
}
|
||||
public void setSmAttack(String smAttack)
|
||||
{
|
||||
this.smAttack = smAttack;
|
||||
}
|
||||
|
||||
public String getSmAttack()
|
||||
{
|
||||
return smAttack;
|
||||
}
|
||||
public void setBdAttack(String bdAttack)
|
||||
{
|
||||
this.bdAttack = bdAttack;
|
||||
}
|
||||
|
||||
public String getBdAttack()
|
||||
{
|
||||
return bdAttack;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("netAttack", getNetAttack())
|
||||
.append("rqAttack", getRqAttack())
|
||||
.append("smAttack", getSmAttack())
|
||||
.append("bdAttack", getBdAttack())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("remark", getRemark())
|
||||
.toString();
|
||||
}
|
||||
}
|
@ -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_zfwz
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public class TcZfwz extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long id;
|
||||
|
||||
/** $column.columnComment */
|
||||
@Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
|
||||
private String areaId;
|
||||
|
||||
/** 1.启用 2.禁用 */
|
||||
@Excel(name = "1.启用 2.禁用")
|
||||
private Long isStatus;
|
||||
|
||||
/** 网站地址 */
|
||||
@Excel(name = "网站地址")
|
||||
private String webUrl;
|
||||
|
||||
/** 资产名称 */
|
||||
@Excel(name = "资产名称")
|
||||
private String assetName;
|
||||
|
||||
/** 资产重要等级 */
|
||||
@Excel(name = "资产重要等级")
|
||||
private String assetLevel;
|
||||
|
||||
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 setWebUrl(String webUrl)
|
||||
{
|
||||
this.webUrl = webUrl;
|
||||
}
|
||||
|
||||
public String getWebUrl()
|
||||
{
|
||||
return webUrl;
|
||||
}
|
||||
public void setAssetName(String assetName)
|
||||
{
|
||||
this.assetName = assetName;
|
||||
}
|
||||
|
||||
public String getAssetName()
|
||||
{
|
||||
return assetName;
|
||||
}
|
||||
public void setAssetLevel(String assetLevel)
|
||||
{
|
||||
this.assetLevel = assetLevel;
|
||||
}
|
||||
|
||||
public String getAssetLevel()
|
||||
{
|
||||
return assetLevel;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("areaId", getAreaId())
|
||||
.append("isStatus", getIsStatus())
|
||||
.append("webUrl", getWebUrl())
|
||||
.append("assetName", getAssetName())
|
||||
.append("assetLevel", getAssetLevel())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("remark", getRemark())
|
||||
.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,151 @@
|
||||
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_zxyh
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public class TcZxyh extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long id;
|
||||
|
||||
/** 区域 */
|
||||
@Excel(name = "区域")
|
||||
private String areaId;
|
||||
|
||||
/** 启用/禁用 */
|
||||
@Excel(name = "启用/禁用")
|
||||
private Long isStatus;
|
||||
|
||||
/** 单位名称 */
|
||||
@Excel(name = "单位名称")
|
||||
private String unitName;
|
||||
|
||||
/** 隐患名称 */
|
||||
@Excel(name = "隐患名称")
|
||||
private String yhName;
|
||||
|
||||
/** 等级 */
|
||||
private String level;
|
||||
|
||||
/** 隐患来源 */
|
||||
@Excel(name = "隐患来源")
|
||||
private String yhLy;
|
||||
|
||||
/** 文件名称 */
|
||||
private String fileName;
|
||||
|
||||
/** 文件路径(完整路径) */
|
||||
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 setUnitName(String unitName)
|
||||
{
|
||||
this.unitName = unitName;
|
||||
}
|
||||
|
||||
public String getUnitName()
|
||||
{
|
||||
return unitName;
|
||||
}
|
||||
public void setYhName(String yhName)
|
||||
{
|
||||
this.yhName = yhName;
|
||||
}
|
||||
|
||||
public String getYhName()
|
||||
{
|
||||
return yhName;
|
||||
}
|
||||
public void setLevel(String level)
|
||||
{
|
||||
this.level = level;
|
||||
}
|
||||
|
||||
public String getLevel()
|
||||
{
|
||||
return level;
|
||||
}
|
||||
public void setYhLy(String yhLy)
|
||||
{
|
||||
this.yhLy = yhLy;
|
||||
}
|
||||
|
||||
public String getYhLy()
|
||||
{
|
||||
return yhLy;
|
||||
}
|
||||
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("unitName", getUnitName())
|
||||
.append("yhName", getYhName())
|
||||
.append("level", getLevel())
|
||||
.append("yhLy", getYhLy())
|
||||
.append("fileName", getFileName())
|
||||
.append("fileUrl", getFileUrl())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("remark", getRemark())
|
||||
.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcAqyh;
|
||||
|
||||
/**
|
||||
* 安全隐患 tc_aqyhMapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface TcAqyhMapper
|
||||
{
|
||||
/**
|
||||
* 查询安全隐患 tc_aqyh
|
||||
*
|
||||
* @param id 安全隐患 tc_aqyh主键
|
||||
* @return 安全隐患 tc_aqyh
|
||||
*/
|
||||
public TcAqyh selectTcAqyhById(Long id);
|
||||
|
||||
/**
|
||||
* 查询安全隐患 tc_aqyh列表
|
||||
*
|
||||
* @param tcAqyh 安全隐患 tc_aqyh
|
||||
* @return 安全隐患 tc_aqyh集合
|
||||
*/
|
||||
public List<TcAqyh> selectTcAqyhList(TcAqyh tcAqyh);
|
||||
|
||||
/**
|
||||
* 新增安全隐患 tc_aqyh
|
||||
*
|
||||
* @param tcAqyh 安全隐患 tc_aqyh
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcAqyh(TcAqyh tcAqyh);
|
||||
|
||||
/**
|
||||
* 修改安全隐患 tc_aqyh
|
||||
*
|
||||
* @param tcAqyh 安全隐患 tc_aqyh
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcAqyh(TcAqyh tcAqyh);
|
||||
|
||||
/**
|
||||
* 删除安全隐患 tc_aqyh
|
||||
*
|
||||
* @param id 安全隐患 tc_aqyh主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcAqyhById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除安全隐患 tc_aqyh
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcAqyhByIds(Long[] ids);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcBmtb;
|
||||
|
||||
/**
|
||||
* 部门通报Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface TcBmtbMapper
|
||||
{
|
||||
/**
|
||||
* 查询部门通报
|
||||
*
|
||||
* @param id 部门通报主键
|
||||
* @return 部门通报
|
||||
*/
|
||||
public TcBmtb selectTcBmtbById(Long id);
|
||||
|
||||
/**
|
||||
* 查询部门通报列表
|
||||
*
|
||||
* @param tcBmtb 部门通报
|
||||
* @return 部门通报集合
|
||||
*/
|
||||
public List<TcBmtb> selectTcBmtbList(TcBmtb tcBmtb);
|
||||
|
||||
/**
|
||||
* 新增部门通报
|
||||
*
|
||||
* @param tcBmtb 部门通报
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcBmtb(TcBmtb tcBmtb);
|
||||
|
||||
/**
|
||||
* 修改部门通报
|
||||
*
|
||||
* @param tcBmtb 部门通报
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcBmtb(TcBmtb tcBmtb);
|
||||
|
||||
/**
|
||||
* 删除部门通报
|
||||
*
|
||||
* @param id 部门通报主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcBmtbById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除部门通报
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcBmtbByIds(Long[] ids);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcDbdw;
|
||||
|
||||
/**
|
||||
* 等保单位Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface TcDbdwMapper
|
||||
{
|
||||
/**
|
||||
* 查询等保单位
|
||||
*
|
||||
* @param id 等保单位主键
|
||||
* @return 等保单位
|
||||
*/
|
||||
public TcDbdw selectTcDbdwById(Long id);
|
||||
|
||||
/**
|
||||
* 查询等保单位列表
|
||||
*
|
||||
* @param tcDbdw 等保单位
|
||||
* @return 等保单位集合
|
||||
*/
|
||||
public List<TcDbdw> selectTcDbdwList(TcDbdw tcDbdw);
|
||||
|
||||
/**
|
||||
* 新增等保单位
|
||||
*
|
||||
* @param tcDbdw 等保单位
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcDbdw(TcDbdw tcDbdw);
|
||||
|
||||
/**
|
||||
* 修改等保单位
|
||||
*
|
||||
* @param tcDbdw 等保单位
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcDbdw(TcDbdw tcDbdw);
|
||||
|
||||
/**
|
||||
* 删除等保单位
|
||||
*
|
||||
* @param id 等保单位主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcDbdwById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除等保单位
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcDbdwByIds(Long[] ids);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcDbxt;
|
||||
|
||||
/**
|
||||
* 等保系统Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface TcDbxtMapper
|
||||
{
|
||||
/**
|
||||
* 查询等保系统
|
||||
*
|
||||
* @param id 等保系统主键
|
||||
* @return 等保系统
|
||||
*/
|
||||
public TcDbxt selectTcDbxtById(Long id);
|
||||
|
||||
/**
|
||||
* 查询等保系统列表
|
||||
*
|
||||
* @param tcDbxt 等保系统
|
||||
* @return 等保系统集合
|
||||
*/
|
||||
public List<TcDbxt> selectTcDbxtList(TcDbxt tcDbxt);
|
||||
|
||||
/**
|
||||
* 新增等保系统
|
||||
*
|
||||
* @param tcDbxt 等保系统
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcDbxt(TcDbxt tcDbxt);
|
||||
|
||||
/**
|
||||
* 修改等保系统
|
||||
*
|
||||
* @param tcDbxt 等保系统
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcDbxt(TcDbxt tcDbxt);
|
||||
|
||||
/**
|
||||
* 删除等保系统
|
||||
*
|
||||
* @param id 等保系统主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcDbxtById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除等保系统
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcDbxtByIds(Long[] ids);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcFbqk;
|
||||
|
||||
/**
|
||||
* 分布情况 tc_fbqkMapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface TcFbqkMapper
|
||||
{
|
||||
/**
|
||||
* 查询分布情况 tc_fbqk
|
||||
*
|
||||
* @param id 分布情况 tc_fbqk主键
|
||||
* @return 分布情况 tc_fbqk
|
||||
*/
|
||||
public TcFbqk selectTcFbqkById(Long id);
|
||||
|
||||
/**
|
||||
* 查询分布情况 tc_fbqk列表
|
||||
*
|
||||
* @param tcFbqk 分布情况 tc_fbqk
|
||||
* @return 分布情况 tc_fbqk集合
|
||||
*/
|
||||
public List<TcFbqk> selectTcFbqkList(TcFbqk tcFbqk);
|
||||
|
||||
/**
|
||||
* 新增分布情况 tc_fbqk
|
||||
*
|
||||
* @param tcFbqk 分布情况 tc_fbqk
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcFbqk(TcFbqk tcFbqk);
|
||||
|
||||
/**
|
||||
* 修改分布情况 tc_fbqk
|
||||
*
|
||||
* @param tcFbqk 分布情况 tc_fbqk
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcFbqk(TcFbqk tcFbqk);
|
||||
|
||||
/**
|
||||
* 删除分布情况 tc_fbqk
|
||||
*
|
||||
* @param id 分布情况 tc_fbqk主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcFbqkById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除分布情况 tc_fbqk
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcFbqkByIds(Long[] ids);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcIdcdw;
|
||||
|
||||
/**
|
||||
* IDC单位Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface TcIdcdwMapper
|
||||
{
|
||||
/**
|
||||
* 查询 IDC单位
|
||||
*
|
||||
* @param id IDC单位主键
|
||||
* @return IDC单位
|
||||
*/
|
||||
public TcIdcdw selectTcIdcdwById(Long id);
|
||||
|
||||
/**
|
||||
* 查询 IDC单位列表
|
||||
*
|
||||
* @param tcIdcdw IDC单位
|
||||
* @return IDC单位集合
|
||||
*/
|
||||
public List<TcIdcdw> selectTcIdcdwList(TcIdcdw tcIdcdw);
|
||||
|
||||
/**
|
||||
* 新增 IDC单位
|
||||
*
|
||||
* @param tcIdcdw IDC单位
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcIdcdw(TcIdcdw tcIdcdw);
|
||||
|
||||
/**
|
||||
* 修改 IDC单位
|
||||
*
|
||||
* @param tcIdcdw IDC单位
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcIdcdw(TcIdcdw tcIdcdw);
|
||||
|
||||
/**
|
||||
* 删除 IDC单位
|
||||
*
|
||||
* @param id IDC单位主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcIdcdwById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除 IDC单位
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcIdcdwByIds(Long[] ids);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcJgdw;
|
||||
|
||||
/**
|
||||
* 监管单位Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface TcJgdwMapper
|
||||
{
|
||||
/**
|
||||
* 查询监管单位
|
||||
*
|
||||
* @param id 监管单位主键
|
||||
* @return 监管单位
|
||||
*/
|
||||
public TcJgdw selectTcJgdwById(Long id);
|
||||
|
||||
/**
|
||||
* 查询监管单位列表
|
||||
*
|
||||
* @param tcJgdw 监管单位
|
||||
* @return 监管单位集合
|
||||
*/
|
||||
public List<TcJgdw> selectTcJgdwList(TcJgdw tcJgdw);
|
||||
|
||||
/**
|
||||
* 新增监管单位
|
||||
*
|
||||
* @param tcJgdw 监管单位
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcJgdw(TcJgdw tcJgdw);
|
||||
|
||||
/**
|
||||
* 修改监管单位
|
||||
*
|
||||
* @param tcJgdw 监管单位
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcJgdw(TcJgdw tcJgdw);
|
||||
|
||||
/**
|
||||
* 删除监管单位
|
||||
*
|
||||
* @param id 监管单位主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcJgdwById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除监管单位
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcJgdwByIds(Long[] ids);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcMap;
|
||||
|
||||
/**
|
||||
* 地图统计Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface TcMapMapper
|
||||
{
|
||||
/**
|
||||
* 查询地图统计
|
||||
*
|
||||
* @param id 地图统计主键
|
||||
* @return 地图统计
|
||||
*/
|
||||
public TcMap selectTcMapById(Long id);
|
||||
|
||||
/**
|
||||
* 查询地图统计列表
|
||||
*
|
||||
* @param tcMap 地图统计
|
||||
* @return 地图统计集合
|
||||
*/
|
||||
public List<TcMap> selectTcMapList(TcMap tcMap);
|
||||
|
||||
/**
|
||||
* 新增地图统计
|
||||
*
|
||||
* @param tcMap 地图统计
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcMap(TcMap tcMap);
|
||||
|
||||
/**
|
||||
* 修改地图统计
|
||||
*
|
||||
* @param tcMap 地图统计
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcMap(TcMap tcMap);
|
||||
|
||||
/**
|
||||
* 删除地图统计
|
||||
*
|
||||
* @param id 地图统计主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcMapById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除地图统计
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcMapByIds(Long[] ids);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcSdtb;
|
||||
|
||||
/**
|
||||
* 属地通报Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface TcSdtbMapper
|
||||
{
|
||||
/**
|
||||
* 查询属地通报
|
||||
*
|
||||
* @param id 属地通报主键
|
||||
* @return 属地通报
|
||||
*/
|
||||
public TcSdtb selectTcSdtbById(Long id);
|
||||
|
||||
/**
|
||||
* 查询属地通报列表
|
||||
*
|
||||
* @param tcSdtb 属地通报
|
||||
* @return 属地通报集合
|
||||
*/
|
||||
public List<TcSdtb> selectTcSdtbList(TcSdtb tcSdtb);
|
||||
|
||||
/**
|
||||
* 新增属地通报
|
||||
*
|
||||
* @param tcSdtb 属地通报
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcSdtb(TcSdtb tcSdtb);
|
||||
|
||||
/**
|
||||
* 修改属地通报
|
||||
*
|
||||
* @param tcSdtb 属地通报
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcSdtb(TcSdtb tcSdtb);
|
||||
|
||||
/**
|
||||
* 删除属地通报
|
||||
*
|
||||
* @param id 属地通报主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcSdtbById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除属地通报
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcSdtbByIds(Long[] ids);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcSgjipTop5;
|
||||
|
||||
/**
|
||||
* 受攻击IPTOP5Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface TcSgjipTop5Mapper
|
||||
{
|
||||
/**
|
||||
* 查询受攻击IPTOP5
|
||||
*
|
||||
* @param id 受攻击IPTOP5主键
|
||||
* @return 受攻击IPTOP5
|
||||
*/
|
||||
public TcSgjipTop5 selectTcSgjipTop5ById(Long id);
|
||||
|
||||
/**
|
||||
* 查询受攻击IPTOP5列表
|
||||
*
|
||||
* @param tcSgjipTop5 受攻击IPTOP5
|
||||
* @return 受攻击IPTOP5集合
|
||||
*/
|
||||
public List<TcSgjipTop5> selectTcSgjipTop5List(TcSgjipTop5 tcSgjipTop5);
|
||||
|
||||
/**
|
||||
* 新增受攻击IPTOP5
|
||||
*
|
||||
* @param tcSgjipTop5 受攻击IPTOP5
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcSgjipTop5(TcSgjipTop5 tcSgjipTop5);
|
||||
|
||||
/**
|
||||
* 修改受攻击IPTOP5
|
||||
*
|
||||
* @param tcSgjipTop5 受攻击IPTOP5
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcSgjipTop5(TcSgjipTop5 tcSgjipTop5);
|
||||
|
||||
/**
|
||||
* 删除受攻击IPTOP5
|
||||
*
|
||||
* @param id 受攻击IPTOP5主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcSgjipTop5ById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除受攻击IPTOP5
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcSgjipTop5ByIds(Long[] ids);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcTbcz;
|
||||
|
||||
/**
|
||||
* 通报处置Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface TcTbczMapper
|
||||
{
|
||||
/**
|
||||
* 查询通报处置
|
||||
*
|
||||
* @param id 通报处置主键
|
||||
* @return 通报处置
|
||||
*/
|
||||
public TcTbcz selectTcTbczById(Long id);
|
||||
|
||||
/**
|
||||
* 查询通报处置列表
|
||||
*
|
||||
* @param tcTbcz 通报处置
|
||||
* @return 通报处置集合
|
||||
*/
|
||||
public List<TcTbcz> selectTcTbczList(TcTbcz tcTbcz);
|
||||
|
||||
/**
|
||||
* 新增通报处置
|
||||
*
|
||||
* @param tcTbcz 通报处置
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcTbcz(TcTbcz tcTbcz);
|
||||
|
||||
/**
|
||||
* 修改通报处置
|
||||
*
|
||||
* @param tcTbcz 通报处置
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcTbcz(TcTbcz tcTbcz);
|
||||
|
||||
/**
|
||||
* 删除通报处置
|
||||
*
|
||||
* @param id 通报处置主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcTbczById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除通报处置
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcTbczByIds(Long[] ids);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcTbwc;
|
||||
|
||||
/**
|
||||
* 通报完成情况Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface TcTbwcMapper
|
||||
{
|
||||
/**
|
||||
* 查询通报完成情况
|
||||
*
|
||||
* @param id 通报完成情况主键
|
||||
* @return 通报完成情况
|
||||
*/
|
||||
public TcTbwc selectTcTbwcById(Long id);
|
||||
|
||||
/**
|
||||
* 查询通报完成情况列表
|
||||
*
|
||||
* @param tcTbwc 通报完成情况
|
||||
* @return 通报完成情况集合
|
||||
*/
|
||||
public List<TcTbwc> selectTcTbwcList(TcTbwc tcTbwc);
|
||||
|
||||
/**
|
||||
* 新增通报完成情况
|
||||
*
|
||||
* @param tcTbwc 通报完成情况
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcTbwc(TcTbwc tcTbwc);
|
||||
|
||||
/**
|
||||
* 修改通报完成情况
|
||||
*
|
||||
* @param tcTbwc 通报完成情况
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcTbwc(TcTbwc tcTbwc);
|
||||
|
||||
/**
|
||||
* 删除通报完成情况
|
||||
*
|
||||
* @param id 通报完成情况主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcTbwcById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除通报完成情况
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcTbwcByIds(Long[] ids);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcWljgtj;
|
||||
|
||||
/**
|
||||
* 网络监测统计Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface TcWljgtjMapper
|
||||
{
|
||||
/**
|
||||
* 查询网络监测统计
|
||||
*
|
||||
* @param id 网络监测统计主键
|
||||
* @return 网络监测统计
|
||||
*/
|
||||
public TcWljgtj selectTcWljgtjById(Long id);
|
||||
|
||||
/**
|
||||
* 查询网络监测统计列表
|
||||
*
|
||||
* @param tcWljgtj 网络监测统计
|
||||
* @return 网络监测统计集合
|
||||
*/
|
||||
public List<TcWljgtj> selectTcWljgtjList(TcWljgtj tcWljgtj);
|
||||
|
||||
/**
|
||||
* 新增网络监测统计
|
||||
*
|
||||
* @param tcWljgtj 网络监测统计
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcWljgtj(TcWljgtj tcWljgtj);
|
||||
|
||||
/**
|
||||
* 修改网络监测统计
|
||||
*
|
||||
* @param tcWljgtj 网络监测统计
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcWljgtj(TcWljgtj tcWljgtj);
|
||||
|
||||
/**
|
||||
* 删除网络监测统计
|
||||
*
|
||||
* @param id 网络监测统计主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcWljgtjById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除网络监测统计
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcWljgtjByIds(Long[] ids);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcXtjc;
|
||||
|
||||
/**
|
||||
* 系统监测Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface TcXtjcMapper
|
||||
{
|
||||
/**
|
||||
* 查询系统监测
|
||||
*
|
||||
* @param id 系统监测主键
|
||||
* @return 系统监测
|
||||
*/
|
||||
public TcXtjc selectTcXtjcById(Long id);
|
||||
|
||||
/**
|
||||
* 查询系统监测列表
|
||||
*
|
||||
* @param tcXtjc 系统监测
|
||||
* @return 系统监测集合
|
||||
*/
|
||||
public List<TcXtjc> selectTcXtjcList(TcXtjc tcXtjc);
|
||||
|
||||
/**
|
||||
* 新增系统监测
|
||||
*
|
||||
* @param tcXtjc 系统监测
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcXtjc(TcXtjc tcXtjc);
|
||||
|
||||
/**
|
||||
* 修改系统监测
|
||||
*
|
||||
* @param tcXtjc 系统监测
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcXtjc(TcXtjc tcXtjc);
|
||||
|
||||
/**
|
||||
* 删除系统监测
|
||||
*
|
||||
* @param id 系统监测主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcXtjcById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除系统监测
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcXtjcByIds(Long[] ids);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcZfwz;
|
||||
|
||||
/**
|
||||
* 政府网站Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface TcZfwzMapper
|
||||
{
|
||||
/**
|
||||
* 查询政府网站
|
||||
*
|
||||
* @param id 政府网站主键
|
||||
* @return 政府网站
|
||||
*/
|
||||
public TcZfwz selectTcZfwzById(Long id);
|
||||
|
||||
/**
|
||||
* 查询政府网站列表
|
||||
*
|
||||
* @param tcZfwz 政府网站
|
||||
* @return 政府网站集合
|
||||
*/
|
||||
public List<TcZfwz> selectTcZfwzList(TcZfwz tcZfwz);
|
||||
|
||||
/**
|
||||
* 新增政府网站
|
||||
*
|
||||
* @param tcZfwz 政府网站
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcZfwz(TcZfwz tcZfwz);
|
||||
|
||||
/**
|
||||
* 修改政府网站
|
||||
*
|
||||
* @param tcZfwz 政府网站
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcZfwz(TcZfwz tcZfwz);
|
||||
|
||||
/**
|
||||
* 删除政府网站
|
||||
*
|
||||
* @param id 政府网站主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcZfwzById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除政府网站
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcZfwzByIds(Long[] ids);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcZxyh;
|
||||
|
||||
/**
|
||||
* 最新隐患Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface TcZxyhMapper
|
||||
{
|
||||
/**
|
||||
* 查询最新隐患
|
||||
*
|
||||
* @param id 最新隐患主键
|
||||
* @return 最新隐患
|
||||
*/
|
||||
public TcZxyh selectTcZxyhById(Long id);
|
||||
|
||||
/**
|
||||
* 查询最新隐患列表
|
||||
*
|
||||
* @param tcZxyh 最新隐患
|
||||
* @return 最新隐患集合
|
||||
*/
|
||||
public List<TcZxyh> selectTcZxyhList(TcZxyh tcZxyh);
|
||||
|
||||
/**
|
||||
* 新增最新隐患
|
||||
*
|
||||
* @param tcZxyh 最新隐患
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcZxyh(TcZxyh tcZxyh);
|
||||
|
||||
/**
|
||||
* 修改最新隐患
|
||||
*
|
||||
* @param tcZxyh 最新隐患
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcZxyh(TcZxyh tcZxyh);
|
||||
|
||||
/**
|
||||
* 删除最新隐患
|
||||
*
|
||||
* @param id 最新隐患主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcZxyhById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除最新隐患
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcZxyhByIds(Long[] ids);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcAqyh;
|
||||
|
||||
/**
|
||||
* 安全隐患 tc_aqyhService接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface ITcAqyhService
|
||||
{
|
||||
/**
|
||||
* 查询安全隐患 tc_aqyh
|
||||
*
|
||||
* @param id 安全隐患 tc_aqyh主键
|
||||
* @return 安全隐患 tc_aqyh
|
||||
*/
|
||||
public TcAqyh selectTcAqyhById(Long id);
|
||||
|
||||
/**
|
||||
* 查询安全隐患 tc_aqyh列表
|
||||
*
|
||||
* @param tcAqyh 安全隐患 tc_aqyh
|
||||
* @return 安全隐患 tc_aqyh集合
|
||||
*/
|
||||
public List<TcAqyh> selectTcAqyhList(TcAqyh tcAqyh);
|
||||
|
||||
/**
|
||||
* 新增安全隐患 tc_aqyh
|
||||
*
|
||||
* @param tcAqyh 安全隐患 tc_aqyh
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcAqyh(TcAqyh tcAqyh);
|
||||
|
||||
/**
|
||||
* 修改安全隐患 tc_aqyh
|
||||
*
|
||||
* @param tcAqyh 安全隐患 tc_aqyh
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcAqyh(TcAqyh tcAqyh);
|
||||
|
||||
/**
|
||||
* 批量删除安全隐患 tc_aqyh
|
||||
*
|
||||
* @param ids 需要删除的安全隐患 tc_aqyh主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcAqyhByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除安全隐患 tc_aqyh信息
|
||||
*
|
||||
* @param id 安全隐患 tc_aqyh主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcAqyhById(Long id);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcBmtb;
|
||||
|
||||
/**
|
||||
* 部门通报Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface ITcBmtbService
|
||||
{
|
||||
/**
|
||||
* 查询部门通报
|
||||
*
|
||||
* @param id 部门通报主键
|
||||
* @return 部门通报
|
||||
*/
|
||||
public TcBmtb selectTcBmtbById(Long id);
|
||||
|
||||
/**
|
||||
* 查询部门通报列表
|
||||
*
|
||||
* @param tcBmtb 部门通报
|
||||
* @return 部门通报集合
|
||||
*/
|
||||
public List<TcBmtb> selectTcBmtbList(TcBmtb tcBmtb);
|
||||
|
||||
/**
|
||||
* 新增部门通报
|
||||
*
|
||||
* @param tcBmtb 部门通报
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcBmtb(TcBmtb tcBmtb);
|
||||
|
||||
/**
|
||||
* 修改部门通报
|
||||
*
|
||||
* @param tcBmtb 部门通报
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcBmtb(TcBmtb tcBmtb);
|
||||
|
||||
/**
|
||||
* 批量删除部门通报
|
||||
*
|
||||
* @param ids 需要删除的部门通报主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcBmtbByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除部门通报信息
|
||||
*
|
||||
* @param id 部门通报主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcBmtbById(Long id);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcDbdw;
|
||||
|
||||
/**
|
||||
* 等保单位Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface ITcDbdwService
|
||||
{
|
||||
/**
|
||||
* 查询等保单位
|
||||
*
|
||||
* @param id 等保单位主键
|
||||
* @return 等保单位
|
||||
*/
|
||||
public TcDbdw selectTcDbdwById(Long id);
|
||||
|
||||
/**
|
||||
* 查询等保单位列表
|
||||
*
|
||||
* @param tcDbdw 等保单位
|
||||
* @return 等保单位集合
|
||||
*/
|
||||
public List<TcDbdw> selectTcDbdwList(TcDbdw tcDbdw);
|
||||
|
||||
/**
|
||||
* 新增等保单位
|
||||
*
|
||||
* @param tcDbdw 等保单位
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcDbdw(TcDbdw tcDbdw);
|
||||
|
||||
/**
|
||||
* 修改等保单位
|
||||
*
|
||||
* @param tcDbdw 等保单位
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcDbdw(TcDbdw tcDbdw);
|
||||
|
||||
/**
|
||||
* 批量删除等保单位
|
||||
*
|
||||
* @param ids 需要删除的等保单位主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcDbdwByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除等保单位信息
|
||||
*
|
||||
* @param id 等保单位主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcDbdwById(Long id);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcDbxt;
|
||||
|
||||
/**
|
||||
* 等保系统Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface ITcDbxtService
|
||||
{
|
||||
/**
|
||||
* 查询等保系统
|
||||
*
|
||||
* @param id 等保系统主键
|
||||
* @return 等保系统
|
||||
*/
|
||||
public TcDbxt selectTcDbxtById(Long id);
|
||||
|
||||
/**
|
||||
* 查询等保系统列表
|
||||
*
|
||||
* @param tcDbxt 等保系统
|
||||
* @return 等保系统集合
|
||||
*/
|
||||
public List<TcDbxt> selectTcDbxtList(TcDbxt tcDbxt);
|
||||
|
||||
/**
|
||||
* 新增等保系统
|
||||
*
|
||||
* @param tcDbxt 等保系统
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcDbxt(TcDbxt tcDbxt);
|
||||
|
||||
/**
|
||||
* 修改等保系统
|
||||
*
|
||||
* @param tcDbxt 等保系统
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcDbxt(TcDbxt tcDbxt);
|
||||
|
||||
/**
|
||||
* 批量删除等保系统
|
||||
*
|
||||
* @param ids 需要删除的等保系统主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcDbxtByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除等保系统信息
|
||||
*
|
||||
* @param id 等保系统主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcDbxtById(Long id);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcFbqk;
|
||||
|
||||
/**
|
||||
* 分布情况 tc_fbqkService接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface ITcFbqkService
|
||||
{
|
||||
/**
|
||||
* 查询分布情况 tc_fbqk
|
||||
*
|
||||
* @param id 分布情况 tc_fbqk主键
|
||||
* @return 分布情况 tc_fbqk
|
||||
*/
|
||||
public TcFbqk selectTcFbqkById(Long id);
|
||||
|
||||
/**
|
||||
* 查询分布情况 tc_fbqk列表
|
||||
*
|
||||
* @param tcFbqk 分布情况 tc_fbqk
|
||||
* @return 分布情况 tc_fbqk集合
|
||||
*/
|
||||
public List<TcFbqk> selectTcFbqkList(TcFbqk tcFbqk);
|
||||
|
||||
/**
|
||||
* 新增分布情况 tc_fbqk
|
||||
*
|
||||
* @param tcFbqk 分布情况 tc_fbqk
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcFbqk(TcFbqk tcFbqk);
|
||||
|
||||
/**
|
||||
* 修改分布情况 tc_fbqk
|
||||
*
|
||||
* @param tcFbqk 分布情况 tc_fbqk
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcFbqk(TcFbqk tcFbqk);
|
||||
|
||||
/**
|
||||
* 批量删除分布情况 tc_fbqk
|
||||
*
|
||||
* @param ids 需要删除的分布情况 tc_fbqk主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcFbqkByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除分布情况 tc_fbqk信息
|
||||
*
|
||||
* @param id 分布情况 tc_fbqk主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcFbqkById(Long id);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcIdcdw;
|
||||
|
||||
/**
|
||||
* IDC单位Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface ITcIdcdwService
|
||||
{
|
||||
/**
|
||||
* 查询 IDC单位
|
||||
*
|
||||
* @param id IDC单位主键
|
||||
* @return IDC单位
|
||||
*/
|
||||
public TcIdcdw selectTcIdcdwById(Long id);
|
||||
|
||||
/**
|
||||
* 查询 IDC单位列表
|
||||
*
|
||||
* @param tcIdcdw IDC单位
|
||||
* @return IDC单位集合
|
||||
*/
|
||||
public List<TcIdcdw> selectTcIdcdwList(TcIdcdw tcIdcdw);
|
||||
|
||||
/**
|
||||
* 新增 IDC单位
|
||||
*
|
||||
* @param tcIdcdw IDC单位
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcIdcdw(TcIdcdw tcIdcdw);
|
||||
|
||||
/**
|
||||
* 修改 IDC单位
|
||||
*
|
||||
* @param tcIdcdw IDC单位
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcIdcdw(TcIdcdw tcIdcdw);
|
||||
|
||||
/**
|
||||
* 批量删除 IDC单位
|
||||
*
|
||||
* @param ids 需要删除的 IDC单位主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcIdcdwByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除 IDC单位信息
|
||||
*
|
||||
* @param id IDC单位主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcIdcdwById(Long id);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcJgdw;
|
||||
|
||||
/**
|
||||
* 监管单位Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface ITcJgdwService
|
||||
{
|
||||
/**
|
||||
* 查询监管单位
|
||||
*
|
||||
* @param id 监管单位主键
|
||||
* @return 监管单位
|
||||
*/
|
||||
public TcJgdw selectTcJgdwById(Long id);
|
||||
|
||||
/**
|
||||
* 查询监管单位列表
|
||||
*
|
||||
* @param tcJgdw 监管单位
|
||||
* @return 监管单位集合
|
||||
*/
|
||||
public List<TcJgdw> selectTcJgdwList(TcJgdw tcJgdw);
|
||||
|
||||
/**
|
||||
* 新增监管单位
|
||||
*
|
||||
* @param tcJgdw 监管单位
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcJgdw(TcJgdw tcJgdw);
|
||||
|
||||
/**
|
||||
* 修改监管单位
|
||||
*
|
||||
* @param tcJgdw 监管单位
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcJgdw(TcJgdw tcJgdw);
|
||||
|
||||
/**
|
||||
* 批量删除监管单位
|
||||
*
|
||||
* @param ids 需要删除的监管单位主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcJgdwByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除监管单位信息
|
||||
*
|
||||
* @param id 监管单位主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcJgdwById(Long id);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcMap;
|
||||
|
||||
/**
|
||||
* 地图统计Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface ITcMapService
|
||||
{
|
||||
/**
|
||||
* 查询地图统计
|
||||
*
|
||||
* @param id 地图统计主键
|
||||
* @return 地图统计
|
||||
*/
|
||||
public TcMap selectTcMapById(Long id);
|
||||
|
||||
/**
|
||||
* 查询地图统计列表
|
||||
*
|
||||
* @param tcMap 地图统计
|
||||
* @return 地图统计集合
|
||||
*/
|
||||
public List<TcMap> selectTcMapList(TcMap tcMap);
|
||||
|
||||
/**
|
||||
* 新增地图统计
|
||||
*
|
||||
* @param tcMap 地图统计
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcMap(TcMap tcMap);
|
||||
|
||||
/**
|
||||
* 修改地图统计
|
||||
*
|
||||
* @param tcMap 地图统计
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcMap(TcMap tcMap);
|
||||
|
||||
/**
|
||||
* 批量删除地图统计
|
||||
*
|
||||
* @param ids 需要删除的地图统计主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcMapByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除地图统计信息
|
||||
*
|
||||
* @param id 地图统计主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcMapById(Long id);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcSdtb;
|
||||
|
||||
/**
|
||||
* 属地通报Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface ITcSdtbService
|
||||
{
|
||||
/**
|
||||
* 查询属地通报
|
||||
*
|
||||
* @param id 属地通报主键
|
||||
* @return 属地通报
|
||||
*/
|
||||
public TcSdtb selectTcSdtbById(Long id);
|
||||
|
||||
/**
|
||||
* 查询属地通报列表
|
||||
*
|
||||
* @param tcSdtb 属地通报
|
||||
* @return 属地通报集合
|
||||
*/
|
||||
public List<TcSdtb> selectTcSdtbList(TcSdtb tcSdtb);
|
||||
|
||||
/**
|
||||
* 新增属地通报
|
||||
*
|
||||
* @param tcSdtb 属地通报
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcSdtb(TcSdtb tcSdtb);
|
||||
|
||||
/**
|
||||
* 修改属地通报
|
||||
*
|
||||
* @param tcSdtb 属地通报
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcSdtb(TcSdtb tcSdtb);
|
||||
|
||||
/**
|
||||
* 批量删除属地通报
|
||||
*
|
||||
* @param ids 需要删除的属地通报主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcSdtbByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除属地通报信息
|
||||
*
|
||||
* @param id 属地通报主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcSdtbById(Long id);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcSgjipTop5;
|
||||
|
||||
/**
|
||||
* 受攻击IPTOP5Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface ITcSgjipTop5Service
|
||||
{
|
||||
/**
|
||||
* 查询受攻击IPTOP5
|
||||
*
|
||||
* @param id 受攻击IPTOP5主键
|
||||
* @return 受攻击IPTOP5
|
||||
*/
|
||||
public TcSgjipTop5 selectTcSgjipTop5ById(Long id);
|
||||
|
||||
/**
|
||||
* 查询受攻击IPTOP5列表
|
||||
*
|
||||
* @param tcSgjipTop5 受攻击IPTOP5
|
||||
* @return 受攻击IPTOP5集合
|
||||
*/
|
||||
public List<TcSgjipTop5> selectTcSgjipTop5List(TcSgjipTop5 tcSgjipTop5);
|
||||
|
||||
/**
|
||||
* 新增受攻击IPTOP5
|
||||
*
|
||||
* @param tcSgjipTop5 受攻击IPTOP5
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcSgjipTop5(TcSgjipTop5 tcSgjipTop5);
|
||||
|
||||
/**
|
||||
* 修改受攻击IPTOP5
|
||||
*
|
||||
* @param tcSgjipTop5 受攻击IPTOP5
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcSgjipTop5(TcSgjipTop5 tcSgjipTop5);
|
||||
|
||||
/**
|
||||
* 批量删除受攻击IPTOP5
|
||||
*
|
||||
* @param ids 需要删除的受攻击IPTOP5主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcSgjipTop5ByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除受攻击IPTOP5信息
|
||||
*
|
||||
* @param id 受攻击IPTOP5主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcSgjipTop5ById(Long id);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcTbcz;
|
||||
|
||||
/**
|
||||
* 通报处置Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface ITcTbczService
|
||||
{
|
||||
/**
|
||||
* 查询通报处置
|
||||
*
|
||||
* @param id 通报处置主键
|
||||
* @return 通报处置
|
||||
*/
|
||||
public TcTbcz selectTcTbczById(Long id);
|
||||
|
||||
/**
|
||||
* 查询通报处置列表
|
||||
*
|
||||
* @param tcTbcz 通报处置
|
||||
* @return 通报处置集合
|
||||
*/
|
||||
public List<TcTbcz> selectTcTbczList(TcTbcz tcTbcz);
|
||||
|
||||
/**
|
||||
* 新增通报处置
|
||||
*
|
||||
* @param tcTbcz 通报处置
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcTbcz(TcTbcz tcTbcz);
|
||||
|
||||
/**
|
||||
* 修改通报处置
|
||||
*
|
||||
* @param tcTbcz 通报处置
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcTbcz(TcTbcz tcTbcz);
|
||||
|
||||
/**
|
||||
* 批量删除通报处置
|
||||
*
|
||||
* @param ids 需要删除的通报处置主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcTbczByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除通报处置信息
|
||||
*
|
||||
* @param id 通报处置主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcTbczById(Long id);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcTbwc;
|
||||
|
||||
/**
|
||||
* 通报完成情况Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface ITcTbwcService
|
||||
{
|
||||
/**
|
||||
* 查询通报完成情况
|
||||
*
|
||||
* @param id 通报完成情况主键
|
||||
* @return 通报完成情况
|
||||
*/
|
||||
public TcTbwc selectTcTbwcById(Long id);
|
||||
|
||||
/**
|
||||
* 查询通报完成情况列表
|
||||
*
|
||||
* @param tcTbwc 通报完成情况
|
||||
* @return 通报完成情况集合
|
||||
*/
|
||||
public List<TcTbwc> selectTcTbwcList(TcTbwc tcTbwc);
|
||||
|
||||
/**
|
||||
* 新增通报完成情况
|
||||
*
|
||||
* @param tcTbwc 通报完成情况
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcTbwc(TcTbwc tcTbwc);
|
||||
|
||||
/**
|
||||
* 修改通报完成情况
|
||||
*
|
||||
* @param tcTbwc 通报完成情况
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcTbwc(TcTbwc tcTbwc);
|
||||
|
||||
/**
|
||||
* 批量删除通报完成情况
|
||||
*
|
||||
* @param ids 需要删除的通报完成情况主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcTbwcByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除通报完成情况信息
|
||||
*
|
||||
* @param id 通报完成情况主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcTbwcById(Long id);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcWljgtj;
|
||||
|
||||
/**
|
||||
* 网络监测统计Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface ITcWljgtjService
|
||||
{
|
||||
/**
|
||||
* 查询网络监测统计
|
||||
*
|
||||
* @param id 网络监测统计主键
|
||||
* @return 网络监测统计
|
||||
*/
|
||||
public TcWljgtj selectTcWljgtjById(Long id);
|
||||
|
||||
/**
|
||||
* 查询网络监测统计列表
|
||||
*
|
||||
* @param tcWljgtj 网络监测统计
|
||||
* @return 网络监测统计集合
|
||||
*/
|
||||
public List<TcWljgtj> selectTcWljgtjList(TcWljgtj tcWljgtj);
|
||||
|
||||
/**
|
||||
* 新增网络监测统计
|
||||
*
|
||||
* @param tcWljgtj 网络监测统计
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcWljgtj(TcWljgtj tcWljgtj);
|
||||
|
||||
/**
|
||||
* 修改网络监测统计
|
||||
*
|
||||
* @param tcWljgtj 网络监测统计
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcWljgtj(TcWljgtj tcWljgtj);
|
||||
|
||||
/**
|
||||
* 批量删除网络监测统计
|
||||
*
|
||||
* @param ids 需要删除的网络监测统计主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcWljgtjByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除网络监测统计信息
|
||||
*
|
||||
* @param id 网络监测统计主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcWljgtjById(Long id);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcXtjc;
|
||||
|
||||
/**
|
||||
* 系统监测Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface ITcXtjcService
|
||||
{
|
||||
/**
|
||||
* 查询系统监测
|
||||
*
|
||||
* @param id 系统监测主键
|
||||
* @return 系统监测
|
||||
*/
|
||||
public TcXtjc selectTcXtjcById(Long id);
|
||||
|
||||
/**
|
||||
* 查询系统监测列表
|
||||
*
|
||||
* @param tcXtjc 系统监测
|
||||
* @return 系统监测集合
|
||||
*/
|
||||
public List<TcXtjc> selectTcXtjcList(TcXtjc tcXtjc);
|
||||
|
||||
/**
|
||||
* 新增系统监测
|
||||
*
|
||||
* @param tcXtjc 系统监测
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcXtjc(TcXtjc tcXtjc);
|
||||
|
||||
/**
|
||||
* 修改系统监测
|
||||
*
|
||||
* @param tcXtjc 系统监测
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcXtjc(TcXtjc tcXtjc);
|
||||
|
||||
/**
|
||||
* 批量删除系统监测
|
||||
*
|
||||
* @param ids 需要删除的系统监测主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcXtjcByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除系统监测信息
|
||||
*
|
||||
* @param id 系统监测主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcXtjcById(Long id);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcZfwz;
|
||||
|
||||
/**
|
||||
* 政府网站Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface ITcZfwzService
|
||||
{
|
||||
/**
|
||||
* 查询政府网站
|
||||
*
|
||||
* @param id 政府网站主键
|
||||
* @return 政府网站
|
||||
*/
|
||||
public TcZfwz selectTcZfwzById(Long id);
|
||||
|
||||
/**
|
||||
* 查询政府网站列表
|
||||
*
|
||||
* @param tcZfwz 政府网站
|
||||
* @return 政府网站集合
|
||||
*/
|
||||
public List<TcZfwz> selectTcZfwzList(TcZfwz tcZfwz);
|
||||
|
||||
/**
|
||||
* 新增政府网站
|
||||
*
|
||||
* @param tcZfwz 政府网站
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcZfwz(TcZfwz tcZfwz);
|
||||
|
||||
/**
|
||||
* 修改政府网站
|
||||
*
|
||||
* @param tcZfwz 政府网站
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcZfwz(TcZfwz tcZfwz);
|
||||
|
||||
/**
|
||||
* 批量删除政府网站
|
||||
*
|
||||
* @param ids 需要删除的政府网站主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcZfwzByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除政府网站信息
|
||||
*
|
||||
* @param id 政府网站主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcZfwzById(Long id);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcZxyh;
|
||||
|
||||
/**
|
||||
* 最新隐患Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface ITcZxyhService
|
||||
{
|
||||
/**
|
||||
* 查询最新隐患
|
||||
*
|
||||
* @param id 最新隐患主键
|
||||
* @return 最新隐患
|
||||
*/
|
||||
public TcZxyh selectTcZxyhById(Long id);
|
||||
|
||||
/**
|
||||
* 查询最新隐患列表
|
||||
*
|
||||
* @param tcZxyh 最新隐患
|
||||
* @return 最新隐患集合
|
||||
*/
|
||||
public List<TcZxyh> selectTcZxyhList(TcZxyh tcZxyh);
|
||||
|
||||
/**
|
||||
* 新增最新隐患
|
||||
*
|
||||
* @param tcZxyh 最新隐患
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcZxyh(TcZxyh tcZxyh);
|
||||
|
||||
/**
|
||||
* 修改最新隐患
|
||||
*
|
||||
* @param tcZxyh 最新隐患
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcZxyh(TcZxyh tcZxyh);
|
||||
|
||||
/**
|
||||
* 批量删除最新隐患
|
||||
*
|
||||
* @param ids 需要删除的最新隐患主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcZxyhByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除最新隐患信息
|
||||
*
|
||||
* @param id 最新隐患主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcZxyhById(Long id);
|
||||
}
|
@ -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.TcAqyhMapper;
|
||||
import com.ruoyi.tcZz.domain.TcAqyh;
|
||||
import com.ruoyi.tcZz.service.ITcAqyhService;
|
||||
|
||||
/**
|
||||
* 安全隐患 tc_aqyhService业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@Service
|
||||
public class TcAqyhServiceImpl implements ITcAqyhService
|
||||
{
|
||||
@Autowired
|
||||
private TcAqyhMapper tcAqyhMapper;
|
||||
|
||||
/**
|
||||
* 查询安全隐患 tc_aqyh
|
||||
*
|
||||
* @param id 安全隐患 tc_aqyh主键
|
||||
* @return 安全隐患 tc_aqyh
|
||||
*/
|
||||
@Override
|
||||
public TcAqyh selectTcAqyhById(Long id)
|
||||
{
|
||||
return tcAqyhMapper.selectTcAqyhById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询安全隐患 tc_aqyh列表
|
||||
*
|
||||
* @param tcAqyh 安全隐患 tc_aqyh
|
||||
* @return 安全隐患 tc_aqyh
|
||||
*/
|
||||
@Override
|
||||
public List<TcAqyh> selectTcAqyhList(TcAqyh tcAqyh)
|
||||
{
|
||||
return tcAqyhMapper.selectTcAqyhList(tcAqyh);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增安全隐患 tc_aqyh
|
||||
*
|
||||
* @param tcAqyh 安全隐患 tc_aqyh
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertTcAqyh(TcAqyh tcAqyh)
|
||||
{
|
||||
tcAqyh.setCreateTime(DateUtils.getNowDate());
|
||||
return tcAqyhMapper.insertTcAqyh(tcAqyh);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改安全隐患 tc_aqyh
|
||||
*
|
||||
* @param tcAqyh 安全隐患 tc_aqyh
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateTcAqyh(TcAqyh tcAqyh)
|
||||
{
|
||||
tcAqyh.setUpdateTime(DateUtils.getNowDate());
|
||||
return tcAqyhMapper.updateTcAqyh(tcAqyh);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除安全隐患 tc_aqyh
|
||||
*
|
||||
* @param ids 需要删除的安全隐患 tc_aqyh主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcAqyhByIds(Long[] ids)
|
||||
{
|
||||
return tcAqyhMapper.deleteTcAqyhByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除安全隐患 tc_aqyh信息
|
||||
*
|
||||
* @param id 安全隐患 tc_aqyh主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcAqyhById(Long id)
|
||||
{
|
||||
return tcAqyhMapper.deleteTcAqyhById(id);
|
||||
}
|
||||
}
|
@ -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.TcBmtbMapper;
|
||||
import com.ruoyi.tcZz.domain.TcBmtb;
|
||||
import com.ruoyi.tcZz.service.ITcBmtbService;
|
||||
|
||||
/**
|
||||
* 部门通报Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@Service
|
||||
public class TcBmtbServiceImpl implements ITcBmtbService
|
||||
{
|
||||
@Autowired
|
||||
private TcBmtbMapper tcBmtbMapper;
|
||||
|
||||
/**
|
||||
* 查询部门通报
|
||||
*
|
||||
* @param id 部门通报主键
|
||||
* @return 部门通报
|
||||
*/
|
||||
@Override
|
||||
public TcBmtb selectTcBmtbById(Long id)
|
||||
{
|
||||
return tcBmtbMapper.selectTcBmtbById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询部门通报列表
|
||||
*
|
||||
* @param tcBmtb 部门通报
|
||||
* @return 部门通报
|
||||
*/
|
||||
@Override
|
||||
public List<TcBmtb> selectTcBmtbList(TcBmtb tcBmtb)
|
||||
{
|
||||
return tcBmtbMapper.selectTcBmtbList(tcBmtb);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增部门通报
|
||||
*
|
||||
* @param tcBmtb 部门通报
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertTcBmtb(TcBmtb tcBmtb)
|
||||
{
|
||||
tcBmtb.setCreateTime(DateUtils.getNowDate());
|
||||
return tcBmtbMapper.insertTcBmtb(tcBmtb);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改部门通报
|
||||
*
|
||||
* @param tcBmtb 部门通报
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateTcBmtb(TcBmtb tcBmtb)
|
||||
{
|
||||
tcBmtb.setUpdateTime(DateUtils.getNowDate());
|
||||
return tcBmtbMapper.updateTcBmtb(tcBmtb);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除部门通报
|
||||
*
|
||||
* @param ids 需要删除的部门通报主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcBmtbByIds(Long[] ids)
|
||||
{
|
||||
return tcBmtbMapper.deleteTcBmtbByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除部门通报信息
|
||||
*
|
||||
* @param id 部门通报主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcBmtbById(Long id)
|
||||
{
|
||||
return tcBmtbMapper.deleteTcBmtbById(id);
|
||||
}
|
||||
}
|
@ -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.TcDbdwMapper;
|
||||
import com.ruoyi.tcZz.domain.TcDbdw;
|
||||
import com.ruoyi.tcZz.service.ITcDbdwService;
|
||||
|
||||
/**
|
||||
* 等保单位Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@Service
|
||||
public class TcDbdwServiceImpl implements ITcDbdwService
|
||||
{
|
||||
@Autowired
|
||||
private TcDbdwMapper tcDbdwMapper;
|
||||
|
||||
/**
|
||||
* 查询等保单位
|
||||
*
|
||||
* @param id 等保单位主键
|
||||
* @return 等保单位
|
||||
*/
|
||||
@Override
|
||||
public TcDbdw selectTcDbdwById(Long id)
|
||||
{
|
||||
return tcDbdwMapper.selectTcDbdwById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询等保单位列表
|
||||
*
|
||||
* @param tcDbdw 等保单位
|
||||
* @return 等保单位
|
||||
*/
|
||||
@Override
|
||||
public List<TcDbdw> selectTcDbdwList(TcDbdw tcDbdw)
|
||||
{
|
||||
return tcDbdwMapper.selectTcDbdwList(tcDbdw);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增等保单位
|
||||
*
|
||||
* @param tcDbdw 等保单位
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertTcDbdw(TcDbdw tcDbdw)
|
||||
{
|
||||
tcDbdw.setCreateTime(DateUtils.getNowDate());
|
||||
return tcDbdwMapper.insertTcDbdw(tcDbdw);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改等保单位
|
||||
*
|
||||
* @param tcDbdw 等保单位
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateTcDbdw(TcDbdw tcDbdw)
|
||||
{
|
||||
tcDbdw.setUpdateTime(DateUtils.getNowDate());
|
||||
return tcDbdwMapper.updateTcDbdw(tcDbdw);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除等保单位
|
||||
*
|
||||
* @param ids 需要删除的等保单位主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcDbdwByIds(Long[] ids)
|
||||
{
|
||||
return tcDbdwMapper.deleteTcDbdwByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除等保单位信息
|
||||
*
|
||||
* @param id 等保单位主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcDbdwById(Long id)
|
||||
{
|
||||
return tcDbdwMapper.deleteTcDbdwById(id);
|
||||
}
|
||||
}
|
@ -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.TcDbxtMapper;
|
||||
import com.ruoyi.tcZz.domain.TcDbxt;
|
||||
import com.ruoyi.tcZz.service.ITcDbxtService;
|
||||
|
||||
/**
|
||||
* 等保系统Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@Service
|
||||
public class TcDbxtServiceImpl implements ITcDbxtService
|
||||
{
|
||||
@Autowired
|
||||
private TcDbxtMapper tcDbxtMapper;
|
||||
|
||||
/**
|
||||
* 查询等保系统
|
||||
*
|
||||
* @param id 等保系统主键
|
||||
* @return 等保系统
|
||||
*/
|
||||
@Override
|
||||
public TcDbxt selectTcDbxtById(Long id)
|
||||
{
|
||||
return tcDbxtMapper.selectTcDbxtById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询等保系统列表
|
||||
*
|
||||
* @param tcDbxt 等保系统
|
||||
* @return 等保系统
|
||||
*/
|
||||
@Override
|
||||
public List<TcDbxt> selectTcDbxtList(TcDbxt tcDbxt)
|
||||
{
|
||||
return tcDbxtMapper.selectTcDbxtList(tcDbxt);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增等保系统
|
||||
*
|
||||
* @param tcDbxt 等保系统
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertTcDbxt(TcDbxt tcDbxt)
|
||||
{
|
||||
tcDbxt.setCreateTime(DateUtils.getNowDate());
|
||||
return tcDbxtMapper.insertTcDbxt(tcDbxt);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改等保系统
|
||||
*
|
||||
* @param tcDbxt 等保系统
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateTcDbxt(TcDbxt tcDbxt)
|
||||
{
|
||||
tcDbxt.setUpdateTime(DateUtils.getNowDate());
|
||||
return tcDbxtMapper.updateTcDbxt(tcDbxt);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除等保系统
|
||||
*
|
||||
* @param ids 需要删除的等保系统主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcDbxtByIds(Long[] ids)
|
||||
{
|
||||
return tcDbxtMapper.deleteTcDbxtByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除等保系统信息
|
||||
*
|
||||
* @param id 等保系统主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcDbxtById(Long id)
|
||||
{
|
||||
return tcDbxtMapper.deleteTcDbxtById(id);
|
||||
}
|
||||
}
|
@ -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.TcFbqkMapper;
|
||||
import com.ruoyi.tcZz.domain.TcFbqk;
|
||||
import com.ruoyi.tcZz.service.ITcFbqkService;
|
||||
|
||||
/**
|
||||
* 分布情况 tc_fbqkService业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@Service
|
||||
public class TcFbqkServiceImpl implements ITcFbqkService
|
||||
{
|
||||
@Autowired
|
||||
private TcFbqkMapper tcFbqkMapper;
|
||||
|
||||
/**
|
||||
* 查询分布情况 tc_fbqk
|
||||
*
|
||||
* @param id 分布情况 tc_fbqk主键
|
||||
* @return 分布情况 tc_fbqk
|
||||
*/
|
||||
@Override
|
||||
public TcFbqk selectTcFbqkById(Long id)
|
||||
{
|
||||
return tcFbqkMapper.selectTcFbqkById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询分布情况 tc_fbqk列表
|
||||
*
|
||||
* @param tcFbqk 分布情况 tc_fbqk
|
||||
* @return 分布情况 tc_fbqk
|
||||
*/
|
||||
@Override
|
||||
public List<TcFbqk> selectTcFbqkList(TcFbqk tcFbqk)
|
||||
{
|
||||
return tcFbqkMapper.selectTcFbqkList(tcFbqk);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增分布情况 tc_fbqk
|
||||
*
|
||||
* @param tcFbqk 分布情况 tc_fbqk
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertTcFbqk(TcFbqk tcFbqk)
|
||||
{
|
||||
tcFbqk.setCreateTime(DateUtils.getNowDate());
|
||||
return tcFbqkMapper.insertTcFbqk(tcFbqk);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改分布情况 tc_fbqk
|
||||
*
|
||||
* @param tcFbqk 分布情况 tc_fbqk
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateTcFbqk(TcFbqk tcFbqk)
|
||||
{
|
||||
tcFbqk.setUpdateTime(DateUtils.getNowDate());
|
||||
return tcFbqkMapper.updateTcFbqk(tcFbqk);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除分布情况 tc_fbqk
|
||||
*
|
||||
* @param ids 需要删除的分布情况 tc_fbqk主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcFbqkByIds(Long[] ids)
|
||||
{
|
||||
return tcFbqkMapper.deleteTcFbqkByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除分布情况 tc_fbqk信息
|
||||
*
|
||||
* @param id 分布情况 tc_fbqk主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcFbqkById(Long id)
|
||||
{
|
||||
return tcFbqkMapper.deleteTcFbqkById(id);
|
||||
}
|
||||
}
|
@ -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.TcIdcdwMapper;
|
||||
import com.ruoyi.tcZz.domain.TcIdcdw;
|
||||
import com.ruoyi.tcZz.service.ITcIdcdwService;
|
||||
|
||||
/**
|
||||
* IDC单位Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@Service
|
||||
public class TcIdcdwServiceImpl implements ITcIdcdwService
|
||||
{
|
||||
@Autowired
|
||||
private TcIdcdwMapper tcIdcdwMapper;
|
||||
|
||||
/**
|
||||
* 查询 IDC单位
|
||||
*
|
||||
* @param id IDC单位主键
|
||||
* @return IDC单位
|
||||
*/
|
||||
@Override
|
||||
public TcIdcdw selectTcIdcdwById(Long id)
|
||||
{
|
||||
return tcIdcdwMapper.selectTcIdcdwById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询 IDC单位列表
|
||||
*
|
||||
* @param tcIdcdw IDC单位
|
||||
* @return IDC单位
|
||||
*/
|
||||
@Override
|
||||
public List<TcIdcdw> selectTcIdcdwList(TcIdcdw tcIdcdw)
|
||||
{
|
||||
return tcIdcdwMapper.selectTcIdcdwList(tcIdcdw);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增 IDC单位
|
||||
*
|
||||
* @param tcIdcdw IDC单位
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertTcIdcdw(TcIdcdw tcIdcdw)
|
||||
{
|
||||
tcIdcdw.setCreateTime(DateUtils.getNowDate());
|
||||
return tcIdcdwMapper.insertTcIdcdw(tcIdcdw);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改 IDC单位
|
||||
*
|
||||
* @param tcIdcdw IDC单位
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateTcIdcdw(TcIdcdw tcIdcdw)
|
||||
{
|
||||
tcIdcdw.setUpdateTime(DateUtils.getNowDate());
|
||||
return tcIdcdwMapper.updateTcIdcdw(tcIdcdw);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除 IDC单位
|
||||
*
|
||||
* @param ids 需要删除的 IDC单位主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcIdcdwByIds(Long[] ids)
|
||||
{
|
||||
return tcIdcdwMapper.deleteTcIdcdwByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除 IDC单位信息
|
||||
*
|
||||
* @param id IDC单位主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcIdcdwById(Long id)
|
||||
{
|
||||
return tcIdcdwMapper.deleteTcIdcdwById(id);
|
||||
}
|
||||
}
|
@ -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.TcJgdwMapper;
|
||||
import com.ruoyi.tcZz.domain.TcJgdw;
|
||||
import com.ruoyi.tcZz.service.ITcJgdwService;
|
||||
|
||||
/**
|
||||
* 监管单位Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@Service
|
||||
public class TcJgdwServiceImpl implements ITcJgdwService
|
||||
{
|
||||
@Autowired
|
||||
private TcJgdwMapper tcJgdwMapper;
|
||||
|
||||
/**
|
||||
* 查询监管单位
|
||||
*
|
||||
* @param id 监管单位主键
|
||||
* @return 监管单位
|
||||
*/
|
||||
@Override
|
||||
public TcJgdw selectTcJgdwById(Long id)
|
||||
{
|
||||
return tcJgdwMapper.selectTcJgdwById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询监管单位列表
|
||||
*
|
||||
* @param tcJgdw 监管单位
|
||||
* @return 监管单位
|
||||
*/
|
||||
@Override
|
||||
public List<TcJgdw> selectTcJgdwList(TcJgdw tcJgdw)
|
||||
{
|
||||
return tcJgdwMapper.selectTcJgdwList(tcJgdw);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增监管单位
|
||||
*
|
||||
* @param tcJgdw 监管单位
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertTcJgdw(TcJgdw tcJgdw)
|
||||
{
|
||||
tcJgdw.setCreateTime(DateUtils.getNowDate());
|
||||
return tcJgdwMapper.insertTcJgdw(tcJgdw);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改监管单位
|
||||
*
|
||||
* @param tcJgdw 监管单位
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateTcJgdw(TcJgdw tcJgdw)
|
||||
{
|
||||
tcJgdw.setUpdateTime(DateUtils.getNowDate());
|
||||
return tcJgdwMapper.updateTcJgdw(tcJgdw);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除监管单位
|
||||
*
|
||||
* @param ids 需要删除的监管单位主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcJgdwByIds(Long[] ids)
|
||||
{
|
||||
return tcJgdwMapper.deleteTcJgdwByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除监管单位信息
|
||||
*
|
||||
* @param id 监管单位主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcJgdwById(Long id)
|
||||
{
|
||||
return tcJgdwMapper.deleteTcJgdwById(id);
|
||||
}
|
||||
}
|
@ -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.TcMapMapper;
|
||||
import com.ruoyi.tcZz.domain.TcMap;
|
||||
import com.ruoyi.tcZz.service.ITcMapService;
|
||||
|
||||
/**
|
||||
* 地图统计Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@Service
|
||||
public class TcMapServiceImpl implements ITcMapService
|
||||
{
|
||||
@Autowired
|
||||
private TcMapMapper tcMapMapper;
|
||||
|
||||
/**
|
||||
* 查询地图统计
|
||||
*
|
||||
* @param id 地图统计主键
|
||||
* @return 地图统计
|
||||
*/
|
||||
@Override
|
||||
public TcMap selectTcMapById(Long id)
|
||||
{
|
||||
return tcMapMapper.selectTcMapById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询地图统计列表
|
||||
*
|
||||
* @param tcMap 地图统计
|
||||
* @return 地图统计
|
||||
*/
|
||||
@Override
|
||||
public List<TcMap> selectTcMapList(TcMap tcMap)
|
||||
{
|
||||
return tcMapMapper.selectTcMapList(tcMap);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增地图统计
|
||||
*
|
||||
* @param tcMap 地图统计
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertTcMap(TcMap tcMap)
|
||||
{
|
||||
tcMap.setCreateTime(DateUtils.getNowDate());
|
||||
return tcMapMapper.insertTcMap(tcMap);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改地图统计
|
||||
*
|
||||
* @param tcMap 地图统计
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateTcMap(TcMap tcMap)
|
||||
{
|
||||
tcMap.setUpdateTime(DateUtils.getNowDate());
|
||||
return tcMapMapper.updateTcMap(tcMap);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除地图统计
|
||||
*
|
||||
* @param ids 需要删除的地图统计主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcMapByIds(Long[] ids)
|
||||
{
|
||||
return tcMapMapper.deleteTcMapByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除地图统计信息
|
||||
*
|
||||
* @param id 地图统计主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcMapById(Long id)
|
||||
{
|
||||
return tcMapMapper.deleteTcMapById(id);
|
||||
}
|
||||
}
|
@ -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.TcSdtbMapper;
|
||||
import com.ruoyi.tcZz.domain.TcSdtb;
|
||||
import com.ruoyi.tcZz.service.ITcSdtbService;
|
||||
|
||||
/**
|
||||
* 属地通报Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@Service
|
||||
public class TcSdtbServiceImpl implements ITcSdtbService
|
||||
{
|
||||
@Autowired
|
||||
private TcSdtbMapper tcSdtbMapper;
|
||||
|
||||
/**
|
||||
* 查询属地通报
|
||||
*
|
||||
* @param id 属地通报主键
|
||||
* @return 属地通报
|
||||
*/
|
||||
@Override
|
||||
public TcSdtb selectTcSdtbById(Long id)
|
||||
{
|
||||
return tcSdtbMapper.selectTcSdtbById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询属地通报列表
|
||||
*
|
||||
* @param tcSdtb 属地通报
|
||||
* @return 属地通报
|
||||
*/
|
||||
@Override
|
||||
public List<TcSdtb> selectTcSdtbList(TcSdtb tcSdtb)
|
||||
{
|
||||
return tcSdtbMapper.selectTcSdtbList(tcSdtb);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增属地通报
|
||||
*
|
||||
* @param tcSdtb 属地通报
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertTcSdtb(TcSdtb tcSdtb)
|
||||
{
|
||||
tcSdtb.setCreateTime(DateUtils.getNowDate());
|
||||
return tcSdtbMapper.insertTcSdtb(tcSdtb);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改属地通报
|
||||
*
|
||||
* @param tcSdtb 属地通报
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateTcSdtb(TcSdtb tcSdtb)
|
||||
{
|
||||
tcSdtb.setUpdateTime(DateUtils.getNowDate());
|
||||
return tcSdtbMapper.updateTcSdtb(tcSdtb);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除属地通报
|
||||
*
|
||||
* @param ids 需要删除的属地通报主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcSdtbByIds(Long[] ids)
|
||||
{
|
||||
return tcSdtbMapper.deleteTcSdtbByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除属地通报信息
|
||||
*
|
||||
* @param id 属地通报主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcSdtbById(Long id)
|
||||
{
|
||||
return tcSdtbMapper.deleteTcSdtbById(id);
|
||||
}
|
||||
}
|
@ -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.TcSgjipTop5Mapper;
|
||||
import com.ruoyi.tcZz.domain.TcSgjipTop5;
|
||||
import com.ruoyi.tcZz.service.ITcSgjipTop5Service;
|
||||
|
||||
/**
|
||||
* 受攻击IPTOP5Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@Service
|
||||
public class TcSgjipTop5ServiceImpl implements ITcSgjipTop5Service
|
||||
{
|
||||
@Autowired
|
||||
private TcSgjipTop5Mapper tcSgjipTop5Mapper;
|
||||
|
||||
/**
|
||||
* 查询受攻击IPTOP5
|
||||
*
|
||||
* @param id 受攻击IPTOP5主键
|
||||
* @return 受攻击IPTOP5
|
||||
*/
|
||||
@Override
|
||||
public TcSgjipTop5 selectTcSgjipTop5ById(Long id)
|
||||
{
|
||||
return tcSgjipTop5Mapper.selectTcSgjipTop5ById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询受攻击IPTOP5列表
|
||||
*
|
||||
* @param tcSgjipTop5 受攻击IPTOP5
|
||||
* @return 受攻击IPTOP5
|
||||
*/
|
||||
@Override
|
||||
public List<TcSgjipTop5> selectTcSgjipTop5List(TcSgjipTop5 tcSgjipTop5)
|
||||
{
|
||||
return tcSgjipTop5Mapper.selectTcSgjipTop5List(tcSgjipTop5);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增受攻击IPTOP5
|
||||
*
|
||||
* @param tcSgjipTop5 受攻击IPTOP5
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertTcSgjipTop5(TcSgjipTop5 tcSgjipTop5)
|
||||
{
|
||||
tcSgjipTop5.setCreateTime(DateUtils.getNowDate());
|
||||
return tcSgjipTop5Mapper.insertTcSgjipTop5(tcSgjipTop5);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改受攻击IPTOP5
|
||||
*
|
||||
* @param tcSgjipTop5 受攻击IPTOP5
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateTcSgjipTop5(TcSgjipTop5 tcSgjipTop5)
|
||||
{
|
||||
tcSgjipTop5.setUpdateTime(DateUtils.getNowDate());
|
||||
return tcSgjipTop5Mapper.updateTcSgjipTop5(tcSgjipTop5);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除受攻击IPTOP5
|
||||
*
|
||||
* @param ids 需要删除的受攻击IPTOP5主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcSgjipTop5ByIds(Long[] ids)
|
||||
{
|
||||
return tcSgjipTop5Mapper.deleteTcSgjipTop5ByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除受攻击IPTOP5信息
|
||||
*
|
||||
* @param id 受攻击IPTOP5主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcSgjipTop5ById(Long id)
|
||||
{
|
||||
return tcSgjipTop5Mapper.deleteTcSgjipTop5ById(id);
|
||||
}
|
||||
}
|
@ -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.TcTbczMapper;
|
||||
import com.ruoyi.tcZz.domain.TcTbcz;
|
||||
import com.ruoyi.tcZz.service.ITcTbczService;
|
||||
|
||||
/**
|
||||
* 通报处置Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@Service
|
||||
public class TcTbczServiceImpl implements ITcTbczService
|
||||
{
|
||||
@Autowired
|
||||
private TcTbczMapper tcTbczMapper;
|
||||
|
||||
/**
|
||||
* 查询通报处置
|
||||
*
|
||||
* @param id 通报处置主键
|
||||
* @return 通报处置
|
||||
*/
|
||||
@Override
|
||||
public TcTbcz selectTcTbczById(Long id)
|
||||
{
|
||||
return tcTbczMapper.selectTcTbczById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询通报处置列表
|
||||
*
|
||||
* @param tcTbcz 通报处置
|
||||
* @return 通报处置
|
||||
*/
|
||||
@Override
|
||||
public List<TcTbcz> selectTcTbczList(TcTbcz tcTbcz)
|
||||
{
|
||||
return tcTbczMapper.selectTcTbczList(tcTbcz);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增通报处置
|
||||
*
|
||||
* @param tcTbcz 通报处置
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertTcTbcz(TcTbcz tcTbcz)
|
||||
{
|
||||
tcTbcz.setCreateTime(DateUtils.getNowDate());
|
||||
return tcTbczMapper.insertTcTbcz(tcTbcz);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改通报处置
|
||||
*
|
||||
* @param tcTbcz 通报处置
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateTcTbcz(TcTbcz tcTbcz)
|
||||
{
|
||||
tcTbcz.setUpdateTime(DateUtils.getNowDate());
|
||||
return tcTbczMapper.updateTcTbcz(tcTbcz);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除通报处置
|
||||
*
|
||||
* @param ids 需要删除的通报处置主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcTbczByIds(Long[] ids)
|
||||
{
|
||||
return tcTbczMapper.deleteTcTbczByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除通报处置信息
|
||||
*
|
||||
* @param id 通报处置主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcTbczById(Long id)
|
||||
{
|
||||
return tcTbczMapper.deleteTcTbczById(id);
|
||||
}
|
||||
}
|
@ -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.TcTbwcMapper;
|
||||
import com.ruoyi.tcZz.domain.TcTbwc;
|
||||
import com.ruoyi.tcZz.service.ITcTbwcService;
|
||||
|
||||
/**
|
||||
* 通报完成情况Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@Service
|
||||
public class TcTbwcServiceImpl implements ITcTbwcService
|
||||
{
|
||||
@Autowired
|
||||
private TcTbwcMapper tcTbwcMapper;
|
||||
|
||||
/**
|
||||
* 查询通报完成情况
|
||||
*
|
||||
* @param id 通报完成情况主键
|
||||
* @return 通报完成情况
|
||||
*/
|
||||
@Override
|
||||
public TcTbwc selectTcTbwcById(Long id)
|
||||
{
|
||||
return tcTbwcMapper.selectTcTbwcById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询通报完成情况列表
|
||||
*
|
||||
* @param tcTbwc 通报完成情况
|
||||
* @return 通报完成情况
|
||||
*/
|
||||
@Override
|
||||
public List<TcTbwc> selectTcTbwcList(TcTbwc tcTbwc)
|
||||
{
|
||||
return tcTbwcMapper.selectTcTbwcList(tcTbwc);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增通报完成情况
|
||||
*
|
||||
* @param tcTbwc 通报完成情况
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertTcTbwc(TcTbwc tcTbwc)
|
||||
{
|
||||
tcTbwc.setCreateTime(DateUtils.getNowDate());
|
||||
return tcTbwcMapper.insertTcTbwc(tcTbwc);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改通报完成情况
|
||||
*
|
||||
* @param tcTbwc 通报完成情况
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateTcTbwc(TcTbwc tcTbwc)
|
||||
{
|
||||
tcTbwc.setUpdateTime(DateUtils.getNowDate());
|
||||
return tcTbwcMapper.updateTcTbwc(tcTbwc);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除通报完成情况
|
||||
*
|
||||
* @param ids 需要删除的通报完成情况主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcTbwcByIds(Long[] ids)
|
||||
{
|
||||
return tcTbwcMapper.deleteTcTbwcByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除通报完成情况信息
|
||||
*
|
||||
* @param id 通报完成情况主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcTbwcById(Long id)
|
||||
{
|
||||
return tcTbwcMapper.deleteTcTbwcById(id);
|
||||
}
|
||||
}
|
@ -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.TcWljgtjMapper;
|
||||
import com.ruoyi.tcZz.domain.TcWljgtj;
|
||||
import com.ruoyi.tcZz.service.ITcWljgtjService;
|
||||
|
||||
/**
|
||||
* 网络监测统计Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@Service
|
||||
public class TcWljgtjServiceImpl implements ITcWljgtjService
|
||||
{
|
||||
@Autowired
|
||||
private TcWljgtjMapper tcWljgtjMapper;
|
||||
|
||||
/**
|
||||
* 查询网络监测统计
|
||||
*
|
||||
* @param id 网络监测统计主键
|
||||
* @return 网络监测统计
|
||||
*/
|
||||
@Override
|
||||
public TcWljgtj selectTcWljgtjById(Long id)
|
||||
{
|
||||
return tcWljgtjMapper.selectTcWljgtjById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询网络监测统计列表
|
||||
*
|
||||
* @param tcWljgtj 网络监测统计
|
||||
* @return 网络监测统计
|
||||
*/
|
||||
@Override
|
||||
public List<TcWljgtj> selectTcWljgtjList(TcWljgtj tcWljgtj)
|
||||
{
|
||||
return tcWljgtjMapper.selectTcWljgtjList(tcWljgtj);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增网络监测统计
|
||||
*
|
||||
* @param tcWljgtj 网络监测统计
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertTcWljgtj(TcWljgtj tcWljgtj)
|
||||
{
|
||||
tcWljgtj.setCreateTime(DateUtils.getNowDate());
|
||||
return tcWljgtjMapper.insertTcWljgtj(tcWljgtj);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改网络监测统计
|
||||
*
|
||||
* @param tcWljgtj 网络监测统计
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateTcWljgtj(TcWljgtj tcWljgtj)
|
||||
{
|
||||
tcWljgtj.setUpdateTime(DateUtils.getNowDate());
|
||||
return tcWljgtjMapper.updateTcWljgtj(tcWljgtj);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除网络监测统计
|
||||
*
|
||||
* @param ids 需要删除的网络监测统计主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcWljgtjByIds(Long[] ids)
|
||||
{
|
||||
return tcWljgtjMapper.deleteTcWljgtjByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除网络监测统计信息
|
||||
*
|
||||
* @param id 网络监测统计主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcWljgtjById(Long id)
|
||||
{
|
||||
return tcWljgtjMapper.deleteTcWljgtjById(id);
|
||||
}
|
||||
}
|
@ -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.TcXtjcMapper;
|
||||
import com.ruoyi.tcZz.domain.TcXtjc;
|
||||
import com.ruoyi.tcZz.service.ITcXtjcService;
|
||||
|
||||
/**
|
||||
* 系统监测Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@Service
|
||||
public class TcXtjcServiceImpl implements ITcXtjcService
|
||||
{
|
||||
@Autowired
|
||||
private TcXtjcMapper tcXtjcMapper;
|
||||
|
||||
/**
|
||||
* 查询系统监测
|
||||
*
|
||||
* @param id 系统监测主键
|
||||
* @return 系统监测
|
||||
*/
|
||||
@Override
|
||||
public TcXtjc selectTcXtjcById(Long id)
|
||||
{
|
||||
return tcXtjcMapper.selectTcXtjcById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询系统监测列表
|
||||
*
|
||||
* @param tcXtjc 系统监测
|
||||
* @return 系统监测
|
||||
*/
|
||||
@Override
|
||||
public List<TcXtjc> selectTcXtjcList(TcXtjc tcXtjc)
|
||||
{
|
||||
return tcXtjcMapper.selectTcXtjcList(tcXtjc);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增系统监测
|
||||
*
|
||||
* @param tcXtjc 系统监测
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertTcXtjc(TcXtjc tcXtjc)
|
||||
{
|
||||
tcXtjc.setCreateTime(DateUtils.getNowDate());
|
||||
return tcXtjcMapper.insertTcXtjc(tcXtjc);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改系统监测
|
||||
*
|
||||
* @param tcXtjc 系统监测
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateTcXtjc(TcXtjc tcXtjc)
|
||||
{
|
||||
tcXtjc.setUpdateTime(DateUtils.getNowDate());
|
||||
return tcXtjcMapper.updateTcXtjc(tcXtjc);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除系统监测
|
||||
*
|
||||
* @param ids 需要删除的系统监测主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcXtjcByIds(Long[] ids)
|
||||
{
|
||||
return tcXtjcMapper.deleteTcXtjcByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除系统监测信息
|
||||
*
|
||||
* @param id 系统监测主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcXtjcById(Long id)
|
||||
{
|
||||
return tcXtjcMapper.deleteTcXtjcById(id);
|
||||
}
|
||||
}
|
@ -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.TcZfwzMapper;
|
||||
import com.ruoyi.tcZz.domain.TcZfwz;
|
||||
import com.ruoyi.tcZz.service.ITcZfwzService;
|
||||
|
||||
/**
|
||||
* 政府网站Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@Service
|
||||
public class TcZfwzServiceImpl implements ITcZfwzService
|
||||
{
|
||||
@Autowired
|
||||
private TcZfwzMapper tcZfwzMapper;
|
||||
|
||||
/**
|
||||
* 查询政府网站
|
||||
*
|
||||
* @param id 政府网站主键
|
||||
* @return 政府网站
|
||||
*/
|
||||
@Override
|
||||
public TcZfwz selectTcZfwzById(Long id)
|
||||
{
|
||||
return tcZfwzMapper.selectTcZfwzById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询政府网站列表
|
||||
*
|
||||
* @param tcZfwz 政府网站
|
||||
* @return 政府网站
|
||||
*/
|
||||
@Override
|
||||
public List<TcZfwz> selectTcZfwzList(TcZfwz tcZfwz)
|
||||
{
|
||||
return tcZfwzMapper.selectTcZfwzList(tcZfwz);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增政府网站
|
||||
*
|
||||
* @param tcZfwz 政府网站
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertTcZfwz(TcZfwz tcZfwz)
|
||||
{
|
||||
tcZfwz.setCreateTime(DateUtils.getNowDate());
|
||||
return tcZfwzMapper.insertTcZfwz(tcZfwz);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改政府网站
|
||||
*
|
||||
* @param tcZfwz 政府网站
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateTcZfwz(TcZfwz tcZfwz)
|
||||
{
|
||||
tcZfwz.setUpdateTime(DateUtils.getNowDate());
|
||||
return tcZfwzMapper.updateTcZfwz(tcZfwz);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除政府网站
|
||||
*
|
||||
* @param ids 需要删除的政府网站主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcZfwzByIds(Long[] ids)
|
||||
{
|
||||
return tcZfwzMapper.deleteTcZfwzByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除政府网站信息
|
||||
*
|
||||
* @param id 政府网站主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcZfwzById(Long id)
|
||||
{
|
||||
return tcZfwzMapper.deleteTcZfwzById(id);
|
||||
}
|
||||
}
|
@ -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.TcZxyhMapper;
|
||||
import com.ruoyi.tcZz.domain.TcZxyh;
|
||||
import com.ruoyi.tcZz.service.ITcZxyhService;
|
||||
|
||||
/**
|
||||
* 最新隐患Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@Service
|
||||
public class TcZxyhServiceImpl implements ITcZxyhService
|
||||
{
|
||||
@Autowired
|
||||
private TcZxyhMapper tcZxyhMapper;
|
||||
|
||||
/**
|
||||
* 查询最新隐患
|
||||
*
|
||||
* @param id 最新隐患主键
|
||||
* @return 最新隐患
|
||||
*/
|
||||
@Override
|
||||
public TcZxyh selectTcZxyhById(Long id)
|
||||
{
|
||||
return tcZxyhMapper.selectTcZxyhById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询最新隐患列表
|
||||
*
|
||||
* @param tcZxyh 最新隐患
|
||||
* @return 最新隐患
|
||||
*/
|
||||
@Override
|
||||
public List<TcZxyh> selectTcZxyhList(TcZxyh tcZxyh)
|
||||
{
|
||||
return tcZxyhMapper.selectTcZxyhList(tcZxyh);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增最新隐患
|
||||
*
|
||||
* @param tcZxyh 最新隐患
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertTcZxyh(TcZxyh tcZxyh)
|
||||
{
|
||||
tcZxyh.setCreateTime(DateUtils.getNowDate());
|
||||
return tcZxyhMapper.insertTcZxyh(tcZxyh);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改最新隐患
|
||||
*
|
||||
* @param tcZxyh 最新隐患
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateTcZxyh(TcZxyh tcZxyh)
|
||||
{
|
||||
tcZxyh.setUpdateTime(DateUtils.getNowDate());
|
||||
return tcZxyhMapper.updateTcZxyh(tcZxyh);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除最新隐患
|
||||
*
|
||||
* @param ids 需要删除的最新隐患主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcZxyhByIds(Long[] ids)
|
||||
{
|
||||
return tcZxyhMapper.deleteTcZxyhByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除最新隐患信息
|
||||
*
|
||||
* @param id 最新隐患主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcZxyhById(Long id)
|
||||
{
|
||||
return tcZxyhMapper.deleteTcZxyhById(id);
|
||||
}
|
||||
}
|
@ -0,0 +1,87 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.tcZz.mapper.TcAqyhMapper">
|
||||
|
||||
<resultMap type="TcAqyh" id="TcAqyhResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="yhName" column="yh_name" />
|
||||
<result property="yhCount" column="yh_count" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="remark" column="remark" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectTcAqyhVo">
|
||||
select id, yh_name, yh_count, create_by, create_time, update_by, update_time, remark from tc_aqyh
|
||||
</sql>
|
||||
|
||||
<select id="selectTcAqyhList" parameterType="TcAqyh" resultMap="TcAqyhResult">
|
||||
<include refid="selectTcAqyhVo"/>
|
||||
<where>
|
||||
<if test="id != null "> and id = #{id}</if>
|
||||
<if test="yhName != null and yhName != ''"> and yh_name like concat('%', #{yhName}, '%')</if>
|
||||
<if test="yhCount != null and yhCount != ''"> and yh_count = #{yhCount}</if>
|
||||
<if test="createBy != null and createBy != ''"> and create_by = #{createBy}</if>
|
||||
<if test="params.beginCreateTime != null and params.beginCreateTime != '' and params.endCreateTime != null and params.endCreateTime != ''"> and create_time between #{params.beginCreateTime} and #{params.endCreateTime}</if>
|
||||
<if test="updateBy != null and updateBy != ''"> and update_by = #{updateBy}</if>
|
||||
<if test="params.beginUpdateTime != null and params.beginUpdateTime != '' and params.endUpdateTime != null and params.endUpdateTime != ''"> and update_time between #{params.beginUpdateTime} and #{params.endUpdateTime}</if>
|
||||
<if test="remark != null and remark != ''"> and remark = #{remark}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectTcAqyhById" parameterType="Long" resultMap="TcAqyhResult">
|
||||
<include refid="selectTcAqyhVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertTcAqyh" parameterType="TcAqyh" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into tc_aqyh
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="yhName != null">yh_name,</if>
|
||||
<if test="yhCount != null">yh_count,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="remark != null">remark,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="yhName != null">#{yhName},</if>
|
||||
<if test="yhCount != null">#{yhCount},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="remark != null">#{remark},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateTcAqyh" parameterType="TcAqyh">
|
||||
update tc_aqyh
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="yhName != null">yh_name = #{yhName},</if>
|
||||
<if test="yhCount != null">yh_count = #{yhCount},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteTcAqyhById" parameterType="Long">
|
||||
delete from tc_aqyh where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteTcAqyhByIds" parameterType="String">
|
||||
delete from tc_aqyh where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
@ -0,0 +1,97 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.tcZz.mapper.TcBmtbMapper">
|
||||
|
||||
<resultMap type="TcBmtb" id="TcBmtbResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="isStatus" column="isStatus" />
|
||||
<result property="depName" column="dep_name" />
|
||||
<result property="fileName" column="file_name" />
|
||||
<result property="fileUrl" column="file_url" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="remark" column="remark" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectTcBmtbVo">
|
||||
select id, isStatus, dep_name, file_name, file_url, create_by, create_time, update_by, update_time, remark from tc_bmtb
|
||||
</sql>
|
||||
|
||||
<select id="selectTcBmtbList" parameterType="TcBmtb" resultMap="TcBmtbResult">
|
||||
<include refid="selectTcBmtbVo"/>
|
||||
<where>
|
||||
<if test="id != null "> and id = #{id}</if>
|
||||
<if test="isStatus != null "> and isStatus = #{isStatus}</if>
|
||||
<if test="depName != null and depName != ''"> and dep_name like concat('%', #{depName}, '%')</if>
|
||||
<if test="fileName != null and fileName != ''"> and file_name like concat('%', #{fileName}, '%')</if>
|
||||
<if test="fileUrl != null and fileUrl != ''"> and file_url = #{fileUrl}</if>
|
||||
<if test="createBy != null and createBy != ''"> and create_by = #{createBy}</if>
|
||||
<if test="params.beginCreateTime != null and params.beginCreateTime != '' and params.endCreateTime != null and params.endCreateTime != ''"> and create_time between #{params.beginCreateTime} and #{params.endCreateTime}</if>
|
||||
<if test="updateBy != null and updateBy != ''"> and update_by = #{updateBy}</if>
|
||||
<if test="params.beginUpdateTime != null and params.beginUpdateTime != '' and params.endUpdateTime != null and params.endUpdateTime != ''"> and update_time between #{params.beginUpdateTime} and #{params.endUpdateTime}</if>
|
||||
<if test="remark != null and remark != ''"> and remark = #{remark}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectTcBmtbById" parameterType="Long" resultMap="TcBmtbResult">
|
||||
<include refid="selectTcBmtbVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertTcBmtb" parameterType="TcBmtb" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into tc_bmtb
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="isStatus != null">isStatus,</if>
|
||||
<if test="depName != null">dep_name,</if>
|
||||
<if test="fileName != null">file_name,</if>
|
||||
<if test="fileUrl != null">file_url,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="remark != null">remark,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="isStatus != null">#{isStatus},</if>
|
||||
<if test="depName != null">#{depName},</if>
|
||||
<if test="fileName != null">#{fileName},</if>
|
||||
<if test="fileUrl != null">#{fileUrl},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="remark != null">#{remark},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateTcBmtb" parameterType="TcBmtb">
|
||||
update tc_bmtb
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="isStatus != null">isStatus = #{isStatus},</if>
|
||||
<if test="depName != null">dep_name = #{depName},</if>
|
||||
<if test="fileName != null">file_name = #{fileName},</if>
|
||||
<if test="fileUrl != null">file_url = #{fileUrl},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteTcBmtbById" parameterType="Long">
|
||||
delete from tc_bmtb where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteTcBmtbByIds" parameterType="String">
|
||||
delete from tc_bmtb where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
@ -0,0 +1,138 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.tcZz.mapper.TcDbdwMapper">
|
||||
|
||||
<resultMap type="TcDbdw" id="TcDbdwResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="areaId" column="area_id" />
|
||||
<result property="unitName" column="unit_name" />
|
||||
<result property="postalCode" column="postal_code" />
|
||||
<result property="addressProvince" column="address_province" />
|
||||
<result property="addressCity" column="address_city" />
|
||||
<result property="addressCounty" column="address_county" />
|
||||
<result property="unitAddress" column="unit_address" />
|
||||
<result property="countyCode" column="county_code" />
|
||||
<result property="lsGx" column="ls_gx" />
|
||||
<result property="unitType" column="unit_type" />
|
||||
<result property="industryType" column="industry_type" />
|
||||
<result property="fzrName" column="fzr_name" />
|
||||
<result property="fzrDuty" column="fzr_duty" />
|
||||
<result property="fzrTel" column="fzr_tel" />
|
||||
<result property="fzrEmail" column="fzr_email" />
|
||||
<result property="isStatus" column="isStatus" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="remark" column="remark" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectTcDbdwVo">
|
||||
select id, area_id, unit_name, postal_code, address_province, address_city, address_county, unit_address, county_code, ls_gx, unit_type, industry_type, fzr_name, fzr_duty, fzr_tel, fzr_email, isStatus, create_by, create_time, update_by, update_time, remark from tc_dbdw
|
||||
</sql>
|
||||
|
||||
<select id="selectTcDbdwList" parameterType="TcDbdw" resultMap="TcDbdwResult">
|
||||
<include refid="selectTcDbdwVo"/>
|
||||
<where>
|
||||
<if test="areaId != null and areaId != ''"> and area_id = #{areaId}</if>
|
||||
<if test="unitName != null and unitName != ''"> and unit_name like concat('%', #{unitName}, '%')</if>
|
||||
<if test="isStatus != null "> and isStatus = #{isStatus}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectTcDbdwById" parameterType="Long" resultMap="TcDbdwResult">
|
||||
<include refid="selectTcDbdwVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertTcDbdw" parameterType="TcDbdw" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into tc_dbdw
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="areaId != null">area_id,</if>
|
||||
<if test="unitName != null">unit_name,</if>
|
||||
<if test="postalCode != null">postal_code,</if>
|
||||
<if test="addressProvince != null">address_province,</if>
|
||||
<if test="addressCity != null">address_city,</if>
|
||||
<if test="addressCounty != null">address_county,</if>
|
||||
<if test="unitAddress != null">unit_address,</if>
|
||||
<if test="countyCode != null">county_code,</if>
|
||||
<if test="lsGx != null">ls_gx,</if>
|
||||
<if test="unitType != null">unit_type,</if>
|
||||
<if test="industryType != null">industry_type,</if>
|
||||
<if test="fzrName != null">fzr_name,</if>
|
||||
<if test="fzrDuty != null">fzr_duty,</if>
|
||||
<if test="fzrTel != null">fzr_tel,</if>
|
||||
<if test="fzrEmail != null">fzr_email,</if>
|
||||
<if test="isStatus != null">isStatus,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="remark != null">remark,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="areaId != null">#{areaId},</if>
|
||||
<if test="unitName != null">#{unitName},</if>
|
||||
<if test="postalCode != null">#{postalCode},</if>
|
||||
<if test="addressProvince != null">#{addressProvince},</if>
|
||||
<if test="addressCity != null">#{addressCity},</if>
|
||||
<if test="addressCounty != null">#{addressCounty},</if>
|
||||
<if test="unitAddress != null">#{unitAddress},</if>
|
||||
<if test="countyCode != null">#{countyCode},</if>
|
||||
<if test="lsGx != null">#{lsGx},</if>
|
||||
<if test="unitType != null">#{unitType},</if>
|
||||
<if test="industryType != null">#{industryType},</if>
|
||||
<if test="fzrName != null">#{fzrName},</if>
|
||||
<if test="fzrDuty != null">#{fzrDuty},</if>
|
||||
<if test="fzrTel != null">#{fzrTel},</if>
|
||||
<if test="fzrEmail != null">#{fzrEmail},</if>
|
||||
<if test="isStatus != null">#{isStatus},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="remark != null">#{remark},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateTcDbdw" parameterType="TcDbdw">
|
||||
update tc_dbdw
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="areaId != null">area_id = #{areaId},</if>
|
||||
<if test="unitName != null">unit_name = #{unitName},</if>
|
||||
<if test="postalCode != null">postal_code = #{postalCode},</if>
|
||||
<if test="addressProvince != null">address_province = #{addressProvince},</if>
|
||||
<if test="addressCity != null">address_city = #{addressCity},</if>
|
||||
<if test="addressCounty != null">address_county = #{addressCounty},</if>
|
||||
<if test="unitAddress != null">unit_address = #{unitAddress},</if>
|
||||
<if test="countyCode != null">county_code = #{countyCode},</if>
|
||||
<if test="lsGx != null">ls_gx = #{lsGx},</if>
|
||||
<if test="unitType != null">unit_type = #{unitType},</if>
|
||||
<if test="industryType != null">industry_type = #{industryType},</if>
|
||||
<if test="fzrName != null">fzr_name = #{fzrName},</if>
|
||||
<if test="fzrDuty != null">fzr_duty = #{fzrDuty},</if>
|
||||
<if test="fzrTel != null">fzr_tel = #{fzrTel},</if>
|
||||
<if test="fzrEmail != null">fzr_email = #{fzrEmail},</if>
|
||||
<if test="isStatus != null">isStatus = #{isStatus},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteTcDbdwById" parameterType="Long">
|
||||
delete from tc_dbdw where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteTcDbdwByIds" parameterType="String">
|
||||
delete from tc_dbdw where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
@ -0,0 +1,152 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.tcZz.mapper.TcDbxtMapper">
|
||||
|
||||
<resultMap type="TcDbxt" id="TcDbxtResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="areaId" column="area_id" />
|
||||
<result property="systemName" column="system_name" />
|
||||
<result property="beianNum" column="beian_num" />
|
||||
<result property="safetyLevel" column="safety_level" />
|
||||
<result property="unitName" column="unit_name" />
|
||||
<result property="businessType" column="business_type" />
|
||||
<result property="serviceArea" column="service_area" />
|
||||
<result property="serviceObj" column="service_obj" />
|
||||
<result property="coverageArea" column="coverage_area" />
|
||||
<result property="networkProperty" column="network_property" />
|
||||
<result property="systemHlql" column="system_hlql" />
|
||||
<result property="startTime" column="start_time" />
|
||||
<result property="isLevel" column="is_level" />
|
||||
<result property="systemDjtime" column="system_djtime" />
|
||||
<result property="psQk" column="ps_qk" />
|
||||
<result property="isHavedep" column="is_haveDep" />
|
||||
<result property="systemDjbg" column="system_djbg" />
|
||||
<result property="systemState" column="system_state" />
|
||||
<result property="isStatus" column="isStatus" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="remark" column="remark" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectTcDbxtVo">
|
||||
select id, area_id, system_name, beian_num, safety_level, unit_name, business_type, service_area, service_obj, coverage_area, network_property, system_hlql, start_time, is_level, system_djtime, ps_qk, is_haveDep, system_djbg, system_state, isStatus, create_by, create_time, update_by, update_time, remark from tc_dbxt
|
||||
</sql>
|
||||
|
||||
<select id="selectTcDbxtList" parameterType="TcDbxt" resultMap="TcDbxtResult">
|
||||
<include refid="selectTcDbxtVo"/>
|
||||
<where>
|
||||
<if test="areaId != null and areaId != ''"> and area_id = #{areaId}</if>
|
||||
<if test="systemName != null and systemName != ''"> and system_name like concat('%', #{systemName}, '%')</if>
|
||||
<if test="beianNum != null and beianNum != ''"> and beian_num = #{beianNum}</if>
|
||||
<if test="unitName != null and unitName != ''"> and unit_name like concat('%', #{unitName}, '%')</if>
|
||||
<if test="isStatus != null "> and isStatus = #{isStatus}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectTcDbxtById" parameterType="Long" resultMap="TcDbxtResult">
|
||||
<include refid="selectTcDbxtVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertTcDbxt" parameterType="TcDbxt" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into tc_dbxt
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="areaId != null">area_id,</if>
|
||||
<if test="systemName != null">system_name,</if>
|
||||
<if test="beianNum != null">beian_num,</if>
|
||||
<if test="safetyLevel != null">safety_level,</if>
|
||||
<if test="unitName != null">unit_name,</if>
|
||||
<if test="businessType != null">business_type,</if>
|
||||
<if test="serviceArea != null">service_area,</if>
|
||||
<if test="serviceObj != null">service_obj,</if>
|
||||
<if test="coverageArea != null">coverage_area,</if>
|
||||
<if test="networkProperty != null">network_property,</if>
|
||||
<if test="systemHlql != null">system_hlql,</if>
|
||||
<if test="startTime != null">start_time,</if>
|
||||
<if test="isLevel != null">is_level,</if>
|
||||
<if test="systemDjtime != null">system_djtime,</if>
|
||||
<if test="psQk != null">ps_qk,</if>
|
||||
<if test="isHavedep != null">is_haveDep,</if>
|
||||
<if test="systemDjbg != null">system_djbg,</if>
|
||||
<if test="systemState != null">system_state,</if>
|
||||
<if test="isStatus != null">isStatus,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="remark != null">remark,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="areaId != null">#{areaId},</if>
|
||||
<if test="systemName != null">#{systemName},</if>
|
||||
<if test="beianNum != null">#{beianNum},</if>
|
||||
<if test="safetyLevel != null">#{safetyLevel},</if>
|
||||
<if test="unitName != null">#{unitName},</if>
|
||||
<if test="businessType != null">#{businessType},</if>
|
||||
<if test="serviceArea != null">#{serviceArea},</if>
|
||||
<if test="serviceObj != null">#{serviceObj},</if>
|
||||
<if test="coverageArea != null">#{coverageArea},</if>
|
||||
<if test="networkProperty != null">#{networkProperty},</if>
|
||||
<if test="systemHlql != null">#{systemHlql},</if>
|
||||
<if test="startTime != null">#{startTime},</if>
|
||||
<if test="isLevel != null">#{isLevel},</if>
|
||||
<if test="systemDjtime != null">#{systemDjtime},</if>
|
||||
<if test="psQk != null">#{psQk},</if>
|
||||
<if test="isHavedep != null">#{isHavedep},</if>
|
||||
<if test="systemDjbg != null">#{systemDjbg},</if>
|
||||
<if test="systemState != null">#{systemState},</if>
|
||||
<if test="isStatus != null">#{isStatus},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="remark != null">#{remark},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateTcDbxt" parameterType="TcDbxt">
|
||||
update tc_dbxt
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="areaId != null">area_id = #{areaId},</if>
|
||||
<if test="systemName != null">system_name = #{systemName},</if>
|
||||
<if test="beianNum != null">beian_num = #{beianNum},</if>
|
||||
<if test="safetyLevel != null">safety_level = #{safetyLevel},</if>
|
||||
<if test="unitName != null">unit_name = #{unitName},</if>
|
||||
<if test="businessType != null">business_type = #{businessType},</if>
|
||||
<if test="serviceArea != null">service_area = #{serviceArea},</if>
|
||||
<if test="serviceObj != null">service_obj = #{serviceObj},</if>
|
||||
<if test="coverageArea != null">coverage_area = #{coverageArea},</if>
|
||||
<if test="networkProperty != null">network_property = #{networkProperty},</if>
|
||||
<if test="systemHlql != null">system_hlql = #{systemHlql},</if>
|
||||
<if test="startTime != null">start_time = #{startTime},</if>
|
||||
<if test="isLevel != null">is_level = #{isLevel},</if>
|
||||
<if test="systemDjtime != null">system_djtime = #{systemDjtime},</if>
|
||||
<if test="psQk != null">ps_qk = #{psQk},</if>
|
||||
<if test="isHavedep != null">is_haveDep = #{isHavedep},</if>
|
||||
<if test="systemDjbg != null">system_djbg = #{systemDjbg},</if>
|
||||
<if test="systemState != null">system_state = #{systemState},</if>
|
||||
<if test="isStatus != null">isStatus = #{isStatus},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteTcDbxtById" parameterType="Long">
|
||||
delete from tc_dbxt where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteTcDbxtByIds" parameterType="String">
|
||||
delete from tc_dbxt where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
@ -0,0 +1,87 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.tcZz.mapper.TcFbqkMapper">
|
||||
|
||||
<resultMap type="TcFbqk" id="TcFbqkResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="cityName" column="city_name" />
|
||||
<result property="zb" column="zb" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="remark" column="remark" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectTcFbqkVo">
|
||||
select id, city_name, zb, create_by, create_time, update_by, update_time, remark from tc_fbqk
|
||||
</sql>
|
||||
|
||||
<select id="selectTcFbqkList" parameterType="TcFbqk" resultMap="TcFbqkResult">
|
||||
<include refid="selectTcFbqkVo"/>
|
||||
<where>
|
||||
<if test="id != null "> and id = #{id}</if>
|
||||
<if test="cityName != null and cityName != ''"> and city_name like concat('%', #{cityName}, '%')</if>
|
||||
<if test="zb != null and zb != ''"> and zb = #{zb}</if>
|
||||
<if test="createBy != null and createBy != ''"> and create_by = #{createBy}</if>
|
||||
<if test="params.beginCreateTime != null and params.beginCreateTime != '' and params.endCreateTime != null and params.endCreateTime != ''"> and create_time between #{params.beginCreateTime} and #{params.endCreateTime}</if>
|
||||
<if test="updateBy != null and updateBy != ''"> and update_by = #{updateBy}</if>
|
||||
<if test="params.beginUpdateTime != null and params.beginUpdateTime != '' and params.endUpdateTime != null and params.endUpdateTime != ''"> and update_time between #{params.beginUpdateTime} and #{params.endUpdateTime}</if>
|
||||
<if test="remark != null and remark != ''"> and remark = #{remark}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectTcFbqkById" parameterType="Long" resultMap="TcFbqkResult">
|
||||
<include refid="selectTcFbqkVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertTcFbqk" parameterType="TcFbqk" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into tc_fbqk
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="cityName != null">city_name,</if>
|
||||
<if test="zb != null">zb,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="remark != null">remark,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="cityName != null">#{cityName},</if>
|
||||
<if test="zb != null">#{zb},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="remark != null">#{remark},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateTcFbqk" parameterType="TcFbqk">
|
||||
update tc_fbqk
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="cityName != null">city_name = #{cityName},</if>
|
||||
<if test="zb != null">zb = #{zb},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteTcFbqkById" parameterType="Long">
|
||||
delete from tc_fbqk where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteTcFbqkByIds" parameterType="String">
|
||||
delete from tc_fbqk where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
@ -0,0 +1,96 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.tcZz.mapper.TcIdcdwMapper">
|
||||
|
||||
<resultMap type="TcIdcdw" id="TcIdcdwResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="areaId" column="area_id" />
|
||||
<result property="isStatus" column="isStatus" />
|
||||
<result property="ldcName" column="ldc_name" />
|
||||
<result property="ipData" column="ip_data" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="remark" column="remark" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectTcIdcdwVo">
|
||||
select id, area_id, isStatus, ldc_name, ip_data, create_by, create_time, update_by, update_time, remark from tc_idcdw
|
||||
</sql>
|
||||
|
||||
<select id="selectTcIdcdwList" parameterType="TcIdcdw" resultMap="TcIdcdwResult">
|
||||
<include refid="selectTcIdcdwVo"/>
|
||||
<where>
|
||||
<if test="areaId != null and areaId != ''"> and area_id = #{areaId}</if>
|
||||
<if test="isStatus != null "> and isStatus = #{isStatus}</if>
|
||||
<if test="ldcName != null and ldcName != ''"> and ldc_name like concat('%', #{ldcName}, '%')</if>
|
||||
<if test="ipData != null and ipData != ''"> and ip_data = #{ipData}</if>
|
||||
<if test="createBy != null and createBy != ''"> and create_by = #{createBy}</if>
|
||||
<if test="createTime != null "> and create_time = #{createTime}</if>
|
||||
<if test="updateBy != null and updateBy != ''"> and update_by = #{updateBy}</if>
|
||||
<if test="updateTime != null "> and update_time = #{updateTime}</if>
|
||||
<if test="remark != null and remark != ''"> and remark = #{remark}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectTcIdcdwById" parameterType="Long" resultMap="TcIdcdwResult">
|
||||
<include refid="selectTcIdcdwVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertTcIdcdw" parameterType="TcIdcdw" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into tc_idcdw
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="areaId != null">area_id,</if>
|
||||
<if test="isStatus != null">isStatus,</if>
|
||||
<if test="ldcName != null">ldc_name,</if>
|
||||
<if test="ipData != null">ip_data,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="remark != null">remark,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="areaId != null">#{areaId},</if>
|
||||
<if test="isStatus != null">#{isStatus},</if>
|
||||
<if test="ldcName != null">#{ldcName},</if>
|
||||
<if test="ipData != null">#{ipData},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="remark != null">#{remark},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateTcIdcdw" parameterType="TcIdcdw">
|
||||
update tc_idcdw
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="areaId != null">area_id = #{areaId},</if>
|
||||
<if test="isStatus != null">isStatus = #{isStatus},</if>
|
||||
<if test="ldcName != null">ldc_name = #{ldcName},</if>
|
||||
<if test="ipData != null">ip_data = #{ipData},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteTcIdcdwById" parameterType="Long">
|
||||
delete from tc_idcdw where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteTcIdcdwByIds" parameterType="String">
|
||||
delete from tc_idcdw where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
@ -0,0 +1,111 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.tcZz.mapper.TcJgdwMapper">
|
||||
|
||||
<resultMap type="TcJgdw" id="TcJgdwResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="areaId" column="area_id" />
|
||||
<result property="isStatus" column="isStatus" />
|
||||
<result property="unitName" column="unit_name" />
|
||||
<result property="systemName" column="system_name" />
|
||||
<result property="systemUrl" column="system_url" />
|
||||
<result property="sysyemIp" column="sysyem_ip" />
|
||||
<result property="isFocus" column="is_focus" />
|
||||
<result property="level" column="level" />
|
||||
<result property="type" column="type" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="remark" column="remark" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectTcJgdwVo">
|
||||
select id, area_id, isStatus, unit_name, system_name, system_url, sysyem_ip, is_focus, level, type, create_by, create_time, update_by, update_time, remark from tc_jgdw
|
||||
</sql>
|
||||
|
||||
<select id="selectTcJgdwList" parameterType="TcJgdw" resultMap="TcJgdwResult">
|
||||
<include refid="selectTcJgdwVo"/>
|
||||
<where>
|
||||
<if test="areaId != null and areaId != ''"> and area_id = #{areaId}</if>
|
||||
<if test="isStatus != null "> and isStatus = #{isStatus}</if>
|
||||
<if test="unitName != null and unitName != ''"> and unit_name like concat('%', #{unitName}, '%')</if>
|
||||
<if test="type != null "> and type = #{type}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectTcJgdwById" parameterType="Long" resultMap="TcJgdwResult">
|
||||
<include refid="selectTcJgdwVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertTcJgdw" parameterType="TcJgdw" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into tc_jgdw
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="areaId != null">area_id,</if>
|
||||
<if test="isStatus != null">isStatus,</if>
|
||||
<if test="unitName != null">unit_name,</if>
|
||||
<if test="systemName != null">system_name,</if>
|
||||
<if test="systemUrl != null">system_url,</if>
|
||||
<if test="sysyemIp != null">sysyem_ip,</if>
|
||||
<if test="isFocus != null">is_focus,</if>
|
||||
<if test="level != null">level,</if>
|
||||
<if test="type != null">type,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="remark != null">remark,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="areaId != null">#{areaId},</if>
|
||||
<if test="isStatus != null">#{isStatus},</if>
|
||||
<if test="unitName != null">#{unitName},</if>
|
||||
<if test="systemName != null">#{systemName},</if>
|
||||
<if test="systemUrl != null">#{systemUrl},</if>
|
||||
<if test="sysyemIp != null">#{sysyemIp},</if>
|
||||
<if test="isFocus != null">#{isFocus},</if>
|
||||
<if test="level != null">#{level},</if>
|
||||
<if test="type != null">#{type},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="remark != null">#{remark},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateTcJgdw" parameterType="TcJgdw">
|
||||
update tc_jgdw
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="areaId != null">area_id = #{areaId},</if>
|
||||
<if test="isStatus != null">isStatus = #{isStatus},</if>
|
||||
<if test="unitName != null">unit_name = #{unitName},</if>
|
||||
<if test="systemName != null">system_name = #{systemName},</if>
|
||||
<if test="systemUrl != null">system_url = #{systemUrl},</if>
|
||||
<if test="sysyemIp != null">sysyem_ip = #{sysyemIp},</if>
|
||||
<if test="isFocus != null">is_focus = #{isFocus},</if>
|
||||
<if test="level != null">level = #{level},</if>
|
||||
<if test="type != null">type = #{type},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteTcJgdwById" parameterType="Long">
|
||||
delete from tc_jgdw where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteTcJgdwByIds" parameterType="String">
|
||||
delete from tc_jgdw where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
@ -0,0 +1,92 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.tcZz.mapper.TcMapMapper">
|
||||
|
||||
<resultMap type="TcMap" id="TcMapResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="name" column="name" />
|
||||
<result property="count" column="count" />
|
||||
<result property="type" column="type" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="remark" column="remark" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectTcMapVo">
|
||||
select id, name, count, type, create_by, create_time, update_by, update_time, remark from tc_map
|
||||
</sql>
|
||||
|
||||
<select id="selectTcMapList" parameterType="TcMap" resultMap="TcMapResult">
|
||||
<include refid="selectTcMapVo"/>
|
||||
<where>
|
||||
<if test="id != null "> and id = #{id}</if>
|
||||
<if test="name != null and name != ''"> and name like concat('%', #{name}, '%')</if>
|
||||
<if test="count != null and count != ''"> and count = #{count}</if>
|
||||
<if test="type != null "> and type = #{type}</if>
|
||||
<if test="createBy != null and createBy != ''"> and create_by = #{createBy}</if>
|
||||
<if test="params.beginCreateTime != null and params.beginCreateTime != '' and params.endCreateTime != null and params.endCreateTime != ''"> and create_time between #{params.beginCreateTime} and #{params.endCreateTime}</if>
|
||||
<if test="updateBy != null and updateBy != ''"> and update_by = #{updateBy}</if>
|
||||
<if test="params.beginUpdateTime != null and params.beginUpdateTime != '' and params.endUpdateTime != null and params.endUpdateTime != ''"> and update_time between #{params.beginUpdateTime} and #{params.endUpdateTime}</if>
|
||||
<if test="remark != null and remark != ''"> and remark = #{remark}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectTcMapById" parameterType="Long" resultMap="TcMapResult">
|
||||
<include refid="selectTcMapVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertTcMap" parameterType="TcMap" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into tc_map
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="name != null">name,</if>
|
||||
<if test="count != null">count,</if>
|
||||
<if test="type != null">type,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="remark != null">remark,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="name != null">#{name},</if>
|
||||
<if test="count != null">#{count},</if>
|
||||
<if test="type != null">#{type},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="remark != null">#{remark},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateTcMap" parameterType="TcMap">
|
||||
update tc_map
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="name != null">name = #{name},</if>
|
||||
<if test="count != null">count = #{count},</if>
|
||||
<if test="type != null">type = #{type},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteTcMapById" parameterType="Long">
|
||||
delete from tc_map where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteTcMapByIds" parameterType="String">
|
||||
delete from tc_map where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
@ -0,0 +1,97 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.tcZz.mapper.TcSdtbMapper">
|
||||
|
||||
<resultMap type="TcSdtb" id="TcSdtbResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="area" column="area" />
|
||||
<result property="isStatus" column="isStatus" />
|
||||
<result property="fileName" column="file_name" />
|
||||
<result property="fileUrl" column="file_url" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="remark" column="remark" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectTcSdtbVo">
|
||||
select id, area, isStatus, file_name, file_url, create_by, create_time, update_by, update_time, remark from tc_sdtb
|
||||
</sql>
|
||||
|
||||
<select id="selectTcSdtbList" parameterType="TcSdtb" resultMap="TcSdtbResult">
|
||||
<include refid="selectTcSdtbVo"/>
|
||||
<where>
|
||||
<if test="id != null "> and id = #{id}</if>
|
||||
<if test="area != null "> and area = #{area}</if>
|
||||
<if test="isStatus != null "> and isStatus = #{isStatus}</if>
|
||||
<if test="fileName != null and fileName != ''"> and file_name like concat('%', #{fileName}, '%')</if>
|
||||
<if test="fileUrl != null and fileUrl != ''"> and file_url = #{fileUrl}</if>
|
||||
<if test="createBy != null and createBy != ''"> and create_by = #{createBy}</if>
|
||||
<if test="params.beginCreateTime != null and params.beginCreateTime != '' and params.endCreateTime != null and params.endCreateTime != ''"> and create_time between #{params.beginCreateTime} and #{params.endCreateTime}</if>
|
||||
<if test="updateBy != null and updateBy != ''"> and update_by = #{updateBy}</if>
|
||||
<if test="params.beginUpdateTime != null and params.beginUpdateTime != '' and params.endUpdateTime != null and params.endUpdateTime != ''"> and update_time between #{params.beginUpdateTime} and #{params.endUpdateTime}</if>
|
||||
<if test="remark != null and remark != ''"> and remark = #{remark}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectTcSdtbById" parameterType="Long" resultMap="TcSdtbResult">
|
||||
<include refid="selectTcSdtbVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertTcSdtb" parameterType="TcSdtb" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into tc_sdtb
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="area != null">area,</if>
|
||||
<if test="isStatus != null">isStatus,</if>
|
||||
<if test="fileName != null">file_name,</if>
|
||||
<if test="fileUrl != null">file_url,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="remark != null">remark,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="area != null">#{area},</if>
|
||||
<if test="isStatus != null">#{isStatus},</if>
|
||||
<if test="fileName != null">#{fileName},</if>
|
||||
<if test="fileUrl != null">#{fileUrl},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="remark != null">#{remark},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateTcSdtb" parameterType="TcSdtb">
|
||||
update tc_sdtb
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="area != null">area = #{area},</if>
|
||||
<if test="isStatus != null">isStatus = #{isStatus},</if>
|
||||
<if test="fileName != null">file_name = #{fileName},</if>
|
||||
<if test="fileUrl != null">file_url = #{fileUrl},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteTcSdtbById" parameterType="Long">
|
||||
delete from tc_sdtb where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteTcSdtbByIds" parameterType="String">
|
||||
delete from tc_sdtb where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
@ -0,0 +1,87 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.tcZz.mapper.TcSgjipTop5Mapper">
|
||||
|
||||
<resultMap type="TcSgjipTop5" id="TcSgjipTop5Result">
|
||||
<result property="id" column="id" />
|
||||
<result property="sAttackIp" column="s_attack_ip" />
|
||||
<result property="sAttackCount" column="s_attack_count" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="remark" column="remark" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectTcSgjipTop5Vo">
|
||||
select id, s_attack_ip, s_attack_count, create_by, create_time, update_by, update_time, remark from tc_sgjip_top5
|
||||
</sql>
|
||||
|
||||
<select id="selectTcSgjipTop5List" parameterType="TcSgjipTop5" resultMap="TcSgjipTop5Result">
|
||||
<include refid="selectTcSgjipTop5Vo"/>
|
||||
<where>
|
||||
<if test="id != null "> and id = #{id}</if>
|
||||
<if test="sAttackIp != null and sAttackIp != ''"> and s_attack_ip = #{sAttackIp}</if>
|
||||
<if test="sAttackCount != null and sAttackCount != ''"> and s_attack_count = #{sAttackCount}</if>
|
||||
<if test="createBy != null and createBy != ''"> and create_by = #{createBy}</if>
|
||||
<if test="params.beginCreateTime != null and params.beginCreateTime != '' and params.endCreateTime != null and params.endCreateTime != ''"> and create_time between #{params.beginCreateTime} and #{params.endCreateTime}</if>
|
||||
<if test="updateBy != null and updateBy != ''"> and update_by = #{updateBy}</if>
|
||||
<if test="params.beginUpdateTime != null and params.beginUpdateTime != '' and params.endUpdateTime != null and params.endUpdateTime != ''"> and update_time between #{params.beginUpdateTime} and #{params.endUpdateTime}</if>
|
||||
<if test="remark != null and remark != ''"> and remark = #{remark}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectTcSgjipTop5ById" parameterType="Long" resultMap="TcSgjipTop5Result">
|
||||
<include refid="selectTcSgjipTop5Vo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertTcSgjipTop5" parameterType="TcSgjipTop5" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into tc_sgjip_top5
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="sAttackIp != null">s_attack_ip,</if>
|
||||
<if test="sAttackCount != null">s_attack_count,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="remark != null">remark,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="sAttackIp != null">#{sAttackIp},</if>
|
||||
<if test="sAttackCount != null">#{sAttackCount},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="remark != null">#{remark},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateTcSgjipTop5" parameterType="TcSgjipTop5">
|
||||
update tc_sgjip_top5
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="sAttackIp != null">s_attack_ip = #{sAttackIp},</if>
|
||||
<if test="sAttackCount != null">s_attack_count = #{sAttackCount},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteTcSgjipTop5ById" parameterType="Long">
|
||||
delete from tc_sgjip_top5 where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteTcSgjipTop5ByIds" parameterType="String">
|
||||
delete from tc_sgjip_top5 where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
@ -0,0 +1,112 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.tcZz.mapper.TcTbczMapper">
|
||||
|
||||
<resultMap type="TcTbcz" id="TcTbczResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="areaId" column="area_id" />
|
||||
<result property="isStatus" column="isStatus" />
|
||||
<result property="unitName" column="unit_name" />
|
||||
<result property="ipAddress" column="ip_address" />
|
||||
<result property="czState" column="cz_state" />
|
||||
<result property="fileName" column="file_name" />
|
||||
<result property="fileUrl" column="file_url" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="remark" column="remark" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectTcTbczVo">
|
||||
select id, area_id, isStatus, unit_name, ip_address, cz_state, file_name, file_url, create_by, create_time, update_by, update_time, remark from tc_tbcz
|
||||
</sql>
|
||||
|
||||
<select id="selectTcTbczList" parameterType="TcTbcz" resultMap="TcTbczResult">
|
||||
<include refid="selectTcTbczVo"/>
|
||||
<where>
|
||||
<if test="id != null "> and id = #{id}</if>
|
||||
<if test="areaId != null and areaId != ''"> and area_id = #{areaId}</if>
|
||||
<if test="isStatus != null "> and isStatus = #{isStatus}</if>
|
||||
<if test="unitName != null and unitName != ''"> and unit_name like concat('%', #{unitName}, '%')</if>
|
||||
<if test="ipAddress != null and ipAddress != ''"> and ip_address = #{ipAddress}</if>
|
||||
<if test="czState != null and czState != ''"> and cz_state = #{czState}</if>
|
||||
<if test="fileName != null and fileName != ''"> and file_name like concat('%', #{fileName}, '%')</if>
|
||||
<if test="fileUrl != null and fileUrl != ''"> and file_url = #{fileUrl}</if>
|
||||
<if test="createBy != null and createBy != ''"> and create_by = #{createBy}</if>
|
||||
<if test="params.beginCreateTime != null and params.beginCreateTime != '' and params.endCreateTime != null and params.endCreateTime != ''"> and create_time between #{params.beginCreateTime} and #{params.endCreateTime}</if>
|
||||
<if test="updateBy != null and updateBy != ''"> and update_by = #{updateBy}</if>
|
||||
<if test="params.beginUpdateTime != null and params.beginUpdateTime != '' and params.endUpdateTime != null and params.endUpdateTime != ''"> and update_time between #{params.beginUpdateTime} and #{params.endUpdateTime}</if>
|
||||
<if test="remark != null and remark != ''"> and remark = #{remark}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectTcTbczById" parameterType="Long" resultMap="TcTbczResult">
|
||||
<include refid="selectTcTbczVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertTcTbcz" parameterType="TcTbcz" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into tc_tbcz
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="areaId != null">area_id,</if>
|
||||
<if test="isStatus != null">isStatus,</if>
|
||||
<if test="unitName != null">unit_name,</if>
|
||||
<if test="ipAddress != null">ip_address,</if>
|
||||
<if test="czState != null">cz_state,</if>
|
||||
<if test="fileName != null">file_name,</if>
|
||||
<if test="fileUrl != null">file_url,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="remark != null">remark,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="areaId != null">#{areaId},</if>
|
||||
<if test="isStatus != null">#{isStatus},</if>
|
||||
<if test="unitName != null">#{unitName},</if>
|
||||
<if test="ipAddress != null">#{ipAddress},</if>
|
||||
<if test="czState != null">#{czState},</if>
|
||||
<if test="fileName != null">#{fileName},</if>
|
||||
<if test="fileUrl != null">#{fileUrl},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="remark != null">#{remark},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateTcTbcz" parameterType="TcTbcz">
|
||||
update tc_tbcz
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="areaId != null">area_id = #{areaId},</if>
|
||||
<if test="isStatus != null">isStatus = #{isStatus},</if>
|
||||
<if test="unitName != null">unit_name = #{unitName},</if>
|
||||
<if test="ipAddress != null">ip_address = #{ipAddress},</if>
|
||||
<if test="czState != null">cz_state = #{czState},</if>
|
||||
<if test="fileName != null">file_name = #{fileName},</if>
|
||||
<if test="fileUrl != null">file_url = #{fileUrl},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteTcTbczById" parameterType="Long">
|
||||
delete from tc_tbcz where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteTcTbczByIds" parameterType="String">
|
||||
delete from tc_tbcz where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
@ -0,0 +1,102 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.tcZz.mapper.TcTbwcMapper">
|
||||
|
||||
<resultMap type="TcTbwc" id="TcTbwcResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="timeName" column="time_name" />
|
||||
<result property="tbCount" column="tb_count" />
|
||||
<result property="overCount" column="over_count" />
|
||||
<result property="overScale" column="over_scale" />
|
||||
<result property="year" column="year" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="remark" column="remark" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectTcTbwcVo">
|
||||
select id, time_name, tb_count, over_count, over_scale, year, create_by, create_time, update_by, update_time, remark from tc_tbwc
|
||||
</sql>
|
||||
|
||||
<select id="selectTcTbwcList" parameterType="TcTbwc" resultMap="TcTbwcResult">
|
||||
<include refid="selectTcTbwcVo"/>
|
||||
<where>
|
||||
<if test="id != null "> and id = #{id}</if>
|
||||
<if test="timeName != null and timeName != ''"> and time_name like concat('%', #{timeName}, '%')</if>
|
||||
<if test="tbCount != null and tbCount != ''"> and tb_count = #{tbCount}</if>
|
||||
<if test="overCount != null and overCount != ''"> and over_count = #{overCount}</if>
|
||||
<if test="overScale != null and overScale != ''"> and over_scale = #{overScale}</if>
|
||||
<if test="year != null "> and year = #{year}</if>
|
||||
<if test="createBy != null and createBy != ''"> and create_by = #{createBy}</if>
|
||||
<if test="params.beginCreateTime != null and params.beginCreateTime != '' and params.endCreateTime != null and params.endCreateTime != ''"> and create_time between #{params.beginCreateTime} and #{params.endCreateTime}</if>
|
||||
<if test="updateBy != null and updateBy != ''"> and update_by = #{updateBy}</if>
|
||||
<if test="params.beginUpdateTime != null and params.beginUpdateTime != '' and params.endUpdateTime != null and params.endUpdateTime != ''"> and update_time between #{params.beginUpdateTime} and #{params.endUpdateTime}</if>
|
||||
<if test="remark != null and remark != ''"> and remark = #{remark}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectTcTbwcById" parameterType="Long" resultMap="TcTbwcResult">
|
||||
<include refid="selectTcTbwcVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertTcTbwc" parameterType="TcTbwc" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into tc_tbwc
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="timeName != null">time_name,</if>
|
||||
<if test="tbCount != null">tb_count,</if>
|
||||
<if test="overCount != null">over_count,</if>
|
||||
<if test="overScale != null">over_scale,</if>
|
||||
<if test="year != null">year,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="remark != null">remark,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="timeName != null">#{timeName},</if>
|
||||
<if test="tbCount != null">#{tbCount},</if>
|
||||
<if test="overCount != null">#{overCount},</if>
|
||||
<if test="overScale != null">#{overScale},</if>
|
||||
<if test="year != null">#{year},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="remark != null">#{remark},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateTcTbwc" parameterType="TcTbwc">
|
||||
update tc_tbwc
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="timeName != null">time_name = #{timeName},</if>
|
||||
<if test="tbCount != null">tb_count = #{tbCount},</if>
|
||||
<if test="overCount != null">over_count = #{overCount},</if>
|
||||
<if test="overScale != null">over_scale = #{overScale},</if>
|
||||
<if test="year != null">year = #{year},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteTcTbwcById" parameterType="Long">
|
||||
delete from tc_tbwc where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteTcTbwcByIds" parameterType="String">
|
||||
delete from tc_tbwc where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
@ -0,0 +1,97 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.tcZz.mapper.TcWljgtjMapper">
|
||||
|
||||
<resultMap type="TcWljgtj" id="TcWljgtjResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="netAttack" column="net_attack" />
|
||||
<result property="rqAttack" column="rq_attack" />
|
||||
<result property="smAttack" column="sm_attack" />
|
||||
<result property="bdAttack" column="bd_attack" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="remark" column="remark" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectTcWljgtjVo">
|
||||
select id, net_attack, rq_attack, sm_attack, bd_attack, create_by, create_time, update_by, update_time, remark from tc_wljgtj
|
||||
</sql>
|
||||
|
||||
<select id="selectTcWljgtjList" parameterType="TcWljgtj" resultMap="TcWljgtjResult">
|
||||
<include refid="selectTcWljgtjVo"/>
|
||||
<where>
|
||||
<if test="id != null "> and id = #{id}</if>
|
||||
<if test="netAttack != null and netAttack != ''"> and net_attack = #{netAttack}</if>
|
||||
<if test="rqAttack != null and rqAttack != ''"> and rq_attack = #{rqAttack}</if>
|
||||
<if test="smAttack != null and smAttack != ''"> and sm_attack = #{smAttack}</if>
|
||||
<if test="bdAttack != null and bdAttack != ''"> and bd_attack = #{bdAttack}</if>
|
||||
<if test="createBy != null and createBy != ''"> and create_by = #{createBy}</if>
|
||||
<if test="params.beginCreateTime != null and params.beginCreateTime != '' and params.endCreateTime != null and params.endCreateTime != ''"> and create_time between #{params.beginCreateTime} and #{params.endCreateTime}</if>
|
||||
<if test="updateBy != null and updateBy != ''"> and update_by = #{updateBy}</if>
|
||||
<if test="params.beginUpdateTime != null and params.beginUpdateTime != '' and params.endUpdateTime != null and params.endUpdateTime != ''"> and update_time between #{params.beginUpdateTime} and #{params.endUpdateTime}</if>
|
||||
<if test="remark != null and remark != ''"> and remark = #{remark}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectTcWljgtjById" parameterType="Long" resultMap="TcWljgtjResult">
|
||||
<include refid="selectTcWljgtjVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertTcWljgtj" parameterType="TcWljgtj" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into tc_wljgtj
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="netAttack != null">net_attack,</if>
|
||||
<if test="rqAttack != null">rq_attack,</if>
|
||||
<if test="smAttack != null">sm_attack,</if>
|
||||
<if test="bdAttack != null">bd_attack,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="remark != null">remark,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="netAttack != null">#{netAttack},</if>
|
||||
<if test="rqAttack != null">#{rqAttack},</if>
|
||||
<if test="smAttack != null">#{smAttack},</if>
|
||||
<if test="bdAttack != null">#{bdAttack},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="remark != null">#{remark},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateTcWljgtj" parameterType="TcWljgtj">
|
||||
update tc_wljgtj
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="netAttack != null">net_attack = #{netAttack},</if>
|
||||
<if test="rqAttack != null">rq_attack = #{rqAttack},</if>
|
||||
<if test="smAttack != null">sm_attack = #{smAttack},</if>
|
||||
<if test="bdAttack != null">bd_attack = #{bdAttack},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteTcWljgtjById" parameterType="Long">
|
||||
delete from tc_wljgtj where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteTcWljgtjByIds" parameterType="String">
|
||||
delete from tc_wljgtj where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
@ -0,0 +1,105 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.tcZz.mapper.TcXtjcMapper">
|
||||
|
||||
<resultMap type="TcXtjc" id="TcXtjcResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="areaId" column="area_id" />
|
||||
<result property="isStatus" column="isStatus" />
|
||||
<result property="unitName" column="unit_name" />
|
||||
<result property="systemName" column="system_name" />
|
||||
<result property="systemUrl" column="system_url" />
|
||||
<result property="sysyemIp" column="sysyem_ip" />
|
||||
<result property="isFocus" column="is_focus" />
|
||||
<result property="level" column="level" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="remark" column="remark" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectTcXtjcVo">
|
||||
select id, area_id, isStatus, unit_name, system_name, system_url, sysyem_ip, is_focus, level, create_by, create_time, update_by, update_time, remark from tc_xtjc
|
||||
</sql>
|
||||
|
||||
<select id="selectTcXtjcList" parameterType="TcXtjc" resultMap="TcXtjcResult">
|
||||
<include refid="selectTcXtjcVo"/>
|
||||
<where>
|
||||
<if test="areaId != null and areaId != ''"> and area_id = #{areaId}</if>
|
||||
<if test="isStatus != null "> and isStatus = #{isStatus}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectTcXtjcById" parameterType="Long" resultMap="TcXtjcResult">
|
||||
<include refid="selectTcXtjcVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertTcXtjc" parameterType="TcXtjc" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into tc_xtjc
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="areaId != null">area_id,</if>
|
||||
<if test="isStatus != null">isStatus,</if>
|
||||
<if test="unitName != null">unit_name,</if>
|
||||
<if test="systemName != null">system_name,</if>
|
||||
<if test="systemUrl != null">system_url,</if>
|
||||
<if test="sysyemIp != null">sysyem_ip,</if>
|
||||
<if test="isFocus != null">is_focus,</if>
|
||||
<if test="level != null">level,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="remark != null">remark,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="areaId != null">#{areaId},</if>
|
||||
<if test="isStatus != null">#{isStatus},</if>
|
||||
<if test="unitName != null">#{unitName},</if>
|
||||
<if test="systemName != null">#{systemName},</if>
|
||||
<if test="systemUrl != null">#{systemUrl},</if>
|
||||
<if test="sysyemIp != null">#{sysyemIp},</if>
|
||||
<if test="isFocus != null">#{isFocus},</if>
|
||||
<if test="level != null">#{level},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="remark != null">#{remark},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateTcXtjc" parameterType="TcXtjc">
|
||||
update tc_xtjc
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="areaId != null">area_id = #{areaId},</if>
|
||||
<if test="isStatus != null">isStatus = #{isStatus},</if>
|
||||
<if test="unitName != null">unit_name = #{unitName},</if>
|
||||
<if test="systemName != null">system_name = #{systemName},</if>
|
||||
<if test="systemUrl != null">system_url = #{systemUrl},</if>
|
||||
<if test="sysyemIp != null">sysyem_ip = #{sysyemIp},</if>
|
||||
<if test="isFocus != null">is_focus = #{isFocus},</if>
|
||||
<if test="level != null">level = #{level},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteTcXtjcById" parameterType="Long">
|
||||
delete from tc_xtjc where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteTcXtjcByIds" parameterType="String">
|
||||
delete from tc_xtjc where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
@ -0,0 +1,93 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.tcZz.mapper.TcZfwzMapper">
|
||||
|
||||
<resultMap type="TcZfwz" id="TcZfwzResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="areaId" column="area_id" />
|
||||
<result property="isStatus" column="isStatus" />
|
||||
<result property="webUrl" column="web_url" />
|
||||
<result property="assetName" column="asset_name" />
|
||||
<result property="assetLevel" column="asset_level" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="remark" column="remark" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectTcZfwzVo">
|
||||
select id, area_id, isStatus, web_url, asset_name, asset_level, create_by, create_time, update_by, update_time, remark from tc_zfwz
|
||||
</sql>
|
||||
|
||||
<select id="selectTcZfwzList" parameterType="TcZfwz" resultMap="TcZfwzResult">
|
||||
<include refid="selectTcZfwzVo"/>
|
||||
<where>
|
||||
<if test="areaId != null and areaId != ''"> and area_id = #{areaId}</if>
|
||||
<if test="isStatus != null "> and isStatus = #{isStatus}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectTcZfwzById" parameterType="Long" resultMap="TcZfwzResult">
|
||||
<include refid="selectTcZfwzVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertTcZfwz" parameterType="TcZfwz" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into tc_zfwz
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="areaId != null">area_id,</if>
|
||||
<if test="isStatus != null">isStatus,</if>
|
||||
<if test="webUrl != null">web_url,</if>
|
||||
<if test="assetName != null">asset_name,</if>
|
||||
<if test="assetLevel != null">asset_level,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="remark != null">remark,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="areaId != null">#{areaId},</if>
|
||||
<if test="isStatus != null">#{isStatus},</if>
|
||||
<if test="webUrl != null">#{webUrl},</if>
|
||||
<if test="assetName != null">#{assetName},</if>
|
||||
<if test="assetLevel != null">#{assetLevel},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="remark != null">#{remark},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateTcZfwz" parameterType="TcZfwz">
|
||||
update tc_zfwz
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="areaId != null">area_id = #{areaId},</if>
|
||||
<if test="isStatus != null">isStatus = #{isStatus},</if>
|
||||
<if test="webUrl != null">web_url = #{webUrl},</if>
|
||||
<if test="assetName != null">asset_name = #{assetName},</if>
|
||||
<if test="assetLevel != null">asset_level = #{assetLevel},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteTcZfwzById" parameterType="Long">
|
||||
delete from tc_zfwz where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteTcZfwzByIds" parameterType="String">
|
||||
delete from tc_zfwz where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
@ -0,0 +1,117 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.tcZz.mapper.TcZxyhMapper">
|
||||
|
||||
<resultMap type="TcZxyh" id="TcZxyhResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="areaId" column="area_id" />
|
||||
<result property="isStatus" column="isStatus" />
|
||||
<result property="unitName" column="unit_name" />
|
||||
<result property="yhName" column="yh_name" />
|
||||
<result property="level" column="level" />
|
||||
<result property="yhLy" column="yh_ly" />
|
||||
<result property="fileName" column="file_name" />
|
||||
<result property="fileUrl" column="file_url" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="remark" column="remark" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectTcZxyhVo">
|
||||
select id, area_id, isStatus, unit_name, yh_name, level, yh_ly, file_name, file_url, create_by, create_time, update_by, update_time, remark from tc_zxyh
|
||||
</sql>
|
||||
|
||||
<select id="selectTcZxyhList" parameterType="TcZxyh" resultMap="TcZxyhResult">
|
||||
<include refid="selectTcZxyhVo"/>
|
||||
<where>
|
||||
<if test="id != null "> and id = #{id}</if>
|
||||
<if test="areaId != null and areaId != ''"> and area_id = #{areaId}</if>
|
||||
<if test="isStatus != null "> and isStatus = #{isStatus}</if>
|
||||
<if test="unitName != null and unitName != ''"> and unit_name like concat('%', #{unitName}, '%')</if>
|
||||
<if test="yhName != null and yhName != ''"> and yh_name like concat('%', #{yhName}, '%')</if>
|
||||
<if test="level != null and level != ''"> and level = #{level}</if>
|
||||
<if test="yhLy != null and yhLy != ''"> and yh_ly = #{yhLy}</if>
|
||||
<if test="fileName != null and fileName != ''"> and file_name like concat('%', #{fileName}, '%')</if>
|
||||
<if test="fileUrl != null and fileUrl != ''"> and file_url = #{fileUrl}</if>
|
||||
<if test="createBy != null and createBy != ''"> and create_by = #{createBy}</if>
|
||||
<if test="params.beginCreateTime != null and params.beginCreateTime != '' and params.endCreateTime != null and params.endCreateTime != ''"> and create_time between #{params.beginCreateTime} and #{params.endCreateTime}</if>
|
||||
<if test="updateBy != null and updateBy != ''"> and update_by = #{updateBy}</if>
|
||||
<if test="params.beginUpdateTime != null and params.beginUpdateTime != '' and params.endUpdateTime != null and params.endUpdateTime != ''"> and update_time between #{params.beginUpdateTime} and #{params.endUpdateTime}</if>
|
||||
<if test="remark != null and remark != ''"> and remark = #{remark}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectTcZxyhById" parameterType="Long" resultMap="TcZxyhResult">
|
||||
<include refid="selectTcZxyhVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertTcZxyh" parameterType="TcZxyh" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into tc_zxyh
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="areaId != null">area_id,</if>
|
||||
<if test="isStatus != null">isStatus,</if>
|
||||
<if test="unitName != null">unit_name,</if>
|
||||
<if test="yhName != null">yh_name,</if>
|
||||
<if test="level != null">level,</if>
|
||||
<if test="yhLy != null">yh_ly,</if>
|
||||
<if test="fileName != null">file_name,</if>
|
||||
<if test="fileUrl != null">file_url,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="remark != null">remark,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="areaId != null">#{areaId},</if>
|
||||
<if test="isStatus != null">#{isStatus},</if>
|
||||
<if test="unitName != null">#{unitName},</if>
|
||||
<if test="yhName != null">#{yhName},</if>
|
||||
<if test="level != null">#{level},</if>
|
||||
<if test="yhLy != null">#{yhLy},</if>
|
||||
<if test="fileName != null">#{fileName},</if>
|
||||
<if test="fileUrl != null">#{fileUrl},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="remark != null">#{remark},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateTcZxyh" parameterType="TcZxyh">
|
||||
update tc_zxyh
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="areaId != null">area_id = #{areaId},</if>
|
||||
<if test="isStatus != null">isStatus = #{isStatus},</if>
|
||||
<if test="unitName != null">unit_name = #{unitName},</if>
|
||||
<if test="yhName != null">yh_name = #{yhName},</if>
|
||||
<if test="level != null">level = #{level},</if>
|
||||
<if test="yhLy != null">yh_ly = #{yhLy},</if>
|
||||
<if test="fileName != null">file_name = #{fileName},</if>
|
||||
<if test="fileUrl != null">file_url = #{fileUrl},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteTcZxyhById" parameterType="Long">
|
||||
delete from tc_zxyh where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteTcZxyhByIds" parameterType="String">
|
||||
delete from tc_zxyh where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
Loading…
Reference in new issue