Merge branch 'Lvtianfang' of http://39.101.188.84:8000/suzhou-jichuang-lanhai/tcZz-java
commit
be3013edd2
@ -0,0 +1,104 @@
|
||||
package com.ruoyi.tcZz.controller;
|
||||
|
||||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.tcZz.domain.TcDtsx;
|
||||
import com.ruoyi.tcZz.service.ITcDtsxService;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 动态筛选Controller
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/tcZz/netWorkYq/dtsx")
|
||||
public class TcDtsxController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private ITcDtsxService tcDtsxService;
|
||||
|
||||
/**
|
||||
* 查询动态筛选列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:dtsx:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(TcDtsx tcDtsx)
|
||||
{
|
||||
startPage();
|
||||
List<TcDtsx> list = tcDtsxService.selectTcDtsxList(tcDtsx);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出动态筛选列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:dtsx:export')")
|
||||
@Log(title = "动态筛选", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, TcDtsx tcDtsx)
|
||||
{
|
||||
List<TcDtsx> list = tcDtsxService.selectTcDtsxList(tcDtsx);
|
||||
ExcelUtil<TcDtsx> util = new ExcelUtil<TcDtsx>(TcDtsx.class);
|
||||
util.exportExcel(response, list, "动态筛选数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取动态筛选详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:dtsx:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(tcDtsxService.selectTcDtsxById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增动态筛选
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:dtsx:add')")
|
||||
@Log(title = "动态筛选", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody TcDtsx tcDtsx)
|
||||
{
|
||||
return toAjax(tcDtsxService.insertTcDtsx(tcDtsx));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改动态筛选
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:dtsx:edit')")
|
||||
@Log(title = "动态筛选", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody TcDtsx tcDtsx)
|
||||
{
|
||||
return toAjax(tcDtsxService.updateTcDtsx(tcDtsx));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除动态筛选
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:dtsx:remove')")
|
||||
@Log(title = "动态筛选", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(tcDtsxService.deleteTcDtsxByIds(ids));
|
||||
}
|
||||
}
|
@ -0,0 +1,104 @@
|
||||
package com.ruoyi.tcZz.controller;
|
||||
|
||||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.tcZz.domain.TcMtlx;
|
||||
import com.ruoyi.tcZz.service.ITcMtlxService;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 媒体类型Controller
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/tcZz/netWorkYq/mtlx")
|
||||
public class TcMtlxController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private ITcMtlxService tcMtlxService;
|
||||
|
||||
/**
|
||||
* 查询媒体类型列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:mtlx:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(TcMtlx tcMtlx)
|
||||
{
|
||||
startPage();
|
||||
List<TcMtlx> list = tcMtlxService.selectTcMtlxList(tcMtlx);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出媒体类型列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:mtlx:export')")
|
||||
@Log(title = "媒体类型", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, TcMtlx tcMtlx)
|
||||
{
|
||||
List<TcMtlx> list = tcMtlxService.selectTcMtlxList(tcMtlx);
|
||||
ExcelUtil<TcMtlx> util = new ExcelUtil<TcMtlx>(TcMtlx.class);
|
||||
util.exportExcel(response, list, "媒体类型数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取媒体类型详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:mtlx:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(tcMtlxService.selectTcMtlxById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增媒体类型
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:mtlx:add')")
|
||||
@Log(title = "媒体类型", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody TcMtlx tcMtlx)
|
||||
{
|
||||
return toAjax(tcMtlxService.insertTcMtlx(tcMtlx));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改媒体类型
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:mtlx:edit')")
|
||||
@Log(title = "媒体类型", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody TcMtlx tcMtlx)
|
||||
{
|
||||
return toAjax(tcMtlxService.updateTcMtlx(tcMtlx));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除媒体类型
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:mtlx:remove')")
|
||||
@Log(title = "媒体类型", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(tcMtlxService.deleteTcMtlxByIds(ids));
|
||||
}
|
||||
}
|
@ -0,0 +1,104 @@
|
||||
package com.ruoyi.tcZz.controller;
|
||||
|
||||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.tcZz.domain.TcSslx;
|
||||
import com.ruoyi.tcZz.service.ITcSslxService;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 涉事类型Controller
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/tcZz/netWorkYq/sslx")
|
||||
public class TcSslxController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private ITcSslxService tcSslxService;
|
||||
|
||||
/**
|
||||
* 查询涉事类型列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:sslx:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(TcSslx tcSslx)
|
||||
{
|
||||
startPage();
|
||||
List<TcSslx> list = tcSslxService.selectTcSslxList(tcSslx);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出涉事类型列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:sslx:export')")
|
||||
@Log(title = "涉事类型", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, TcSslx tcSslx)
|
||||
{
|
||||
List<TcSslx> list = tcSslxService.selectTcSslxList(tcSslx);
|
||||
ExcelUtil<TcSslx> util = new ExcelUtil<TcSslx>(TcSslx.class);
|
||||
util.exportExcel(response, list, "涉事类型数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取涉事类型详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:sslx:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(tcSslxService.selectTcSslxById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增涉事类型
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:sslx:add')")
|
||||
@Log(title = "涉事类型", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody TcSslx tcSslx)
|
||||
{
|
||||
return toAjax(tcSslxService.insertTcSslx(tcSslx));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改涉事类型
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:sslx:edit')")
|
||||
@Log(title = "涉事类型", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody TcSslx tcSslx)
|
||||
{
|
||||
return toAjax(tcSslxService.updateTcSslx(tcSslx));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除涉事类型
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:sslx:remove')")
|
||||
@Log(title = "涉事类型", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(tcSslxService.deleteTcSslxByIds(ids));
|
||||
}
|
||||
}
|
@ -0,0 +1,104 @@
|
||||
package com.ruoyi.tcZz.controller;
|
||||
|
||||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.tcZz.domain.TcYqbg;
|
||||
import com.ruoyi.tcZz.service.ITcYqbgService;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 舆情报告Controller
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/tcZz/netWorkYq/yqbg")
|
||||
public class TcYqbgController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private ITcYqbgService tcYqbgService;
|
||||
|
||||
/**
|
||||
* 查询舆情报告列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqbg:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(TcYqbg tcYqbg)
|
||||
{
|
||||
startPage();
|
||||
List<TcYqbg> list = tcYqbgService.selectTcYqbgList(tcYqbg);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出舆情报告列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqbg:export')")
|
||||
@Log(title = "舆情报告", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, TcYqbg tcYqbg)
|
||||
{
|
||||
List<TcYqbg> list = tcYqbgService.selectTcYqbgList(tcYqbg);
|
||||
ExcelUtil<TcYqbg> util = new ExcelUtil<TcYqbg>(TcYqbg.class);
|
||||
util.exportExcel(response, list, "舆情报告数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取舆情报告详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqbg:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(tcYqbgService.selectTcYqbgById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增舆情报告
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqbg:add')")
|
||||
@Log(title = "舆情报告", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody TcYqbg tcYqbg)
|
||||
{
|
||||
return toAjax(tcYqbgService.insertTcYqbg(tcYqbg));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改舆情报告
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqbg:edit')")
|
||||
@Log(title = "舆情报告", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody TcYqbg tcYqbg)
|
||||
{
|
||||
return toAjax(tcYqbgService.updateTcYqbg(tcYqbg));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除舆情报告
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqbg:remove')")
|
||||
@Log(title = "舆情报告", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(tcYqbgService.deleteTcYqbgByIds(ids));
|
||||
}
|
||||
}
|
@ -0,0 +1,104 @@
|
||||
package com.ruoyi.tcZz.controller;
|
||||
|
||||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.tcZz.domain.TcYqxxlnum;
|
||||
import com.ruoyi.tcZz.service.ITcYqxxlnumService;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 舆情信息量统计Controller
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/tcZz/netWorkYq/yqxxlnum")
|
||||
public class TcYqxxlnumController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private ITcYqxxlnumService tcYqxxlnumService;
|
||||
|
||||
/**
|
||||
* 查询舆情信息量统计列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqxxlnum:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(TcYqxxlnum tcYqxxlnum)
|
||||
{
|
||||
startPage();
|
||||
List<TcYqxxlnum> list = tcYqxxlnumService.selectTcYqxxlnumList(tcYqxxlnum);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出舆情信息量统计列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqxxlnum:export')")
|
||||
@Log(title = "舆情信息量统计", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, TcYqxxlnum tcYqxxlnum)
|
||||
{
|
||||
List<TcYqxxlnum> list = tcYqxxlnumService.selectTcYqxxlnumList(tcYqxxlnum);
|
||||
ExcelUtil<TcYqxxlnum> util = new ExcelUtil<TcYqxxlnum>(TcYqxxlnum.class);
|
||||
util.exportExcel(response, list, "舆情信息量统计数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取舆情信息量统计详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqxxlnum:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(tcYqxxlnumService.selectTcYqxxlnumById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增舆情信息量统计
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqxxlnum:add')")
|
||||
@Log(title = "舆情信息量统计", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody TcYqxxlnum tcYqxxlnum)
|
||||
{
|
||||
return toAjax(tcYqxxlnumService.insertTcYqxxlnum(tcYqxxlnum));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改舆情信息量统计
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqxxlnum:edit')")
|
||||
@Log(title = "舆情信息量统计", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody TcYqxxlnum tcYqxxlnum)
|
||||
{
|
||||
return toAjax(tcYqxxlnumService.updateTcYqxxlnum(tcYqxxlnum));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除舆情信息量统计
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqxxlnum:remove')")
|
||||
@Log(title = "舆情信息量统计", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(tcYqxxlnumService.deleteTcYqxxlnumByIds(ids));
|
||||
}
|
||||
}
|
@ -0,0 +1,104 @@
|
||||
package com.ruoyi.tcZz.controller;
|
||||
|
||||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.tcZz.domain.TcYqyj;
|
||||
import com.ruoyi.tcZz.service.ITcYqyjService;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 舆情预警Controller
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/tcZz/netWorkYq/yqyj")
|
||||
public class TcYqyjController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private ITcYqyjService tcYqyjService;
|
||||
|
||||
/**
|
||||
* 查询舆情预警列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqyj:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(TcYqyj tcYqyj)
|
||||
{
|
||||
startPage();
|
||||
List<TcYqyj> list = tcYqyjService.selectTcYqyjList(tcYqyj);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出舆情预警列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqyj:export')")
|
||||
@Log(title = "舆情预警", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, TcYqyj tcYqyj)
|
||||
{
|
||||
List<TcYqyj> list = tcYqyjService.selectTcYqyjList(tcYqyj);
|
||||
ExcelUtil<TcYqyj> util = new ExcelUtil<TcYqyj>(TcYqyj.class);
|
||||
util.exportExcel(response, list, "舆情预警数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取舆情预警详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqyj:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(tcYqyjService.selectTcYqyjById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增舆情预警
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqyj:add')")
|
||||
@Log(title = "舆情预警", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody TcYqyj tcYqyj)
|
||||
{
|
||||
return toAjax(tcYqyjService.insertTcYqyj(tcYqyj));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改舆情预警
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqyj:edit')")
|
||||
@Log(title = "舆情预警", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody TcYqyj tcYqyj)
|
||||
{
|
||||
return toAjax(tcYqyjService.updateTcYqyj(tcYqyj));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除舆情预警
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqyj:remove')")
|
||||
@Log(title = "舆情预警", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(tcYqyjService.deleteTcYqyjByIds(ids));
|
||||
}
|
||||
}
|
@ -0,0 +1,104 @@
|
||||
package com.ruoyi.tcZz.controller;
|
||||
|
||||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import com.ruoyi.common.annotation.Log;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.enums.BusinessType;
|
||||
import com.ruoyi.tcZz.domain.TcZbxq;
|
||||
import com.ruoyi.tcZz.service.ITcZbxqService;
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil;
|
||||
import com.ruoyi.common.core.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 转办量、转办详情Controller
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/tcZz/netWorkYq/zbxq")
|
||||
public class TcZbxqController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private ITcZbxqService tcZbxqService;
|
||||
|
||||
/**
|
||||
* 查询 转办量、转办详情列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:zbxq:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(TcZbxq tcZbxq)
|
||||
{
|
||||
startPage();
|
||||
List<TcZbxq> list = tcZbxqService.selectTcZbxqList(tcZbxq);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出 转办量、转办详情列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:zbxq:export')")
|
||||
@Log(title = " 转办量、转办详情", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, TcZbxq tcZbxq)
|
||||
{
|
||||
List<TcZbxq> list = tcZbxqService.selectTcZbxqList(tcZbxq);
|
||||
ExcelUtil<TcZbxq> util = new ExcelUtil<TcZbxq>(TcZbxq.class);
|
||||
util.exportExcel(response, list, " 转办量、转办详情数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取 转办量、转办详情详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:zbxq:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(tcZbxqService.selectTcZbxqById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增 转办量、转办详情
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:zbxq:add')")
|
||||
@Log(title = " 转办量、转办详情", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody TcZbxq tcZbxq)
|
||||
{
|
||||
return toAjax(tcZbxqService.insertTcZbxq(tcZbxq));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改 转办量、转办详情
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:zbxq:edit')")
|
||||
@Log(title = " 转办量、转办详情", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody TcZbxq tcZbxq)
|
||||
{
|
||||
return toAjax(tcZbxqService.updateTcZbxq(tcZbxq));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除 转办量、转办详情
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:zbxq:remove')")
|
||||
@Log(title = " 转办量、转办详情", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(tcZbxqService.deleteTcZbxqByIds(ids));
|
||||
}
|
||||
}
|
@ -0,0 +1,98 @@
|
||||
package com.ruoyi.tcZz.domain;
|
||||
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 动态筛选对象 tc_dtsx
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public class TcDtsx extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long id;
|
||||
|
||||
/** 监测信息总量 */
|
||||
@Excel(name = "监测信息总量")
|
||||
private String jcCount;
|
||||
|
||||
/** 排除信息量 */
|
||||
@Excel(name = "排除信息量")
|
||||
private String pcCount;
|
||||
|
||||
/** 舆情预警量(可空) */
|
||||
@Excel(name = "舆情预警量", readConverterExp = "可=空")
|
||||
private String yqCount;
|
||||
|
||||
/** 舆情预警占比(可空) */
|
||||
@Excel(name = "舆情预警占比", readConverterExp = "可=空")
|
||||
private String yqZb;
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
public void setJcCount(String jcCount)
|
||||
{
|
||||
this.jcCount = jcCount;
|
||||
}
|
||||
|
||||
public String getJcCount()
|
||||
{
|
||||
return jcCount;
|
||||
}
|
||||
public void setPcCount(String pcCount)
|
||||
{
|
||||
this.pcCount = pcCount;
|
||||
}
|
||||
|
||||
public String getPcCount()
|
||||
{
|
||||
return pcCount;
|
||||
}
|
||||
public void setYqCount(String yqCount)
|
||||
{
|
||||
this.yqCount = yqCount;
|
||||
}
|
||||
|
||||
public String getYqCount()
|
||||
{
|
||||
return yqCount;
|
||||
}
|
||||
public void setYqZb(String yqZb)
|
||||
{
|
||||
this.yqZb = yqZb;
|
||||
}
|
||||
|
||||
public String getYqZb()
|
||||
{
|
||||
return yqZb;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("jcCount", getJcCount())
|
||||
.append("pcCount", getPcCount())
|
||||
.append("yqCount", getYqCount())
|
||||
.append("yqZb", getYqZb())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("remark", getRemark())
|
||||
.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,70 @@
|
||||
package com.ruoyi.tcZz.domain;
|
||||
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 媒体类型对象 tc_mtlx
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public class TcMtlx extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long id;
|
||||
|
||||
/** 名称 */
|
||||
@Excel(name = "名称")
|
||||
private String name;
|
||||
|
||||
/** 占比 */
|
||||
@Excel(name = "占比")
|
||||
private String zb;
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
public void setName(String name)
|
||||
{
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getName()
|
||||
{
|
||||
return name;
|
||||
}
|
||||
public void setZb(String zb)
|
||||
{
|
||||
this.zb = zb;
|
||||
}
|
||||
|
||||
public String getZb()
|
||||
{
|
||||
return zb;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("name", getName())
|
||||
.append("zb", getZb())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("remark", getRemark())
|
||||
.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,70 @@
|
||||
package com.ruoyi.tcZz.domain;
|
||||
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 涉事类型对象 tc_sslx
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public class TcSslx extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long id;
|
||||
|
||||
/** 名称 */
|
||||
@Excel(name = "名称")
|
||||
private String name;
|
||||
|
||||
/** 占比 */
|
||||
@Excel(name = "占比")
|
||||
private String zb;
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
public void setName(String name)
|
||||
{
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getName()
|
||||
{
|
||||
return name;
|
||||
}
|
||||
public void setZb(String zb)
|
||||
{
|
||||
this.zb = zb;
|
||||
}
|
||||
|
||||
public String getZb()
|
||||
{
|
||||
return zb;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("name", getName())
|
||||
.append("zb", getZb())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("remark", getRemark())
|
||||
.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,126 @@
|
||||
package com.ruoyi.tcZz.domain;
|
||||
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 舆情报告对象 tc_yqbg
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public class TcYqbg extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long id;
|
||||
|
||||
/** 区域id */
|
||||
@Excel(name = "区域id")
|
||||
private String areaId;
|
||||
|
||||
/** 启用/禁用 */
|
||||
@Excel(name = "启用/禁用")
|
||||
private Long isStatus;
|
||||
|
||||
/** 类型 */
|
||||
@Excel(name = "类型")
|
||||
private Long type;
|
||||
|
||||
/** 标题名称 */
|
||||
@Excel(name = "标题名称")
|
||||
private String title;
|
||||
|
||||
/** 文件名称 */
|
||||
@Excel(name = "文件名称")
|
||||
private String fileName;
|
||||
|
||||
/** 文件路径(完整路径) */
|
||||
@Excel(name = "文件路径(完整路径)")
|
||||
private String fileUrl;
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
public void setAreaId(String areaId)
|
||||
{
|
||||
this.areaId = areaId;
|
||||
}
|
||||
|
||||
public String getAreaId()
|
||||
{
|
||||
return areaId;
|
||||
}
|
||||
public void setIsStatus(Long isStatus)
|
||||
{
|
||||
this.isStatus = isStatus;
|
||||
}
|
||||
|
||||
public Long getIsStatus()
|
||||
{
|
||||
return isStatus;
|
||||
}
|
||||
public void setType(Long type)
|
||||
{
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public Long getType()
|
||||
{
|
||||
return type;
|
||||
}
|
||||
public void setTitle(String title)
|
||||
{
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public String getTitle()
|
||||
{
|
||||
return title;
|
||||
}
|
||||
public void setFileName(String fileName)
|
||||
{
|
||||
this.fileName = fileName;
|
||||
}
|
||||
|
||||
public String getFileName()
|
||||
{
|
||||
return fileName;
|
||||
}
|
||||
public void setFileUrl(String fileUrl)
|
||||
{
|
||||
this.fileUrl = fileUrl;
|
||||
}
|
||||
|
||||
public String getFileUrl()
|
||||
{
|
||||
return fileUrl;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("areaId", getAreaId())
|
||||
.append("isStatus", getIsStatus())
|
||||
.append("type", getType())
|
||||
.append("title", getTitle())
|
||||
.append("fileName", getFileName())
|
||||
.append("fileUrl", getFileUrl())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("remark", getRemark())
|
||||
.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,98 @@
|
||||
package com.ruoyi.tcZz.domain;
|
||||
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 舆情信息量统计对象 tc_yqxxlnum
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public class TcYqxxlnum extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long id;
|
||||
|
||||
/** 本地相关信息数量 */
|
||||
@Excel(name = "本地相关信息数量")
|
||||
private Long count1;
|
||||
|
||||
/** 本地敏感信息数量 */
|
||||
@Excel(name = "本地敏感信息数量")
|
||||
private Long count2;
|
||||
|
||||
/** 推送预警信息数量 */
|
||||
@Excel(name = "推送预警信息数量")
|
||||
private Long count3;
|
||||
|
||||
/** 聚焦本地媒体数量 */
|
||||
@Excel(name = "聚焦本地媒体数量")
|
||||
private Long count4;
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
public void setCount1(Long count1)
|
||||
{
|
||||
this.count1 = count1;
|
||||
}
|
||||
|
||||
public Long getCount1()
|
||||
{
|
||||
return count1;
|
||||
}
|
||||
public void setCount2(Long count2)
|
||||
{
|
||||
this.count2 = count2;
|
||||
}
|
||||
|
||||
public Long getCount2()
|
||||
{
|
||||
return count2;
|
||||
}
|
||||
public void setCount3(Long count3)
|
||||
{
|
||||
this.count3 = count3;
|
||||
}
|
||||
|
||||
public Long getCount3()
|
||||
{
|
||||
return count3;
|
||||
}
|
||||
public void setCount4(Long count4)
|
||||
{
|
||||
this.count4 = count4;
|
||||
}
|
||||
|
||||
public Long getCount4()
|
||||
{
|
||||
return count4;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("count1", getCount1())
|
||||
.append("count2", getCount2())
|
||||
.append("count3", getCount3())
|
||||
.append("count4", getCount4())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("remark", getRemark())
|
||||
.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,129 @@
|
||||
package com.ruoyi.tcZz.domain;
|
||||
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 舆情预警对象 tc_yqyj
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public class TcYqyj extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long id;
|
||||
|
||||
/** 区域id */
|
||||
@Excel(name = "区域id")
|
||||
private String areaId;
|
||||
|
||||
/** 1.启用 2.禁用 */
|
||||
@Excel(name = "1.启用 2.禁用")
|
||||
private Long isStatus;
|
||||
|
||||
/** 标题 */
|
||||
@Excel(name = "标题")
|
||||
private String title;
|
||||
|
||||
/** 来源 */
|
||||
@Excel(name = "来源")
|
||||
private String source;
|
||||
|
||||
/** 时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date dateTime;
|
||||
|
||||
/** 内容 */
|
||||
@Excel(name = "内容")
|
||||
private String content;
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
public void setAreaId(String areaId)
|
||||
{
|
||||
this.areaId = areaId;
|
||||
}
|
||||
|
||||
public String getAreaId()
|
||||
{
|
||||
return areaId;
|
||||
}
|
||||
public void setIsStatus(Long isStatus)
|
||||
{
|
||||
this.isStatus = isStatus;
|
||||
}
|
||||
|
||||
public Long getIsStatus()
|
||||
{
|
||||
return isStatus;
|
||||
}
|
||||
public void setTitle(String title)
|
||||
{
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public String getTitle()
|
||||
{
|
||||
return title;
|
||||
}
|
||||
public void setSource(String source)
|
||||
{
|
||||
this.source = source;
|
||||
}
|
||||
|
||||
public String getSource()
|
||||
{
|
||||
return source;
|
||||
}
|
||||
public void setDateTime(Date dateTime)
|
||||
{
|
||||
this.dateTime = dateTime;
|
||||
}
|
||||
|
||||
public Date getDateTime()
|
||||
{
|
||||
return dateTime;
|
||||
}
|
||||
public void setContent(String content)
|
||||
{
|
||||
this.content = content;
|
||||
}
|
||||
|
||||
public String getContent()
|
||||
{
|
||||
return content;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("areaId", getAreaId())
|
||||
.append("isStatus", getIsStatus())
|
||||
.append("title", getTitle())
|
||||
.append("source", getSource())
|
||||
.append("dateTime", getDateTime())
|
||||
.append("content", getContent())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("remark", getRemark())
|
||||
.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,112 @@
|
||||
package com.ruoyi.tcZz.domain;
|
||||
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 转办量、转办详情对象 tc_zbxq
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public class TcZbxq extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Long id;
|
||||
|
||||
/** 区域id */
|
||||
@Excel(name = "区域id")
|
||||
private String areaId;
|
||||
|
||||
/** 启用/禁用 */
|
||||
@Excel(name = "启用/禁用")
|
||||
private Long isStatus;
|
||||
|
||||
/** 舆情标题 */
|
||||
@Excel(name = "舆情标题")
|
||||
private String yqTitle;
|
||||
|
||||
/** 部门名称 */
|
||||
@Excel(name = "部门名称")
|
||||
private String depName;
|
||||
|
||||
/** 舆情状态 */
|
||||
@Excel(name = "舆情状态")
|
||||
private String yqState;
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
public void setAreaId(String areaId)
|
||||
{
|
||||
this.areaId = areaId;
|
||||
}
|
||||
|
||||
public String getAreaId()
|
||||
{
|
||||
return areaId;
|
||||
}
|
||||
public void setIsStatus(Long isStatus)
|
||||
{
|
||||
this.isStatus = isStatus;
|
||||
}
|
||||
|
||||
public Long getIsStatus()
|
||||
{
|
||||
return isStatus;
|
||||
}
|
||||
public void setYqTitle(String yqTitle)
|
||||
{
|
||||
this.yqTitle = yqTitle;
|
||||
}
|
||||
|
||||
public String getYqTitle()
|
||||
{
|
||||
return yqTitle;
|
||||
}
|
||||
public void setDepName(String depName)
|
||||
{
|
||||
this.depName = depName;
|
||||
}
|
||||
|
||||
public String getDepName()
|
||||
{
|
||||
return depName;
|
||||
}
|
||||
public void setYqState(String yqState)
|
||||
{
|
||||
this.yqState = yqState;
|
||||
}
|
||||
|
||||
public String getYqState()
|
||||
{
|
||||
return yqState;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("areaId", getAreaId())
|
||||
.append("isStatus", getIsStatus())
|
||||
.append("yqTitle", getYqTitle())
|
||||
.append("depName", getDepName())
|
||||
.append("yqState", getYqState())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("remark", getRemark())
|
||||
.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcDtsx;
|
||||
|
||||
/**
|
||||
* 动态筛选Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface TcDtsxMapper
|
||||
{
|
||||
/**
|
||||
* 查询动态筛选
|
||||
*
|
||||
* @param id 动态筛选主键
|
||||
* @return 动态筛选
|
||||
*/
|
||||
public TcDtsx selectTcDtsxById(Long id);
|
||||
|
||||
/**
|
||||
* 查询动态筛选列表
|
||||
*
|
||||
* @param tcDtsx 动态筛选
|
||||
* @return 动态筛选集合
|
||||
*/
|
||||
public List<TcDtsx> selectTcDtsxList(TcDtsx tcDtsx);
|
||||
|
||||
/**
|
||||
* 新增动态筛选
|
||||
*
|
||||
* @param tcDtsx 动态筛选
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcDtsx(TcDtsx tcDtsx);
|
||||
|
||||
/**
|
||||
* 修改动态筛选
|
||||
*
|
||||
* @param tcDtsx 动态筛选
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcDtsx(TcDtsx tcDtsx);
|
||||
|
||||
/**
|
||||
* 删除动态筛选
|
||||
*
|
||||
* @param id 动态筛选主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcDtsxById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除动态筛选
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcDtsxByIds(Long[] ids);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcMtlx;
|
||||
|
||||
/**
|
||||
* 媒体类型Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface TcMtlxMapper
|
||||
{
|
||||
/**
|
||||
* 查询媒体类型
|
||||
*
|
||||
* @param id 媒体类型主键
|
||||
* @return 媒体类型
|
||||
*/
|
||||
public TcMtlx selectTcMtlxById(Long id);
|
||||
|
||||
/**
|
||||
* 查询媒体类型列表
|
||||
*
|
||||
* @param tcMtlx 媒体类型
|
||||
* @return 媒体类型集合
|
||||
*/
|
||||
public List<TcMtlx> selectTcMtlxList(TcMtlx tcMtlx);
|
||||
|
||||
/**
|
||||
* 新增媒体类型
|
||||
*
|
||||
* @param tcMtlx 媒体类型
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcMtlx(TcMtlx tcMtlx);
|
||||
|
||||
/**
|
||||
* 修改媒体类型
|
||||
*
|
||||
* @param tcMtlx 媒体类型
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcMtlx(TcMtlx tcMtlx);
|
||||
|
||||
/**
|
||||
* 删除媒体类型
|
||||
*
|
||||
* @param id 媒体类型主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcMtlxById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除媒体类型
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcMtlxByIds(Long[] ids);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcSslx;
|
||||
|
||||
/**
|
||||
* 涉事类型Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface TcSslxMapper
|
||||
{
|
||||
/**
|
||||
* 查询涉事类型
|
||||
*
|
||||
* @param id 涉事类型主键
|
||||
* @return 涉事类型
|
||||
*/
|
||||
public TcSslx selectTcSslxById(Long id);
|
||||
|
||||
/**
|
||||
* 查询涉事类型列表
|
||||
*
|
||||
* @param tcSslx 涉事类型
|
||||
* @return 涉事类型集合
|
||||
*/
|
||||
public List<TcSslx> selectTcSslxList(TcSslx tcSslx);
|
||||
|
||||
/**
|
||||
* 新增涉事类型
|
||||
*
|
||||
* @param tcSslx 涉事类型
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcSslx(TcSslx tcSslx);
|
||||
|
||||
/**
|
||||
* 修改涉事类型
|
||||
*
|
||||
* @param tcSslx 涉事类型
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcSslx(TcSslx tcSslx);
|
||||
|
||||
/**
|
||||
* 删除涉事类型
|
||||
*
|
||||
* @param id 涉事类型主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcSslxById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除涉事类型
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcSslxByIds(Long[] ids);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcYqbg;
|
||||
|
||||
/**
|
||||
* 舆情报告Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface TcYqbgMapper
|
||||
{
|
||||
/**
|
||||
* 查询舆情报告
|
||||
*
|
||||
* @param id 舆情报告主键
|
||||
* @return 舆情报告
|
||||
*/
|
||||
public TcYqbg selectTcYqbgById(Long id);
|
||||
|
||||
/**
|
||||
* 查询舆情报告列表
|
||||
*
|
||||
* @param tcYqbg 舆情报告
|
||||
* @return 舆情报告集合
|
||||
*/
|
||||
public List<TcYqbg> selectTcYqbgList(TcYqbg tcYqbg);
|
||||
|
||||
/**
|
||||
* 新增舆情报告
|
||||
*
|
||||
* @param tcYqbg 舆情报告
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcYqbg(TcYqbg tcYqbg);
|
||||
|
||||
/**
|
||||
* 修改舆情报告
|
||||
*
|
||||
* @param tcYqbg 舆情报告
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcYqbg(TcYqbg tcYqbg);
|
||||
|
||||
/**
|
||||
* 删除舆情报告
|
||||
*
|
||||
* @param id 舆情报告主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcYqbgById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除舆情报告
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcYqbgByIds(Long[] ids);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcYqxxlnum;
|
||||
|
||||
/**
|
||||
* 舆情信息量统计Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface TcYqxxlnumMapper
|
||||
{
|
||||
/**
|
||||
* 查询舆情信息量统计
|
||||
*
|
||||
* @param id 舆情信息量统计主键
|
||||
* @return 舆情信息量统计
|
||||
*/
|
||||
public TcYqxxlnum selectTcYqxxlnumById(Long id);
|
||||
|
||||
/**
|
||||
* 查询舆情信息量统计列表
|
||||
*
|
||||
* @param tcYqxxlnum 舆情信息量统计
|
||||
* @return 舆情信息量统计集合
|
||||
*/
|
||||
public List<TcYqxxlnum> selectTcYqxxlnumList(TcYqxxlnum tcYqxxlnum);
|
||||
|
||||
/**
|
||||
* 新增舆情信息量统计
|
||||
*
|
||||
* @param tcYqxxlnum 舆情信息量统计
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcYqxxlnum(TcYqxxlnum tcYqxxlnum);
|
||||
|
||||
/**
|
||||
* 修改舆情信息量统计
|
||||
*
|
||||
* @param tcYqxxlnum 舆情信息量统计
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcYqxxlnum(TcYqxxlnum tcYqxxlnum);
|
||||
|
||||
/**
|
||||
* 删除舆情信息量统计
|
||||
*
|
||||
* @param id 舆情信息量统计主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcYqxxlnumById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除舆情信息量统计
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcYqxxlnumByIds(Long[] ids);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcYqyj;
|
||||
|
||||
/**
|
||||
* 舆情预警Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface TcYqyjMapper
|
||||
{
|
||||
/**
|
||||
* 查询舆情预警
|
||||
*
|
||||
* @param id 舆情预警主键
|
||||
* @return 舆情预警
|
||||
*/
|
||||
public TcYqyj selectTcYqyjById(Long id);
|
||||
|
||||
/**
|
||||
* 查询舆情预警列表
|
||||
*
|
||||
* @param tcYqyj 舆情预警
|
||||
* @return 舆情预警集合
|
||||
*/
|
||||
public List<TcYqyj> selectTcYqyjList(TcYqyj tcYqyj);
|
||||
|
||||
/**
|
||||
* 新增舆情预警
|
||||
*
|
||||
* @param tcYqyj 舆情预警
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcYqyj(TcYqyj tcYqyj);
|
||||
|
||||
/**
|
||||
* 修改舆情预警
|
||||
*
|
||||
* @param tcYqyj 舆情预警
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcYqyj(TcYqyj tcYqyj);
|
||||
|
||||
/**
|
||||
* 删除舆情预警
|
||||
*
|
||||
* @param id 舆情预警主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcYqyjById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除舆情预警
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcYqyjByIds(Long[] ids);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcZbxq;
|
||||
|
||||
/**
|
||||
* 转办量、转办详情Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface TcZbxqMapper
|
||||
{
|
||||
/**
|
||||
* 查询 转办量、转办详情
|
||||
*
|
||||
* @param id 转办量、转办详情主键
|
||||
* @return 转办量、转办详情
|
||||
*/
|
||||
public TcZbxq selectTcZbxqById(Long id);
|
||||
|
||||
/**
|
||||
* 查询 转办量、转办详情列表
|
||||
*
|
||||
* @param tcZbxq 转办量、转办详情
|
||||
* @return 转办量、转办详情集合
|
||||
*/
|
||||
public List<TcZbxq> selectTcZbxqList(TcZbxq tcZbxq);
|
||||
|
||||
/**
|
||||
* 新增 转办量、转办详情
|
||||
*
|
||||
* @param tcZbxq 转办量、转办详情
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcZbxq(TcZbxq tcZbxq);
|
||||
|
||||
/**
|
||||
* 修改 转办量、转办详情
|
||||
*
|
||||
* @param tcZbxq 转办量、转办详情
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcZbxq(TcZbxq tcZbxq);
|
||||
|
||||
/**
|
||||
* 删除 转办量、转办详情
|
||||
*
|
||||
* @param id 转办量、转办详情主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcZbxqById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除 转办量、转办详情
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcZbxqByIds(Long[] ids);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcDtsx;
|
||||
|
||||
/**
|
||||
* 动态筛选Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface ITcDtsxService
|
||||
{
|
||||
/**
|
||||
* 查询动态筛选
|
||||
*
|
||||
* @param id 动态筛选主键
|
||||
* @return 动态筛选
|
||||
*/
|
||||
public TcDtsx selectTcDtsxById(Long id);
|
||||
|
||||
/**
|
||||
* 查询动态筛选列表
|
||||
*
|
||||
* @param tcDtsx 动态筛选
|
||||
* @return 动态筛选集合
|
||||
*/
|
||||
public List<TcDtsx> selectTcDtsxList(TcDtsx tcDtsx);
|
||||
|
||||
/**
|
||||
* 新增动态筛选
|
||||
*
|
||||
* @param tcDtsx 动态筛选
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcDtsx(TcDtsx tcDtsx);
|
||||
|
||||
/**
|
||||
* 修改动态筛选
|
||||
*
|
||||
* @param tcDtsx 动态筛选
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcDtsx(TcDtsx tcDtsx);
|
||||
|
||||
/**
|
||||
* 批量删除动态筛选
|
||||
*
|
||||
* @param ids 需要删除的动态筛选主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcDtsxByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除动态筛选信息
|
||||
*
|
||||
* @param id 动态筛选主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcDtsxById(Long id);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcMtlx;
|
||||
|
||||
/**
|
||||
* 媒体类型Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface ITcMtlxService
|
||||
{
|
||||
/**
|
||||
* 查询媒体类型
|
||||
*
|
||||
* @param id 媒体类型主键
|
||||
* @return 媒体类型
|
||||
*/
|
||||
public TcMtlx selectTcMtlxById(Long id);
|
||||
|
||||
/**
|
||||
* 查询媒体类型列表
|
||||
*
|
||||
* @param tcMtlx 媒体类型
|
||||
* @return 媒体类型集合
|
||||
*/
|
||||
public List<TcMtlx> selectTcMtlxList(TcMtlx tcMtlx);
|
||||
|
||||
/**
|
||||
* 新增媒体类型
|
||||
*
|
||||
* @param tcMtlx 媒体类型
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcMtlx(TcMtlx tcMtlx);
|
||||
|
||||
/**
|
||||
* 修改媒体类型
|
||||
*
|
||||
* @param tcMtlx 媒体类型
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcMtlx(TcMtlx tcMtlx);
|
||||
|
||||
/**
|
||||
* 批量删除媒体类型
|
||||
*
|
||||
* @param ids 需要删除的媒体类型主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcMtlxByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除媒体类型信息
|
||||
*
|
||||
* @param id 媒体类型主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcMtlxById(Long id);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcSslx;
|
||||
|
||||
/**
|
||||
* 涉事类型Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface ITcSslxService
|
||||
{
|
||||
/**
|
||||
* 查询涉事类型
|
||||
*
|
||||
* @param id 涉事类型主键
|
||||
* @return 涉事类型
|
||||
*/
|
||||
public TcSslx selectTcSslxById(Long id);
|
||||
|
||||
/**
|
||||
* 查询涉事类型列表
|
||||
*
|
||||
* @param tcSslx 涉事类型
|
||||
* @return 涉事类型集合
|
||||
*/
|
||||
public List<TcSslx> selectTcSslxList(TcSslx tcSslx);
|
||||
|
||||
/**
|
||||
* 新增涉事类型
|
||||
*
|
||||
* @param tcSslx 涉事类型
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcSslx(TcSslx tcSslx);
|
||||
|
||||
/**
|
||||
* 修改涉事类型
|
||||
*
|
||||
* @param tcSslx 涉事类型
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcSslx(TcSslx tcSslx);
|
||||
|
||||
/**
|
||||
* 批量删除涉事类型
|
||||
*
|
||||
* @param ids 需要删除的涉事类型主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcSslxByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除涉事类型信息
|
||||
*
|
||||
* @param id 涉事类型主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcSslxById(Long id);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcYqbg;
|
||||
|
||||
/**
|
||||
* 舆情报告Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface ITcYqbgService
|
||||
{
|
||||
/**
|
||||
* 查询舆情报告
|
||||
*
|
||||
* @param id 舆情报告主键
|
||||
* @return 舆情报告
|
||||
*/
|
||||
public TcYqbg selectTcYqbgById(Long id);
|
||||
|
||||
/**
|
||||
* 查询舆情报告列表
|
||||
*
|
||||
* @param tcYqbg 舆情报告
|
||||
* @return 舆情报告集合
|
||||
*/
|
||||
public List<TcYqbg> selectTcYqbgList(TcYqbg tcYqbg);
|
||||
|
||||
/**
|
||||
* 新增舆情报告
|
||||
*
|
||||
* @param tcYqbg 舆情报告
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcYqbg(TcYqbg tcYqbg);
|
||||
|
||||
/**
|
||||
* 修改舆情报告
|
||||
*
|
||||
* @param tcYqbg 舆情报告
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcYqbg(TcYqbg tcYqbg);
|
||||
|
||||
/**
|
||||
* 批量删除舆情报告
|
||||
*
|
||||
* @param ids 需要删除的舆情报告主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcYqbgByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除舆情报告信息
|
||||
*
|
||||
* @param id 舆情报告主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcYqbgById(Long id);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcYqxxlnum;
|
||||
|
||||
/**
|
||||
* 舆情信息量统计Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface ITcYqxxlnumService
|
||||
{
|
||||
/**
|
||||
* 查询舆情信息量统计
|
||||
*
|
||||
* @param id 舆情信息量统计主键
|
||||
* @return 舆情信息量统计
|
||||
*/
|
||||
public TcYqxxlnum selectTcYqxxlnumById(Long id);
|
||||
|
||||
/**
|
||||
* 查询舆情信息量统计列表
|
||||
*
|
||||
* @param tcYqxxlnum 舆情信息量统计
|
||||
* @return 舆情信息量统计集合
|
||||
*/
|
||||
public List<TcYqxxlnum> selectTcYqxxlnumList(TcYqxxlnum tcYqxxlnum);
|
||||
|
||||
/**
|
||||
* 新增舆情信息量统计
|
||||
*
|
||||
* @param tcYqxxlnum 舆情信息量统计
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcYqxxlnum(TcYqxxlnum tcYqxxlnum);
|
||||
|
||||
/**
|
||||
* 修改舆情信息量统计
|
||||
*
|
||||
* @param tcYqxxlnum 舆情信息量统计
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcYqxxlnum(TcYqxxlnum tcYqxxlnum);
|
||||
|
||||
/**
|
||||
* 批量删除舆情信息量统计
|
||||
*
|
||||
* @param ids 需要删除的舆情信息量统计主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcYqxxlnumByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除舆情信息量统计信息
|
||||
*
|
||||
* @param id 舆情信息量统计主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcYqxxlnumById(Long id);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcYqyj;
|
||||
|
||||
/**
|
||||
* 舆情预警Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface ITcYqyjService
|
||||
{
|
||||
/**
|
||||
* 查询舆情预警
|
||||
*
|
||||
* @param id 舆情预警主键
|
||||
* @return 舆情预警
|
||||
*/
|
||||
public TcYqyj selectTcYqyjById(Long id);
|
||||
|
||||
/**
|
||||
* 查询舆情预警列表
|
||||
*
|
||||
* @param tcYqyj 舆情预警
|
||||
* @return 舆情预警集合
|
||||
*/
|
||||
public List<TcYqyj> selectTcYqyjList(TcYqyj tcYqyj);
|
||||
|
||||
/**
|
||||
* 新增舆情预警
|
||||
*
|
||||
* @param tcYqyj 舆情预警
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcYqyj(TcYqyj tcYqyj);
|
||||
|
||||
/**
|
||||
* 修改舆情预警
|
||||
*
|
||||
* @param tcYqyj 舆情预警
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcYqyj(TcYqyj tcYqyj);
|
||||
|
||||
/**
|
||||
* 批量删除舆情预警
|
||||
*
|
||||
* @param ids 需要删除的舆情预警主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcYqyjByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除舆情预警信息
|
||||
*
|
||||
* @param id 舆情预警主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcYqyjById(Long id);
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.ruoyi.tcZz.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.tcZz.domain.TcZbxq;
|
||||
|
||||
/**
|
||||
* 转办量、转办详情Service接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
public interface ITcZbxqService
|
||||
{
|
||||
/**
|
||||
* 查询 转办量、转办详情
|
||||
*
|
||||
* @param id 转办量、转办详情主键
|
||||
* @return 转办量、转办详情
|
||||
*/
|
||||
public TcZbxq selectTcZbxqById(Long id);
|
||||
|
||||
/**
|
||||
* 查询 转办量、转办详情列表
|
||||
*
|
||||
* @param tcZbxq 转办量、转办详情
|
||||
* @return 转办量、转办详情集合
|
||||
*/
|
||||
public List<TcZbxq> selectTcZbxqList(TcZbxq tcZbxq);
|
||||
|
||||
/**
|
||||
* 新增 转办量、转办详情
|
||||
*
|
||||
* @param tcZbxq 转办量、转办详情
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertTcZbxq(TcZbxq tcZbxq);
|
||||
|
||||
/**
|
||||
* 修改 转办量、转办详情
|
||||
*
|
||||
* @param tcZbxq 转办量、转办详情
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateTcZbxq(TcZbxq tcZbxq);
|
||||
|
||||
/**
|
||||
* 批量删除 转办量、转办详情
|
||||
*
|
||||
* @param ids 需要删除的 转办量、转办详情主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcZbxqByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除 转办量、转办详情信息
|
||||
*
|
||||
* @param id 转办量、转办详情主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteTcZbxqById(Long id);
|
||||
}
|
@ -0,0 +1,96 @@
|
||||
package com.ruoyi.tcZz.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.common.utils.DateUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.tcZz.mapper.TcDtsxMapper;
|
||||
import com.ruoyi.tcZz.domain.TcDtsx;
|
||||
import com.ruoyi.tcZz.service.ITcDtsxService;
|
||||
|
||||
/**
|
||||
* 动态筛选Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@Service
|
||||
public class TcDtsxServiceImpl implements ITcDtsxService
|
||||
{
|
||||
@Autowired
|
||||
private TcDtsxMapper tcDtsxMapper;
|
||||
|
||||
/**
|
||||
* 查询动态筛选
|
||||
*
|
||||
* @param id 动态筛选主键
|
||||
* @return 动态筛选
|
||||
*/
|
||||
@Override
|
||||
public TcDtsx selectTcDtsxById(Long id)
|
||||
{
|
||||
return tcDtsxMapper.selectTcDtsxById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询动态筛选列表
|
||||
*
|
||||
* @param tcDtsx 动态筛选
|
||||
* @return 动态筛选
|
||||
*/
|
||||
@Override
|
||||
public List<TcDtsx> selectTcDtsxList(TcDtsx tcDtsx)
|
||||
{
|
||||
return tcDtsxMapper.selectTcDtsxList(tcDtsx);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增动态筛选
|
||||
*
|
||||
* @param tcDtsx 动态筛选
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertTcDtsx(TcDtsx tcDtsx)
|
||||
{
|
||||
tcDtsx.setCreateTime(DateUtils.getNowDate());
|
||||
return tcDtsxMapper.insertTcDtsx(tcDtsx);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改动态筛选
|
||||
*
|
||||
* @param tcDtsx 动态筛选
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateTcDtsx(TcDtsx tcDtsx)
|
||||
{
|
||||
tcDtsx.setUpdateTime(DateUtils.getNowDate());
|
||||
return tcDtsxMapper.updateTcDtsx(tcDtsx);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除动态筛选
|
||||
*
|
||||
* @param ids 需要删除的动态筛选主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcDtsxByIds(Long[] ids)
|
||||
{
|
||||
return tcDtsxMapper.deleteTcDtsxByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除动态筛选信息
|
||||
*
|
||||
* @param id 动态筛选主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcDtsxById(Long id)
|
||||
{
|
||||
return tcDtsxMapper.deleteTcDtsxById(id);
|
||||
}
|
||||
}
|
@ -0,0 +1,96 @@
|
||||
package com.ruoyi.tcZz.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.common.utils.DateUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.tcZz.mapper.TcMtlxMapper;
|
||||
import com.ruoyi.tcZz.domain.TcMtlx;
|
||||
import com.ruoyi.tcZz.service.ITcMtlxService;
|
||||
|
||||
/**
|
||||
* 媒体类型Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@Service
|
||||
public class TcMtlxServiceImpl implements ITcMtlxService
|
||||
{
|
||||
@Autowired
|
||||
private TcMtlxMapper tcMtlxMapper;
|
||||
|
||||
/**
|
||||
* 查询媒体类型
|
||||
*
|
||||
* @param id 媒体类型主键
|
||||
* @return 媒体类型
|
||||
*/
|
||||
@Override
|
||||
public TcMtlx selectTcMtlxById(Long id)
|
||||
{
|
||||
return tcMtlxMapper.selectTcMtlxById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询媒体类型列表
|
||||
*
|
||||
* @param tcMtlx 媒体类型
|
||||
* @return 媒体类型
|
||||
*/
|
||||
@Override
|
||||
public List<TcMtlx> selectTcMtlxList(TcMtlx tcMtlx)
|
||||
{
|
||||
return tcMtlxMapper.selectTcMtlxList(tcMtlx);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增媒体类型
|
||||
*
|
||||
* @param tcMtlx 媒体类型
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertTcMtlx(TcMtlx tcMtlx)
|
||||
{
|
||||
tcMtlx.setCreateTime(DateUtils.getNowDate());
|
||||
return tcMtlxMapper.insertTcMtlx(tcMtlx);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改媒体类型
|
||||
*
|
||||
* @param tcMtlx 媒体类型
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateTcMtlx(TcMtlx tcMtlx)
|
||||
{
|
||||
tcMtlx.setUpdateTime(DateUtils.getNowDate());
|
||||
return tcMtlxMapper.updateTcMtlx(tcMtlx);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除媒体类型
|
||||
*
|
||||
* @param ids 需要删除的媒体类型主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcMtlxByIds(Long[] ids)
|
||||
{
|
||||
return tcMtlxMapper.deleteTcMtlxByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除媒体类型信息
|
||||
*
|
||||
* @param id 媒体类型主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcMtlxById(Long id)
|
||||
{
|
||||
return tcMtlxMapper.deleteTcMtlxById(id);
|
||||
}
|
||||
}
|
@ -0,0 +1,96 @@
|
||||
package com.ruoyi.tcZz.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.common.utils.DateUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.tcZz.mapper.TcSslxMapper;
|
||||
import com.ruoyi.tcZz.domain.TcSslx;
|
||||
import com.ruoyi.tcZz.service.ITcSslxService;
|
||||
|
||||
/**
|
||||
* 涉事类型Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@Service
|
||||
public class TcSslxServiceImpl implements ITcSslxService
|
||||
{
|
||||
@Autowired
|
||||
private TcSslxMapper tcSslxMapper;
|
||||
|
||||
/**
|
||||
* 查询涉事类型
|
||||
*
|
||||
* @param id 涉事类型主键
|
||||
* @return 涉事类型
|
||||
*/
|
||||
@Override
|
||||
public TcSslx selectTcSslxById(Long id)
|
||||
{
|
||||
return tcSslxMapper.selectTcSslxById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询涉事类型列表
|
||||
*
|
||||
* @param tcSslx 涉事类型
|
||||
* @return 涉事类型
|
||||
*/
|
||||
@Override
|
||||
public List<TcSslx> selectTcSslxList(TcSslx tcSslx)
|
||||
{
|
||||
return tcSslxMapper.selectTcSslxList(tcSslx);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增涉事类型
|
||||
*
|
||||
* @param tcSslx 涉事类型
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertTcSslx(TcSslx tcSslx)
|
||||
{
|
||||
tcSslx.setCreateTime(DateUtils.getNowDate());
|
||||
return tcSslxMapper.insertTcSslx(tcSslx);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改涉事类型
|
||||
*
|
||||
* @param tcSslx 涉事类型
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateTcSslx(TcSslx tcSslx)
|
||||
{
|
||||
tcSslx.setUpdateTime(DateUtils.getNowDate());
|
||||
return tcSslxMapper.updateTcSslx(tcSslx);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除涉事类型
|
||||
*
|
||||
* @param ids 需要删除的涉事类型主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcSslxByIds(Long[] ids)
|
||||
{
|
||||
return tcSslxMapper.deleteTcSslxByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除涉事类型信息
|
||||
*
|
||||
* @param id 涉事类型主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcSslxById(Long id)
|
||||
{
|
||||
return tcSslxMapper.deleteTcSslxById(id);
|
||||
}
|
||||
}
|
@ -0,0 +1,96 @@
|
||||
package com.ruoyi.tcZz.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.common.utils.DateUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.tcZz.mapper.TcYqbgMapper;
|
||||
import com.ruoyi.tcZz.domain.TcYqbg;
|
||||
import com.ruoyi.tcZz.service.ITcYqbgService;
|
||||
|
||||
/**
|
||||
* 舆情报告Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@Service
|
||||
public class TcYqbgServiceImpl implements ITcYqbgService
|
||||
{
|
||||
@Autowired
|
||||
private TcYqbgMapper tcYqbgMapper;
|
||||
|
||||
/**
|
||||
* 查询舆情报告
|
||||
*
|
||||
* @param id 舆情报告主键
|
||||
* @return 舆情报告
|
||||
*/
|
||||
@Override
|
||||
public TcYqbg selectTcYqbgById(Long id)
|
||||
{
|
||||
return tcYqbgMapper.selectTcYqbgById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询舆情报告列表
|
||||
*
|
||||
* @param tcYqbg 舆情报告
|
||||
* @return 舆情报告
|
||||
*/
|
||||
@Override
|
||||
public List<TcYqbg> selectTcYqbgList(TcYqbg tcYqbg)
|
||||
{
|
||||
return tcYqbgMapper.selectTcYqbgList(tcYqbg);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增舆情报告
|
||||
*
|
||||
* @param tcYqbg 舆情报告
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertTcYqbg(TcYqbg tcYqbg)
|
||||
{
|
||||
tcYqbg.setCreateTime(DateUtils.getNowDate());
|
||||
return tcYqbgMapper.insertTcYqbg(tcYqbg);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改舆情报告
|
||||
*
|
||||
* @param tcYqbg 舆情报告
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateTcYqbg(TcYqbg tcYqbg)
|
||||
{
|
||||
tcYqbg.setUpdateTime(DateUtils.getNowDate());
|
||||
return tcYqbgMapper.updateTcYqbg(tcYqbg);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除舆情报告
|
||||
*
|
||||
* @param ids 需要删除的舆情报告主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcYqbgByIds(Long[] ids)
|
||||
{
|
||||
return tcYqbgMapper.deleteTcYqbgByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除舆情报告信息
|
||||
*
|
||||
* @param id 舆情报告主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcYqbgById(Long id)
|
||||
{
|
||||
return tcYqbgMapper.deleteTcYqbgById(id);
|
||||
}
|
||||
}
|
@ -0,0 +1,96 @@
|
||||
package com.ruoyi.tcZz.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.common.utils.DateUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.tcZz.mapper.TcYqxxlnumMapper;
|
||||
import com.ruoyi.tcZz.domain.TcYqxxlnum;
|
||||
import com.ruoyi.tcZz.service.ITcYqxxlnumService;
|
||||
|
||||
/**
|
||||
* 舆情信息量统计Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@Service
|
||||
public class TcYqxxlnumServiceImpl implements ITcYqxxlnumService
|
||||
{
|
||||
@Autowired
|
||||
private TcYqxxlnumMapper tcYqxxlnumMapper;
|
||||
|
||||
/**
|
||||
* 查询舆情信息量统计
|
||||
*
|
||||
* @param id 舆情信息量统计主键
|
||||
* @return 舆情信息量统计
|
||||
*/
|
||||
@Override
|
||||
public TcYqxxlnum selectTcYqxxlnumById(Long id)
|
||||
{
|
||||
return tcYqxxlnumMapper.selectTcYqxxlnumById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询舆情信息量统计列表
|
||||
*
|
||||
* @param tcYqxxlnum 舆情信息量统计
|
||||
* @return 舆情信息量统计
|
||||
*/
|
||||
@Override
|
||||
public List<TcYqxxlnum> selectTcYqxxlnumList(TcYqxxlnum tcYqxxlnum)
|
||||
{
|
||||
return tcYqxxlnumMapper.selectTcYqxxlnumList(tcYqxxlnum);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增舆情信息量统计
|
||||
*
|
||||
* @param tcYqxxlnum 舆情信息量统计
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertTcYqxxlnum(TcYqxxlnum tcYqxxlnum)
|
||||
{
|
||||
tcYqxxlnum.setCreateTime(DateUtils.getNowDate());
|
||||
return tcYqxxlnumMapper.insertTcYqxxlnum(tcYqxxlnum);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改舆情信息量统计
|
||||
*
|
||||
* @param tcYqxxlnum 舆情信息量统计
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateTcYqxxlnum(TcYqxxlnum tcYqxxlnum)
|
||||
{
|
||||
tcYqxxlnum.setUpdateTime(DateUtils.getNowDate());
|
||||
return tcYqxxlnumMapper.updateTcYqxxlnum(tcYqxxlnum);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除舆情信息量统计
|
||||
*
|
||||
* @param ids 需要删除的舆情信息量统计主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcYqxxlnumByIds(Long[] ids)
|
||||
{
|
||||
return tcYqxxlnumMapper.deleteTcYqxxlnumByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除舆情信息量统计信息
|
||||
*
|
||||
* @param id 舆情信息量统计主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcYqxxlnumById(Long id)
|
||||
{
|
||||
return tcYqxxlnumMapper.deleteTcYqxxlnumById(id);
|
||||
}
|
||||
}
|
@ -0,0 +1,96 @@
|
||||
package com.ruoyi.tcZz.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.common.utils.DateUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.tcZz.mapper.TcYqyjMapper;
|
||||
import com.ruoyi.tcZz.domain.TcYqyj;
|
||||
import com.ruoyi.tcZz.service.ITcYqyjService;
|
||||
|
||||
/**
|
||||
* 舆情预警Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@Service
|
||||
public class TcYqyjServiceImpl implements ITcYqyjService
|
||||
{
|
||||
@Autowired
|
||||
private TcYqyjMapper tcYqyjMapper;
|
||||
|
||||
/**
|
||||
* 查询舆情预警
|
||||
*
|
||||
* @param id 舆情预警主键
|
||||
* @return 舆情预警
|
||||
*/
|
||||
@Override
|
||||
public TcYqyj selectTcYqyjById(Long id)
|
||||
{
|
||||
return tcYqyjMapper.selectTcYqyjById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询舆情预警列表
|
||||
*
|
||||
* @param tcYqyj 舆情预警
|
||||
* @return 舆情预警
|
||||
*/
|
||||
@Override
|
||||
public List<TcYqyj> selectTcYqyjList(TcYqyj tcYqyj)
|
||||
{
|
||||
return tcYqyjMapper.selectTcYqyjList(tcYqyj);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增舆情预警
|
||||
*
|
||||
* @param tcYqyj 舆情预警
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertTcYqyj(TcYqyj tcYqyj)
|
||||
{
|
||||
tcYqyj.setCreateTime(DateUtils.getNowDate());
|
||||
return tcYqyjMapper.insertTcYqyj(tcYqyj);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改舆情预警
|
||||
*
|
||||
* @param tcYqyj 舆情预警
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateTcYqyj(TcYqyj tcYqyj)
|
||||
{
|
||||
tcYqyj.setUpdateTime(DateUtils.getNowDate());
|
||||
return tcYqyjMapper.updateTcYqyj(tcYqyj);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除舆情预警
|
||||
*
|
||||
* @param ids 需要删除的舆情预警主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcYqyjByIds(Long[] ids)
|
||||
{
|
||||
return tcYqyjMapper.deleteTcYqyjByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除舆情预警信息
|
||||
*
|
||||
* @param id 舆情预警主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcYqyjById(Long id)
|
||||
{
|
||||
return tcYqyjMapper.deleteTcYqyjById(id);
|
||||
}
|
||||
}
|
@ -0,0 +1,96 @@
|
||||
package com.ruoyi.tcZz.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.common.utils.DateUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.ruoyi.tcZz.mapper.TcZbxqMapper;
|
||||
import com.ruoyi.tcZz.domain.TcZbxq;
|
||||
import com.ruoyi.tcZz.service.ITcZbxqService;
|
||||
|
||||
/**
|
||||
* 转办量、转办详情Service业务层处理
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2023-10-12
|
||||
*/
|
||||
@Service
|
||||
public class TcZbxqServiceImpl implements ITcZbxqService
|
||||
{
|
||||
@Autowired
|
||||
private TcZbxqMapper tcZbxqMapper;
|
||||
|
||||
/**
|
||||
* 查询 转办量、转办详情
|
||||
*
|
||||
* @param id 转办量、转办详情主键
|
||||
* @return 转办量、转办详情
|
||||
*/
|
||||
@Override
|
||||
public TcZbxq selectTcZbxqById(Long id)
|
||||
{
|
||||
return tcZbxqMapper.selectTcZbxqById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询 转办量、转办详情列表
|
||||
*
|
||||
* @param tcZbxq 转办量、转办详情
|
||||
* @return 转办量、转办详情
|
||||
*/
|
||||
@Override
|
||||
public List<TcZbxq> selectTcZbxqList(TcZbxq tcZbxq)
|
||||
{
|
||||
return tcZbxqMapper.selectTcZbxqList(tcZbxq);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增 转办量、转办详情
|
||||
*
|
||||
* @param tcZbxq 转办量、转办详情
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertTcZbxq(TcZbxq tcZbxq)
|
||||
{
|
||||
tcZbxq.setCreateTime(DateUtils.getNowDate());
|
||||
return tcZbxqMapper.insertTcZbxq(tcZbxq);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改 转办量、转办详情
|
||||
*
|
||||
* @param tcZbxq 转办量、转办详情
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateTcZbxq(TcZbxq tcZbxq)
|
||||
{
|
||||
tcZbxq.setUpdateTime(DateUtils.getNowDate());
|
||||
return tcZbxqMapper.updateTcZbxq(tcZbxq);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除 转办量、转办详情
|
||||
*
|
||||
* @param ids 需要删除的 转办量、转办详情主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcZbxqByIds(Long[] ids)
|
||||
{
|
||||
return tcZbxqMapper.deleteTcZbxqByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除 转办量、转办详情信息
|
||||
*
|
||||
* @param id 转办量、转办详情主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteTcZbxqById(Long id)
|
||||
{
|
||||
return tcZbxqMapper.deleteTcZbxqById(id);
|
||||
}
|
||||
}
|
@ -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.TcDtsxMapper">
|
||||
|
||||
<resultMap type="TcDtsx" id="TcDtsxResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="jcCount" column="jc_count" />
|
||||
<result property="pcCount" column="pc_count" />
|
||||
<result property="yqCount" column="yq_count" />
|
||||
<result property="yqZb" column="yq_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="selectTcDtsxVo">
|
||||
select id, jc_count, pc_count, yq_count, yq_zb, create_by, create_time, update_by, update_time, remark from tc_dtsx
|
||||
</sql>
|
||||
|
||||
<select id="selectTcDtsxList" parameterType="TcDtsx" resultMap="TcDtsxResult">
|
||||
<include refid="selectTcDtsxVo"/>
|
||||
<where>
|
||||
<if test="jcCount != null and jcCount != ''"> and jc_count = #{jcCount}</if>
|
||||
<if test="pcCount != null and pcCount != ''"> and pc_count = #{pcCount}</if>
|
||||
<if test="yqCount != null and yqCount != ''"> and yq_count = #{yqCount}</if>
|
||||
<if test="yqZb != null and yqZb != ''"> and yq_zb = #{yqZb}</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="selectTcDtsxById" parameterType="Long" resultMap="TcDtsxResult">
|
||||
<include refid="selectTcDtsxVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertTcDtsx" parameterType="TcDtsx" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into tc_dtsx
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="jcCount != null">jc_count,</if>
|
||||
<if test="pcCount != null">pc_count,</if>
|
||||
<if test="yqCount != null">yq_count,</if>
|
||||
<if test="yqZb != null">yq_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="jcCount != null">#{jcCount},</if>
|
||||
<if test="pcCount != null">#{pcCount},</if>
|
||||
<if test="yqCount != null">#{yqCount},</if>
|
||||
<if test="yqZb != null">#{yqZb},</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="updateTcDtsx" parameterType="TcDtsx">
|
||||
update tc_dtsx
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="jcCount != null">jc_count = #{jcCount},</if>
|
||||
<if test="pcCount != null">pc_count = #{pcCount},</if>
|
||||
<if test="yqCount != null">yq_count = #{yqCount},</if>
|
||||
<if test="yqZb != null">yq_zb = #{yqZb},</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="deleteTcDtsxById" parameterType="Long">
|
||||
delete from tc_dtsx where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteTcDtsxByIds" parameterType="String">
|
||||
delete from tc_dtsx 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.TcMtlxMapper">
|
||||
|
||||
<resultMap type="TcMtlx" id="TcMtlxResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="name" column="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="selectTcMtlxVo">
|
||||
select id, name, zb, create_by, create_time, update_by, update_time, remark from tc_mtlx
|
||||
</sql>
|
||||
|
||||
<select id="selectTcMtlxList" parameterType="TcMtlx" resultMap="TcMtlxResult">
|
||||
<include refid="selectTcMtlxVo"/>
|
||||
<where>
|
||||
<if test="id != null "> and id = #{id}</if>
|
||||
<if test="name != null and name != ''"> and name like concat('%', #{name}, '%')</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="selectTcMtlxById" parameterType="Long" resultMap="TcMtlxResult">
|
||||
<include refid="selectTcMtlxVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertTcMtlx" parameterType="TcMtlx" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into tc_mtlx
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="name != null">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="name != null">#{name},</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="updateTcMtlx" parameterType="TcMtlx">
|
||||
update tc_mtlx
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="name != null">name = #{name},</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="deleteTcMtlxById" parameterType="Long">
|
||||
delete from tc_mtlx where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteTcMtlxByIds" parameterType="String">
|
||||
delete from tc_mtlx 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.TcSslxMapper">
|
||||
|
||||
<resultMap type="TcSslx" id="TcSslxResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="name" column="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="selectTcSslxVo">
|
||||
select id, name, zb, create_by, create_time, update_by, update_time, remark from tc_sslx
|
||||
</sql>
|
||||
|
||||
<select id="selectTcSslxList" parameterType="TcSslx" resultMap="TcSslxResult">
|
||||
<include refid="selectTcSslxVo"/>
|
||||
<where>
|
||||
<if test="id != null "> and id = #{id}</if>
|
||||
<if test="name != null and name != ''"> and name like concat('%', #{name}, '%')</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="selectTcSslxById" parameterType="Long" resultMap="TcSslxResult">
|
||||
<include refid="selectTcSslxVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertTcSslx" parameterType="TcSslx" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into tc_sslx
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="name != null">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="name != null">#{name},</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="updateTcSslx" parameterType="TcSslx">
|
||||
update tc_sslx
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="name != null">name = #{name},</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="deleteTcSslxById" parameterType="Long">
|
||||
delete from tc_sslx where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteTcSslxByIds" parameterType="String">
|
||||
delete from tc_sslx where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
@ -0,0 +1,107 @@
|
||||
<?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.TcYqbgMapper">
|
||||
|
||||
<resultMap type="TcYqbg" id="TcYqbgResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="areaId" column="area_id" />
|
||||
<result property="isStatus" column="isStatus" />
|
||||
<result property="type" column="type" />
|
||||
<result property="title" column="title" />
|
||||
<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="selectTcYqbgVo">
|
||||
select id, area_id, isStatus, type, title, file_name, file_url, create_by, create_time, update_by, update_time, remark from tc_yqbg
|
||||
</sql>
|
||||
|
||||
<select id="selectTcYqbgList" parameterType="TcYqbg" resultMap="TcYqbgResult">
|
||||
<include refid="selectTcYqbgVo"/>
|
||||
<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="type != null "> and type = #{type}</if>
|
||||
<if test="title != null and title != ''"> and title = #{title}</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="selectTcYqbgById" parameterType="Long" resultMap="TcYqbgResult">
|
||||
<include refid="selectTcYqbgVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertTcYqbg" parameterType="TcYqbg" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into tc_yqbg
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="areaId != null">area_id,</if>
|
||||
<if test="isStatus != null">isStatus,</if>
|
||||
<if test="type != null">type,</if>
|
||||
<if test="title != null">title,</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="type != null">#{type},</if>
|
||||
<if test="title != null">#{title},</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="updateTcYqbg" parameterType="TcYqbg">
|
||||
update tc_yqbg
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="areaId != null">area_id = #{areaId},</if>
|
||||
<if test="isStatus != null">isStatus = #{isStatus},</if>
|
||||
<if test="type != null">type = #{type},</if>
|
||||
<if test="title != null">title = #{title},</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="deleteTcYqbgById" parameterType="Long">
|
||||
delete from tc_yqbg where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteTcYqbgByIds" parameterType="String">
|
||||
delete from tc_yqbg 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.TcYqxxlnumMapper">
|
||||
|
||||
<resultMap type="TcYqxxlnum" id="TcYqxxlnumResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="count1" column="count1" />
|
||||
<result property="count2" column="count2" />
|
||||
<result property="count3" column="count3" />
|
||||
<result property="count4" column="count4" />
|
||||
<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="selectTcYqxxlnumVo">
|
||||
select id, count1, count2, count3, count4, create_by, create_time, update_by, update_time, remark from tc_yqxxlnum
|
||||
</sql>
|
||||
|
||||
<select id="selectTcYqxxlnumList" parameterType="TcYqxxlnum" resultMap="TcYqxxlnumResult">
|
||||
<include refid="selectTcYqxxlnumVo"/>
|
||||
<where>
|
||||
<if test="id != null "> and id = #{id}</if>
|
||||
<if test="count1 != null "> and count1 = #{count1}</if>
|
||||
<if test="count2 != null "> and count2 = #{count2}</if>
|
||||
<if test="count3 != null "> and count3 = #{count3}</if>
|
||||
<if test="count4 != null "> and count4 = #{count4}</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="selectTcYqxxlnumById" parameterType="Long" resultMap="TcYqxxlnumResult">
|
||||
<include refid="selectTcYqxxlnumVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertTcYqxxlnum" parameterType="TcYqxxlnum" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into tc_yqxxlnum
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="count1 != null">count1,</if>
|
||||
<if test="count2 != null">count2,</if>
|
||||
<if test="count3 != null">count3,</if>
|
||||
<if test="count4 != null">count4,</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="count1 != null">#{count1},</if>
|
||||
<if test="count2 != null">#{count2},</if>
|
||||
<if test="count3 != null">#{count3},</if>
|
||||
<if test="count4 != null">#{count4},</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="updateTcYqxxlnum" parameterType="TcYqxxlnum">
|
||||
update tc_yqxxlnum
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="count1 != null">count1 = #{count1},</if>
|
||||
<if test="count2 != null">count2 = #{count2},</if>
|
||||
<if test="count3 != null">count3 = #{count3},</if>
|
||||
<if test="count4 != null">count4 = #{count4},</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="deleteTcYqxxlnumById" parameterType="Long">
|
||||
delete from tc_yqxxlnum where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteTcYqxxlnumByIds" parameterType="String">
|
||||
delete from tc_yqxxlnum where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
@ -0,0 +1,107 @@
|
||||
<?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.TcYqyjMapper">
|
||||
|
||||
<resultMap type="TcYqyj" id="TcYqyjResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="areaId" column="area_id" />
|
||||
<result property="isStatus" column="isStatus" />
|
||||
<result property="title" column="title" />
|
||||
<result property="source" column="source" />
|
||||
<result property="dateTime" column="date_time" />
|
||||
<result property="content" column="content" />
|
||||
<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="selectTcYqyjVo">
|
||||
select id, area_id, isStatus, title, source, date_time, content, create_by, create_time, update_by, update_time, remark from tc_yqyj
|
||||
</sql>
|
||||
|
||||
<select id="selectTcYqyjList" parameterType="TcYqyj" resultMap="TcYqyjResult">
|
||||
<include refid="selectTcYqyjVo"/>
|
||||
<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="title != null and title != ''"> and title = #{title}</if>
|
||||
<if test="source != null and source != ''"> and source = #{source}</if>
|
||||
<if test="params.beginDateTime != null and params.beginDateTime != '' and params.endDateTime != null and params.endDateTime != ''"> and date_time between #{params.beginDateTime} and #{params.endDateTime}</if>
|
||||
<if test="content != null and content != ''"> and content = #{content}</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="selectTcYqyjById" parameterType="Long" resultMap="TcYqyjResult">
|
||||
<include refid="selectTcYqyjVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertTcYqyj" parameterType="TcYqyj" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into tc_yqyj
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="areaId != null">area_id,</if>
|
||||
<if test="isStatus != null">isStatus,</if>
|
||||
<if test="title != null">title,</if>
|
||||
<if test="source != null">source,</if>
|
||||
<if test="dateTime != null">date_time,</if>
|
||||
<if test="content != null">content,</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="title != null">#{title},</if>
|
||||
<if test="source != null">#{source},</if>
|
||||
<if test="dateTime != null">#{dateTime},</if>
|
||||
<if test="content != null">#{content},</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="updateTcYqyj" parameterType="TcYqyj">
|
||||
update tc_yqyj
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="areaId != null">area_id = #{areaId},</if>
|
||||
<if test="isStatus != null">isStatus = #{isStatus},</if>
|
||||
<if test="title != null">title = #{title},</if>
|
||||
<if test="source != null">source = #{source},</if>
|
||||
<if test="dateTime != null">date_time = #{dateTime},</if>
|
||||
<if test="content != null">content = #{content},</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="deleteTcYqyjById" parameterType="Long">
|
||||
delete from tc_yqyj where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteTcYqyjByIds" parameterType="String">
|
||||
delete from tc_yqyj where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
@ -0,0 +1,101 @@
|
||||
<?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.TcZbxqMapper">
|
||||
|
||||
<resultMap type="TcZbxq" id="TcZbxqResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="areaId" column="area_id" />
|
||||
<result property="isStatus" column="isStatus" />
|
||||
<result property="yqTitle" column="yq_title" />
|
||||
<result property="depName" column="dep_name" />
|
||||
<result property="yqState" column="yq_state" />
|
||||
<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="selectTcZbxqVo">
|
||||
select id, area_id, isStatus, yq_title, dep_name, yq_state, create_by, create_time, update_by, update_time, remark from tc_zbxq
|
||||
</sql>
|
||||
|
||||
<select id="selectTcZbxqList" parameterType="TcZbxq" resultMap="TcZbxqResult">
|
||||
<include refid="selectTcZbxqVo"/>
|
||||
<where>
|
||||
<if test="areaId != null and areaId != ''"> and area_id = #{areaId}</if>
|
||||
<if test="isStatus != null "> and isStatus = #{isStatus}</if>
|
||||
<if test="yqTitle != null and yqTitle != ''"> and yq_title = #{yqTitle}</if>
|
||||
<if test="depName != null and depName != ''"> and dep_name like concat('%', #{depName}, '%')</if>
|
||||
<if test="yqState != null and yqState != ''"> and yq_state = #{yqState}</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="selectTcZbxqById" parameterType="Long" resultMap="TcZbxqResult">
|
||||
<include refid="selectTcZbxqVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertTcZbxq" parameterType="TcZbxq" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into tc_zbxq
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="areaId != null">area_id,</if>
|
||||
<if test="isStatus != null">isStatus,</if>
|
||||
<if test="yqTitle != null">yq_title,</if>
|
||||
<if test="depName != null">dep_name,</if>
|
||||
<if test="yqState != null">yq_state,</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="yqTitle != null">#{yqTitle},</if>
|
||||
<if test="depName != null">#{depName},</if>
|
||||
<if test="yqState != null">#{yqState},</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="updateTcZbxq" parameterType="TcZbxq">
|
||||
update tc_zbxq
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="areaId != null">area_id = #{areaId},</if>
|
||||
<if test="isStatus != null">isStatus = #{isStatus},</if>
|
||||
<if test="yqTitle != null">yq_title = #{yqTitle},</if>
|
||||
<if test="depName != null">dep_name = #{depName},</if>
|
||||
<if test="yqState != null">yq_state = #{yqState},</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="deleteTcZbxqById" parameterType="Long">
|
||||
delete from tc_zbxq where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteTcZbxqByIds" parameterType="String">
|
||||
delete from tc_zbxq where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
Loading…
Reference in new issue