dongdingding 2 years ago
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));
}
}

@ -22,22 +22,22 @@ import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
* Controller
* Controller
*
* @author ruoyi
* @date 2023-10-12
*/
@RestController
@RequestMapping("/tcZz/yqxxltj")
@RequestMapping("/tcZz/netWorkYq/yqxxltj")
public class TcYqxxltjController extends BaseController
{
@Autowired
private ITcYqxxltjService tcYqxxltjService;
/**
*
*
*/
@PreAuthorize("@ss.hasPermi('tcZz:yqxxltj:list')")
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqxxltj:list')")
@GetMapping("/list")
public TableDataInfo list(TcYqxxltj tcYqxxltj)
{
@ -47,22 +47,22 @@ public class TcYqxxltjController extends BaseController
}
/**
*
*
*/
@PreAuthorize("@ss.hasPermi('tcZz:yqxxltj:export')")
@Log(title = "舆情信息量统计", businessType = BusinessType.EXPORT)
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqxxltj:export')")
@Log(title = "舆情信息量统计明細", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, TcYqxxltj tcYqxxltj)
{
List<TcYqxxltj> list = tcYqxxltjService.selectTcYqxxltjList(tcYqxxltj);
ExcelUtil<TcYqxxltj> util = new ExcelUtil<TcYqxxltj>(TcYqxxltj.class);
util.exportExcel(response, list, "舆情信息量统计数据");
util.exportExcel(response, list, "舆情信息量统计明細数据");
}
/**
*
*
*/
@PreAuthorize("@ss.hasPermi('tcZz:yqxxltj:query')")
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqxxltj:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
@ -70,10 +70,10 @@ public class TcYqxxltjController extends BaseController
}
/**
*
*
*/
@PreAuthorize("@ss.hasPermi('tcZz:yqxxltj:add')")
@Log(title = "舆情信息量统计", businessType = BusinessType.INSERT)
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqxxltj:add')")
@Log(title = "舆情信息量统计明細", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody TcYqxxltj tcYqxxltj)
{
@ -81,10 +81,10 @@ public class TcYqxxltjController extends BaseController
}
/**
*
*
*/
@PreAuthorize("@ss.hasPermi('tcZz:yqxxltj:edit')")
@Log(title = "舆情信息量统计", businessType = BusinessType.UPDATE)
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqxxltj:edit')")
@Log(title = "舆情信息量统计明細", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody TcYqxxltj tcYqxxltj)
{
@ -92,10 +92,10 @@ public class TcYqxxltjController extends BaseController
}
/**
*
*
*/
@PreAuthorize("@ss.hasPermi('tcZz:yqxxltj:remove')")
@Log(title = "舆情信息量统计", businessType = BusinessType.DELETE)
@PreAuthorize("@ss.hasPermi('tcZz/netWorkYq:yqxxltj:remove')")
@Log(title = "舆情信息量统计明細", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{

@ -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();
}
}

@ -2,28 +2,22 @@ package com.ruoyi.tcZz.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
/**
* tc_yqxxltj
* tc_yqxxltj
*
* @author ruoyi
* @date 2023-10-12
*/
@Data
@ApiModel("舆情信息量统计对象")
public class TcYqxxltj extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** $column.columnComment */
@ApiModelProperty(value = "id")
private Long id;
/** 区域id */
@ -54,4 +48,96 @@ public class TcYqxxltj extends BaseEntity
/** 内容 */
@Excel(name = "内容")
private String content;
public void setId(Long id)
{
this.id = id;
}
public Long getId()
{
return id;
}
public void setAreaId(String areaId)
{
this.areaId = areaId;
}
public String getAreaId()
{
return areaId;
}
public void setIsStatus(Long isStatus)
{
this.isStatus = isStatus;
}
public Long getIsStatus()
{
return isStatus;
}
public void setType(Long type)
{
this.type = type;
}
public Long getType()
{
return type;
}
public void setTitle(String title)
{
this.title = title;
}
public String getTitle()
{
return title;
}
public void setSource(String source)
{
this.source = source;
}
public String getSource()
{
return source;
}
public void setDateTime(Date dateTime)
{
this.dateTime = dateTime;
}
public Date getDateTime()
{
return dateTime;
}
public void setContent(String content)
{
this.content = content;
}
public String getContent()
{
return content;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("areaId", getAreaId())
.append("isStatus", getIsStatus())
.append("type", getType())
.append("title", getTitle())
.append("source", getSource())
.append("dateTime", getDateTime())
.append("content", getContent())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.append("remark", getRemark())
.toString();
}
}

@ -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();
}
}

@ -2,9 +2,6 @@ package com.ruoyi.tcZz.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
@ -16,14 +13,11 @@ import com.ruoyi.common.core.domain.BaseEntity;
* @author ruoyi
* @date 2023-10-12
*/
@Data
@ApiModel("舆情走势图对象")
public class TcYqzs extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** $column.columnComment */
@ApiModelProperty(value = "id")
private Long id;
/** 区域id */
@ -47,4 +41,66 @@ public class TcYqzs extends BaseEntity
@Excel(name = "敏感数量")
@ApiModelProperty(value = "敏感数量")
private Long count2;
public void setId(Long id)
{
this.id = id;
}
public Long getId()
{
return id;
}
public void setAreaId(Long areaId)
{
this.areaId = areaId;
}
public Long getAreaId()
{
return areaId;
}
public void setDateTime(Date dateTime)
{
this.dateTime = dateTime;
}
public Date getDateTime()
{
return dateTime;
}
public void setCount1(Long count1)
{
this.count1 = count1;
}
public Long getCount1()
{
return count1;
}
public void setCount2(Long count2)
{
this.count2 = count2;
}
public Long getCount2()
{
return count2;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("areaId", getAreaId())
.append("dateTime", getDateTime())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.append("remark", getRemark())
.append("count1", getCount1())
.append("count2", getCount2())
.toString();
}
}

@ -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);
}

@ -4,7 +4,7 @@ import java.util.List;
import com.ruoyi.tcZz.domain.TcYqxxltj;
/**
* Mapper
* Mapper
*
* @author ruoyi
* @date 2023-10-12
@ -12,47 +12,47 @@ import com.ruoyi.tcZz.domain.TcYqxxltj;
public interface TcYqxxltjMapper
{
/**
*
*
*
* @param id
* @return
* @param id
* @return
*/
public TcYqxxltj selectTcYqxxltjById(Long id);
/**
*
*
*
* @param tcYqxxltj
* @return
* @param tcYqxxltj
* @return
*/
public List<TcYqxxltj> selectTcYqxxltjList(TcYqxxltj tcYqxxltj);
/**
*
*
*
* @param tcYqxxltj
* @param tcYqxxltj
* @return
*/
public int insertTcYqxxltj(TcYqxxltj tcYqxxltj);
/**
*
*
*
* @param tcYqxxltj
* @param tcYqxxltj
* @return
*/
public int updateTcYqxxltj(TcYqxxltj tcYqxxltj);
/**
*
*
*
* @param id
* @param id
* @return
*/
public int deleteTcYqxxltjById(Long id);
/**
*
*
*
* @param ids
* @return

@ -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);
}

@ -4,7 +4,7 @@ import java.util.List;
import com.ruoyi.tcZz.domain.TcYqxxltj;
/**
* Service
* Service
*
* @author ruoyi
* @date 2023-10-12
@ -12,49 +12,49 @@ import com.ruoyi.tcZz.domain.TcYqxxltj;
public interface ITcYqxxltjService
{
/**
*
*
*
* @param id
* @return
* @param id
* @return
*/
public TcYqxxltj selectTcYqxxltjById(Long id);
/**
*
*
*
* @param tcYqxxltj
* @return
* @param tcYqxxltj
* @return
*/
public List<TcYqxxltj> selectTcYqxxltjList(TcYqxxltj tcYqxxltj);
/**
*
*
*
* @param tcYqxxltj
* @param tcYqxxltj
* @return
*/
public int insertTcYqxxltj(TcYqxxltj tcYqxxltj);
/**
*
*
*
* @param tcYqxxltj
* @param tcYqxxltj
* @return
*/
public int updateTcYqxxltj(TcYqxxltj tcYqxxltj);
/**
*
*
*
* @param ids
* @param ids
* @return
*/
public int deleteTcYqxxltjByIds(Long[] ids);
/**
*
*
*
* @param id
* @param id
* @return
*/
public int deleteTcYqxxltjById(Long id);

@ -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);
}
}

@ -9,7 +9,7 @@ import com.ruoyi.tcZz.domain.TcYqxxltj;
import com.ruoyi.tcZz.service.ITcYqxxltjService;
/**
* Service
* Service
*
* @author ruoyi
* @date 2023-10-12
@ -21,10 +21,10 @@ public class TcYqxxltjServiceImpl implements ITcYqxxltjService
private TcYqxxltjMapper tcYqxxltjMapper;
/**
*
*
*
* @param id
* @return
* @param id
* @return
*/
@Override
public TcYqxxltj selectTcYqxxltjById(Long id)
@ -33,10 +33,10 @@ public class TcYqxxltjServiceImpl implements ITcYqxxltjService
}
/**
*
*
*
* @param tcYqxxltj
* @return
* @param tcYqxxltj
* @return
*/
@Override
public List<TcYqxxltj> selectTcYqxxltjList(TcYqxxltj tcYqxxltj)
@ -45,9 +45,9 @@ public class TcYqxxltjServiceImpl implements ITcYqxxltjService
}
/**
*
*
*
* @param tcYqxxltj
* @param tcYqxxltj
* @return
*/
@Override
@ -58,9 +58,9 @@ public class TcYqxxltjServiceImpl implements ITcYqxxltjService
}
/**
*
*
*
* @param tcYqxxltj
* @param tcYqxxltj
* @return
*/
@Override
@ -71,9 +71,9 @@ public class TcYqxxltjServiceImpl implements ITcYqxxltjService
}
/**
*
*
*
* @param ids
* @param ids
* @return
*/
@Override
@ -83,9 +83,9 @@ public class TcYqxxltjServiceImpl implements ITcYqxxltjService
}
/**
*
*
*
* @param id
* @param id
* @return
*/
@Override

@ -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>

@ -27,13 +27,19 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="selectTcYqxxltjList" parameterType="TcYqxxltj" resultMap="TcYqxxltjResult">
<include refid="selectTcYqxxltjVo"/>
<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="source != null and source != ''"> and source = #{source}</if>
<if test="dateTime != null "> and date_time = #{dateTime}</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>

@ -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…
Cancel
Save