dongdingding
dongdingding 2 years ago
parent 3f053004c2
commit 421dbaf2a5

@ -78,6 +78,7 @@ public class TcAttackController extends BaseController
@PostMapping
public AjaxResult add(@RequestBody TcAttack tcAttack)
{
tcAttack.setIsStatus(true);
return toAjax(tcAttackService.insertTcAttack(tcAttack));
}

@ -77,6 +77,7 @@ public class TcBjsjController extends BaseController
@PostMapping
public AjaxResult add(@RequestBody TcBjsj tcBjsj)
{
tcBjsj.setIsStatus(true);
return toAjax(tcBjsjService.insertTcBjsj(tcBjsj));
}

@ -79,6 +79,7 @@ public class TcCommentatorController extends BaseController
@PostMapping
public AjaxResult add(@RequestBody TcCommentator tcCommentator)
{
tcCommentator.setIsStatus(true);
return toAjax(tcCommentatorService.insertTcCommentator(tcCommentator));
}

@ -77,6 +77,7 @@ public class TcDataSourceController extends BaseController
@PostMapping
public AjaxResult add(@RequestBody TcDataSource tcDataSource)
{
tcDataSource.setIsStatus(true);
return toAjax(tcDataSourceService.insertTcDataSource(tcDataSource));
}

@ -77,6 +77,7 @@ public class TcDengbaoSystemController extends BaseController
@PostMapping
public AjaxResult add(@RequestBody TcDengbaoSystem tcDengbaoSystem)
{
tcDengbaoSystem.setIsStatus(true);
return toAjax(tcDengbaoSystemService.insertTcDengbaoSystem(tcDengbaoSystem));
}

@ -61,6 +61,7 @@ public class TcDengbaoUnitController extends BaseController {
*/
@PostMapping
public AjaxResult add(@RequestBody TcDengbaoUnit tcDengbaoUnit) {
tcDengbaoUnit.setIsStatus(true);
return toAjax(tcDengbaoUnitService.insertTcDengbaoUnit(tcDengbaoUnit));
}

@ -63,6 +63,7 @@ public class TcDtSxController extends BaseController {
@PostMapping
public AjaxResult add(@RequestBody TcDtSx tcDtSx) {
tcDtSx.setIsStatus(true);
return toAjax(tcDtSxService.insertTcDtSx(tcDtSx));
}

@ -78,6 +78,7 @@ public class TcExtworkSafetyadminController extends BaseController
@PostMapping
public AjaxResult add(@RequestBody TcExtworkSafetyadmin tcExtworkSafetyadmin)
{
tcExtworkSafetyadmin.setIsStatus(true);
return toAjax(tcExtworkSafetyadminService.insertTcExtworkSafetyadmin(tcExtworkSafetyadmin));
}

@ -76,6 +76,7 @@ public class TcGovernmentWebController extends BaseController
@PostMapping
public AjaxResult add(@RequestBody TcGovernmentWeb tcGovernmentWeb)
{
tcGovernmentWeb.setIsStatus(true);
return toAjax(tcGovernmentWebService.insertTcGovernmentWeb(tcGovernmentWeb));
}

@ -77,6 +77,7 @@ public class TcIdcUnitController extends BaseController
@PostMapping
public AjaxResult add(@RequestBody TcIdcUnit tcIdcUnit)
{
tcIdcUnit.setIsStatus(true);
return toAjax(tcIdcUnitService.insertTcIdcUnit(tcIdcUnit));
}

@ -77,6 +77,7 @@ public class TcNetworkArticleController extends BaseController
@PostMapping
public AjaxResult add(@RequestBody TcNetworkArticle tcNetworkArticle)
{
tcNetworkArticle.setIsStatus(true);
return toAjax(tcNetworkArticleService.insertTcNetworkArticle(tcNetworkArticle));
}

@ -77,6 +77,7 @@ public class TcNetworkEvaluateController extends BaseController
@PostMapping
public AjaxResult add(@RequestBody TcNetworkEvaluate tcNetworkEvaluate)
{
tcNetworkEvaluate.setIsStatus(true);
return toAjax(tcNetworkEvaluateService.insertTcNetworkEvaluate(tcNetworkEvaluate));
}

@ -77,6 +77,7 @@ public class TcNetworkMqPrincipalController extends BaseController
@PostMapping
public AjaxResult add(@RequestBody TcNetworkMqPrincipal tcNetworkMqPrincipal)
{
tcNetworkMqPrincipal.setIsStatus(true);
return toAjax(tcNetworkMqPrincipalService.insertTcNetworkMqPrincipal(tcNetworkMqPrincipal));
}

@ -77,6 +77,7 @@ public class TcNetworkPingtaiController extends BaseController
@PostMapping
public AjaxResult add(@RequestBody TcNetworkPingtai tcNetworkPingtai)
{
tcNetworkPingtai.setIsStatus(true);
return toAjax(tcNetworkPingtaiService.insertTcNetworkPingtai(tcNetworkPingtai));
}

@ -75,6 +75,7 @@ public class TcNetworkReportController extends BaseController
@PostMapping
public AjaxResult add(@RequestBody TcNetworkReport tcNetworkReport)
{
tcNetworkReport.setIsStatus(true);
return toAjax(tcNetworkReportService.insertTcNetworkReport(tcNetworkReport));
}

@ -63,6 +63,7 @@ public class TcNetworkSentimentController extends BaseController {
@PostMapping
public AjaxResult add(@RequestBody TcNetworkSentiment tcNetworkSentiment) {
tcNetworkSentiment.setIsStatus(true);
return toAjax(tcNetworkSentimentService.insertTcNetworkSentiment(tcNetworkSentiment));
}

@ -78,6 +78,7 @@ public class TcNetworkSupportUnitController extends BaseController
@PostMapping
public AjaxResult add(@RequestBody TcNetworkSupportUnit tcNetworkSupportUnit)
{
tcNetworkSupportUnit.setIsStatus(true);
return toAjax(tcNetworkSupportUnitService.insertTcNetworkSupportUnit(tcNetworkSupportUnit));
}

@ -78,6 +78,7 @@ public class TcNetworkVolunteerController extends BaseController
@PostMapping
public AjaxResult add(@RequestBody TcNetworkVolunteer tcNetworkVolunteer)
{
tcNetworkVolunteer.setIsStatus(true);
return toAjax(tcNetworkVolunteerService.insertTcNetworkVolunteer(tcNetworkVolunteer));
}

@ -77,6 +77,7 @@ public class TcQinglangZhuanxiangController extends BaseController
@PostMapping
public AjaxResult add(@RequestBody TcQinglangZhuanxiang tcQinglangZhuanxiang)
{
tcQinglangZhuanxiang.setIsStatus(true);
return toAjax(tcQinglangZhuanxiangService.insertTcQinglangZhuanxiang(tcQinglangZhuanxiang));
}

@ -75,6 +75,7 @@ public class TcQlzxxdsjController extends BaseController
@PostMapping
public AjaxResult add(@RequestBody TcQlzxxdsj tcQlzxxdsj)
{
tcQlzxxdsj.setIsStatus(true);
return toAjax(tcQlzxxdsjService.insertTcQlzxxdsj(tcQlzxxdsj));
}

@ -77,6 +77,7 @@ public class TcSafetyDangerController extends BaseController
@PostMapping
public AjaxResult add(@RequestBody TcSafetyDanger tcSafetyDanger)
{
tcSafetyDanger.setIsStatus(true);
return toAjax(tcSafetyDangerService.insertTcSafetyDanger(tcSafetyDanger));
}

@ -79,6 +79,7 @@ public class TcSafetyDetectionController extends BaseController
@PostMapping
public AjaxResult add(@RequestBody TcSafetyDetection tcSafetyDetection)
{
tcSafetyDetection.setIsStatus(true);
return toAjax(tcSafetyDetectionService.insertTcSafetyDetection(tcSafetyDetection));
}

@ -63,6 +63,7 @@ public class TcTbController extends BaseController {
@PostMapping
public AjaxResult add(@RequestBody TcTb tcTb) {
tcTb.setIsStatus(true);
return toAjax(tcTbService.insertTcTb(tcTb));
}

@ -67,6 +67,7 @@ public class TcTownController extends BaseController {
@PostMapping
public AjaxResult add(@RequestBody TcTown tcTown) {
tcTown.setIsStatus(true);
return toAjax(tcTownService.insertTcTown(tcTown));
}

@ -68,6 +68,7 @@ public class TcWorkDongtaiController extends BaseController
@PostMapping
public AjaxResult add(@RequestBody TcWorkDongtai tcWorkDongtai)
{
tcWorkDongtai.setIsStatus(true);
return toAjax(tcWorkDongtaiService.insertTcWorkDongtai(tcWorkDongtai));
}

@ -63,6 +63,7 @@ public class TcWpyrwwclController extends BaseController {
@PostMapping
public AjaxResult add(@RequestBody TcWpyrwwcl tcWpyrwwcl) {
tcWpyrwwcl.setIsStatus(true);
return toAjax(tcWpyrwwclService.insertTcWpyrwwcl(tcWpyrwwcl));
}

@ -63,6 +63,7 @@ public class TcYqFlController extends BaseController {
@PostMapping
public AjaxResult add(@RequestBody TcYqFl tcYqFl) {
tcYqFl.setIsStatus(true);
return toAjax(tcYqFlService.insertTcYqFl(tcYqFl));
}

@ -62,6 +62,7 @@ public class TcYqZsController extends BaseController {
@PostMapping
public AjaxResult add(@RequestBody TcYqZs tcYqZs) {
tcYqZs.setIsStatus(true);
return toAjax(tcYqZsService.insertTcYqZs(tcYqZs));
}

@ -78,6 +78,7 @@ public class TcZhongdianDomainController extends BaseController
@PostMapping
public AjaxResult add(@RequestBody TcZhongdianDomain tcZhongdianDomain)
{
tcZhongdianDomain.setIsStatus(true);
return toAjax(tcZhongdianDomainService.insertTcZhongdianDomain(tcZhongdianDomain));
}

@ -79,6 +79,7 @@ public class TcZhongdianEnterpriseController extends BaseController
@PostMapping
public AjaxResult add(@RequestBody TcZhongdianEnterprise tcZhongdianEnterprise)
{
tcZhongdianEnterprise.setIsStatus(true);
return toAjax(tcZhongdianEnterpriseService.insertTcZhongdianEnterprise(tcZhongdianEnterprise));
}

@ -79,6 +79,7 @@ public class TcZhongdianWorkController extends BaseController
@PostMapping
public AjaxResult add(@RequestBody TcZhongdianWork tcZhongdianWork)
{
tcZhongdianWork.setIsStatus(true);
return toAjax(tcZhongdianWorkService.insertTcZhongdianWork(tcZhongdianWork));
}

@ -36,4 +36,12 @@ public class TcAttack extends BaseEntity {
@ApiModelProperty(value = "攻击次数")
private Long attackCount;
/**
* 使
*/
@Excel(name = "0:禁用1启用")
@ApiModelProperty(value = "0:禁用1启用")
private Boolean isStatus ;
}

@ -43,4 +43,12 @@ public class TcBjsj extends BaseEntity {
@ApiModelProperty(value = "所占百分比")
private String percent;
/**
* 使
*/
@Excel(name = "0:禁用1启用")
@ApiModelProperty(value = "0:禁用1启用")
private Boolean isStatus ;
}

@ -108,4 +108,12 @@ public class TcCommentator extends BaseEntity {
@ApiModelProperty(value = "修改人ID")
private Long updateId;
/**
* 使
*/
@Excel(name = "0:禁用1启用")
@ApiModelProperty(value = "0:禁用1启用")
private Boolean isStatus ;
}

@ -127,4 +127,12 @@ public class TcDataSource extends BaseEntity {
@Excel(name = "修改者")
private Long updateId;
/**
* 使
*/
@Excel(name = "0:禁用1启用")
@ApiModelProperty(value = "0:禁用1启用")
private Boolean isStatus ;
}

@ -167,4 +167,12 @@ public class TcDengbaoSystem extends BaseEntity {
private Long updateId;
/**
* 使
*/
@Excel(name = "0:禁用1启用")
@ApiModelProperty(value = "0:禁用1启用")
private Boolean isStatus ;
}

@ -141,4 +141,12 @@ public class TcDengbaoUnit extends BaseEntity {
@ApiModelProperty(value = "修改人ID")
private Long updateId;
/**
* 使
*/
@Excel(name = "0:禁用1启用")
@ApiModelProperty(value = "0:禁用1启用")
private Boolean isStatus ;
}

@ -57,4 +57,12 @@ public class TcDtSx extends BaseEntity {
@ApiModelProperty(value = "舆情预警占比")
private Long yqyjZb;
/**
* 使
*/
@Excel(name = "0:禁用1启用")
@ApiModelProperty(value = "0:禁用1启用")
private Boolean isStatus ;
}

@ -106,4 +106,11 @@ public class TcExtworkSafetyadmin extends BaseEntity {
@ApiModelProperty(value = "修改人ID")
private Long updateId;
/**
* 使
*/
@Excel(name = "0:禁用1启用")
@ApiModelProperty(value = "0:禁用1启用")
private Boolean isStatus ;
}

@ -64,4 +64,11 @@ public class TcGovernmentWeb extends BaseEntity {
@ApiModelProperty(value = "修改人ID")
private Long updateId;
/**
* 使
*/
@Excel(name = "0:禁用1启用")
@ApiModelProperty(value = "0:禁用1启用")
private Boolean isStatus ;
}

@ -64,4 +64,12 @@ public class TcIdcUnit extends BaseEntity {
@ApiModelProperty(value = "修改人ID")
private Long updateId;
/**
* 使
*/
@Excel(name = "0:禁用1启用")
@ApiModelProperty(value = "0:禁用1启用")
private Boolean isStatus ;
}

@ -94,5 +94,10 @@ public class TcNetworkArticle extends BaseEntity {
private Long updateId;
/**
* 使
*/
@Excel(name = "0:禁用1启用")
@ApiModelProperty(value = "0:禁用1启用")
private Boolean isStatus ;
}

@ -126,4 +126,10 @@ public class TcNetworkEvaluate extends BaseEntity {
private Integer appraiserType;
/**
* 使
*/
@Excel(name = "0:禁用1启用")
@ApiModelProperty(value = "0:禁用1启用")
private Boolean isStatus ;
}

@ -86,4 +86,11 @@ public class TcNetworkMqPrincipal extends BaseEntity {
private Long updateId;
/**
* 使
*/
@Excel(name = "0:禁用1启用")
@ApiModelProperty(value = "0:禁用1启用")
private Boolean isStatus ;
}

@ -125,4 +125,11 @@ public class TcNetworkPingtai extends BaseEntity {
@ApiModelProperty(value = "修改人ID")
private Long updateId;
/**
* 使
*/
@Excel(name = "0:禁用1启用")
@ApiModelProperty(value = "0:禁用1启用")
private Boolean isStatus ;
}

@ -117,4 +117,12 @@ public class TcNetworkReport extends BaseEntity {
@ApiModelProperty(value = "修改人ID")
private Long updateId;
/**
* 使
*/
@Excel(name = "0:禁用1启用")
@ApiModelProperty(value = "0:禁用1启用")
private Boolean isStatus;
}

@ -157,4 +157,12 @@ public class TcNetworkSentiment extends BaseEntity {
@ApiModelProperty(value = "修改人ID")
private Long updateId;
/**
* 使
*/
@Excel(name = "0:禁用1启用")
@ApiModelProperty(value = "0:禁用1启用")
private Boolean isStatus ;
}

@ -64,4 +64,13 @@ public class TcNetworkSupportUnit extends BaseEntity {
@ApiModelProperty(value = "修改人ID")
private Long updateId;
/**
* 使
*/
@Excel(name = "0:禁用1启用")
@ApiModelProperty(value = "0:禁用1启用")
private Boolean isStatus ;
}

@ -93,4 +93,11 @@ public class TcNetworkVolunteer extends BaseEntity {
@ApiModelProperty(value = "修改人ID")
private Long updateId;
/**
* 使
*/
@Excel(name = "0:禁用1启用")
@ApiModelProperty(value = "0:禁用1启用")
private Boolean isStatus ;
}

@ -82,4 +82,11 @@ public class TcQinglangZhuanxiang extends BaseEntity {
@ApiModelProperty(value = "修改人ID")
private Long updateId;
/**
* 使
*/
@Excel(name = "0:禁用1启用")
@ApiModelProperty(value = "0:禁用1启用")
private Boolean isStatus ;
}

@ -56,4 +56,12 @@ public class TcQlzxxdsj extends BaseEntity {
@ApiModelProperty(value = "数量")
private Long count;
/**
* 使
*/
@Excel(name = "0:禁用1启用")
@ApiModelProperty(value = "0:禁用1启用")
private Boolean isStatus ;
}

@ -139,4 +139,12 @@ public class TcSafetyDanger extends BaseEntity {
@ApiModelProperty(value = "修改人ID")
private Long updateId;
/**
* 使
*/
@Excel(name = "0:禁用1启用")
@ApiModelProperty(value = "0:禁用1启用")
private Boolean isStatus ;
}

@ -152,4 +152,12 @@ public class TcSafetyDetection extends BaseEntity {
@Excel(name = "修改人ID")
private Long updateId;
/**
* 使
*/
@Excel(name = "0:禁用1启用")
@ApiModelProperty(value = "0:禁用1启用")
private Boolean isStatus ;
}

@ -106,7 +106,12 @@ public class TcTb extends BaseEntity {
@ApiModelProperty(value = "修改人ID")
private Long updateId;
/**
* 使
*/
@Excel(name = "0:禁用1启用")
@ApiModelProperty(value = "0:禁用1启用")
private Boolean isStatus ;
}

@ -57,4 +57,12 @@ public class TcTown extends BaseEntity
/** 子节点 */
private List<TcTown> children = new ArrayList<TcTown>();
/**
* 使
*/
@Excel(name = "0:禁用1启用")
@ApiModelProperty(value = "0:禁用1启用")
private Boolean isStatus ;
}

@ -91,5 +91,13 @@ public class TcWorkDongtai extends BaseEntity {
/**
* 使
*/
@Excel(name = "0:禁用1启用")
@ApiModelProperty(value = "0:禁用1启用")
private Boolean isStatus;
}

@ -34,4 +34,12 @@ public class TcWpyrwwcl extends BaseEntity {
@ApiModelProperty(value = "完成数")
private Long finish;
/**
* 使
*/
@Excel(name = "0:禁用1启用")
@ApiModelProperty(value = "0:禁用1启用")
private Boolean isStatus ;
}

@ -57,4 +57,11 @@ public class TcYqFl extends BaseEntity {
@ApiModelProperty(value = "涉事数量")
private String eventCount;
/**
* 使
*/
@Excel(name = "0:禁用1启用")
@ApiModelProperty(value = "0:禁用1启用")
private Boolean isStatus ;
}

@ -53,4 +53,12 @@ public class TcYqZs extends BaseEntity {
@ApiModelProperty(value = "数量")
private Long count;
/**
* 使
*/
@Excel(name = "0:禁用1启用")
@ApiModelProperty(value = "0:禁用1启用")
private Boolean isStatus ;
}

@ -59,4 +59,11 @@ public class TcZhongdianDomain extends BaseEntity
@Excel(name = "修改人ID")
private Long updateId;
/**
* 使
*/
@Excel(name = "0:禁用1启用")
@ApiModelProperty(value = "0:禁用1启用")
private Boolean isStatus ;
}

@ -79,4 +79,10 @@ public class TcZhongdianEnterprise extends BaseEntity
@Excel(name = "修改人ID")
private Long updateId;
/**
* 使
*/
@Excel(name = "0:禁用1启用")
@ApiModelProperty(value = "0:禁用1启用")
private Boolean isStatus ;
}

@ -90,4 +90,11 @@ public class TcZhongdianWork extends BaseEntity {
@Excel(name = "修改人ID")
private Long updateId;
/**
* 使
*/
@Excel(name = "0:禁用1启用")
@ApiModelProperty(value = "0:禁用1启用")
private Boolean isStatus ;
}

@ -7,37 +7,37 @@
<select id="getWorkDynamics" resultType="com.ruoyi.screen.domain.response.ZongzhiWorkDynamicsResponse">
SELECT type, materials_name as name,id
FROM `tc_work_dongtai` where materials_name is not null
FROM `tc_work_dongtai` where materials_name is not null and is_status ='1'
GROUP BY type, materials_name
</select>
<select id="getNetworkReport" resultType="com.ruoyi.screen.domain.response.ZongzhiNetworkReportResponse">
select count(*) as count, ROUND(count(case when state=2 THEN 1 ELSE NULL END ) * 100.0/ sum(count(*)) OVER (), 1
)as handle
FROM tc_network_report
FROM tc_network_report where is_status ='1'
</select>
<select id="getaction" resultType="com.ruoyi.screen.domain.response.ZongzhiActionResponse">
select sum(count) as count, month_year as zhuanxiangTime ,type
from tc_qlzxxdsj WHERE NOW() >= DATE_SUB(CURDATE(), INTERVAL 11 MONTH) AND month_year &lt;=NOW()
from tc_qlzxxdsj WHERE NOW() >= DATE_SUB(CURDATE(), INTERVAL 11 MONTH) AND month_year &lt;=NOW() and is_status ='1'
GROUP BY type, month_year ;
</select>
<select id="getReportByYear" resultType="com.ruoyi.screen.domain.response.ZongzhiReportByYearResponse">
SELECT count(*)as count,source,DATE_FORMAT(NOW(), '%Y') as year
FROM `tc_network_report`
FROM `tc_network_report` where is_status ='1'
GROUP BY source
</select>
<select id="getActionDynamicst"
resultType="com.ruoyi.screen.domain.response.ZongzhiActionDynamicstResponse">
select zhuanxiang_img as zhuanxiangImg,zhuanxiang_content as content,zhuanxiang_title as title,id
from tc_qinglang_zhuanxiang
from tc_qinglang_zhuanxiang where is_status ='1'
</select>
<select id="getWorkDynamicsCount" resultType="java.lang.Integer">
SELECT count(*) as count
FROM `tc_work_dongtai`
where materials_name is not null
where materials_name is not null and is_status ='1'
</select>
<select id="getMap" resultType="com.ruoyi.screen.domain.response.ZongzhiMapResponse">
select id,longitude,latitude,jbdx from tc_network_report
select id,longitude,latitude,jbdx from tc_network_report where is_status ='1'
</select>

@ -7,23 +7,36 @@
<select id="getArticles" resultType="com.ruoyi.screen.domain.response.ZongzhiArticlesResponse">
select type, count(*) as count
from tc_network_article group by type
from tc_network_article where is_status ='1' group by type
</select>
<select id="getAppraiser" resultType="com.ruoyi.screen.domain.response.ZongzhiAppraiserResponse">
select name as type, sum(percent) AS pt
from tc_bjsj
where is_status = '1'
GROUP BY type
</select>
<select id="getAppraiserComplete"
resultType="com.ruoyi.screen.domain.response.ZongzhiAppraiserCompleteResponse">
select SUM(s.finish) b.name from(
SELECT
CASE
WHEN LOCATE(',', area_id) = 0 THEN TRIM(TRAILING ']' FROM SUBSTR(area_id, LOCATE('[', area_id) + 1))
ELSE TRIM(TRAILING ']' FROM SUBSTRING_INDEX(area_id, ',', -1))
END AS area_id,finsh
FROM tc_wpyrwwcl)s left join tc_town b on s.area_id = b.id
GROUP BY s.area_id
SUM( s.finish ),
b.NAME
FROM
(
SELECT
CASE
WHEN
LOCATE( ',', area_id ) = 0 THEN
TRIM( TRAILING ']' FROM SUBSTR( area_id, LOCATE( '[', area_id ) + 1 ) ) ELSE TRIM( TRAILING ']' FROM SUBSTRING_INDEX( area_id, ',', - 1 ) )
END AS area_id,
finish
FROM
tc_wpyrwwcl
WHERE
is_status = '1' ) s
LEFT JOIN tc_town b ON s.area_id = b.id
GROUP BY
s.area_id
</select>
</mapper>

@ -8,57 +8,67 @@
<select id="getSentimentType" resultType="com.ruoyi.screen.domain.response.ZongzhiSentimentTypeResponse">
select count(*) as count , type,date_time as publishTime
from tc_yq_zs
GROUP BY type,date_time
where is_status = '1'
GROUP BY type, date_time
</select>
<select id="getSentimenCount" resultType="com.ruoyi.screen.domain.response.ZongzhiSentimentCountResponse">
select count(*) as count ,sentiment_type as type,ROUND(COUNT(*) * 100.0 / SUM(COUNT(*)) OVER (), 1) AS pt
from tc_network_sentiment
where sentiment_type !='2'
where sentiment_type !='2' and is_status = '1'
GROUP BY sentiment_type
</select>
<select id="getSentimenClassificationBymediaType"
resultType="com.ruoyi.screen.domain.response.ZongzhiSentimenClassificationResponse">
select media_type as type,sum(media_count)as pt
from tc_yq_fl where media_type is not null
select media_type as type, sum(media_count) as pt
from tc_yq_fl
where media_type is not null
and is_status = '1'
GROUP BY media_type
</select>
<select id="getSentimenClassificationByeventType"
resultType="com.ruoyi.screen.domain.response.ZongzhiSentimenClassificationResponse">
select event_type as type, sum(event_count)as pt
from tc_yq_fl where event_type is not null
select event_type as type, sum(event_count) as pt
from tc_yq_fl
where event_type is not null
and is_status = '1'
GROUP BY event_type
</select>
<select id="getWordCloud" resultType="com.ruoyi.screen.domain.response.ZongzhiSentimenWordCloudResponse">
select yuci_type AS type
from tc_network_sentiment
where is_status = '1'
GROUP BY yuci_type
</select>
<select id="getSentimentReport"
resultType="com.ruoyi.screen.domain.response.ZongzhiSentimentReportResponse">
select a.reminder, b.isturn
from (select count(reminder) as reminder from tc_network_sentiment where reminder ='1') a,
(select count(*) as isturn from tc_network_sentiment where isturn = '1') b
from (select count(reminder) as reminder from tc_network_sentiment where reminder = '1' and is_status = '1') a,
(select count(*) as isturn from tc_network_sentiment where isturn = '1' and is_status = '1') b
</select>
<select id="getSentimentReportbyReportType"
resultType="com.ruoyi.screen.domain.response.ZongzhiReportResponse">
select count(sentiment_report_type) as count, sentiment_report_type as sentimentReportType
from tc_network_sentiment where sentiment_report_type is not null
from tc_network_sentiment
where sentiment_report_type is not null and is_status = '1'
GROUP BY sentiment_report_type
</select>
<select id="getSentimentDept" resultType="com.ruoyi.screen.domain.response.ZongzhiSentimentDeptResponse">
select dep_name, count(*) as count
from tc_network_sentiment
where isturn ='1'
where isturn ='1' and is_status = '1'
GROUP BY dep_name
</select>
<select id="getSentimentFiltering"
resultType="com.ruoyi.screen.domain.response.ZongzhiSentimentfilterResponse">
select a.count1,b.count2,c.count3,d.pt from
(select count(*) as count1 from tc_network_sentiment where sentiment_type=6)a,
(select count(*) as count2 from tc_network_sentiment where sentiment_type=7)b,
(select count(*) as count3 from tc_network_sentiment where sentiment_type=8)c,
(select ROUND(COUNT(case when sentiment_type=8 then sentiment_type else null end) * 100.0 / SUM(COUNT(*)) OVER (), 1) AS pt from tc_network_sentiment)d
select a.count1, b.count2, c.count3, d.pt
from (select count(*) as count1 from tc_network_sentiment where sentiment_type = 6 and is_status = '1') a,
(select count(*) as count2 from tc_network_sentiment where sentiment_type = 7 and is_status = '1') b,
(select count(*) as count3 from tc_network_sentiment where sentiment_type = 8 and is_status = '1') c,
(select ROUND(COUNT(case when sentiment_type = 8 then sentiment_type else null end) * 100.0 /
SUM(COUNT(*)) OVER (), 1) AS pt
from tc_network_sentiment
where is_status = '1') d
</select>
</mapper>

@ -7,84 +7,101 @@
<select id="getSource" resultType="com.ruoyi.screen.domain.response.ZongzhiSourceResponse">
select count(*) as count ,type
from tc_data_source where type is not null
from tc_data_source
where type is not null and is_status = '1'
GROUP BY type
</select>
<select id="getsafety" resultType="com.ruoyi.screen.domain.response.ZongzhiSafetyResponse">
select count(*) as count ,attack_type AS attackType
from tc_safety_detection
where is_status = '1'
GROUP BY attack_type
</select>
<select id="getSafetyList" resultType="com.ruoyi.screen.domain.response.ZongzhiSafetyListResponse">
select source_ip, attack_time AS attackTime , attack_type as attackType
select source_ip, attack_time AS attackTime, attack_type as attackType
from tc_safety_detection
where is_status = '1'
</select>
<select id="getAttack" resultType="com.ruoyi.screen.domain.response.ZongzhiAttackResponse">
SELECT name, attack_count as attackCount
FROM tc_attack
where is_status = '1'
</select>
<select id="getUnAttackTop" resultType="com.ruoyi.screen.domain.response.ZongzhiUnAttackResponse">
select attacked_ip as attackedIp, attacked_ip_region as attackIpRegion, count(*)as count, ROUND(COUNT(*) * 100.0
select attacked_ip as attackedIp,
attacked_ip_region as attackIpRegion,
count(*)as count, ROUND(COUNT(*) * 100.0
/ SUM(COUNT(*)) OVER (), 1) AS pt
from tc_safety_detection
where is_status = '1'
GROUP BY attacked_ip
ORDER BY count desc limit 5
</select>
<select id="getSafetyHazard" resultType="com.ruoyi.screen.domain.response.ZongzhiSafetyHazardResponse">
select type,count(*) as count from tc_safety_danger GROUP BY type
select type, count(*) as count
from tc_safety_danger
where is_status = '1'
GROUP BY type
</select>
<select id="getHazardDisposal" resultType="com.ruoyi.screen.domain.response.ZongzhiHazardDisposalResponse">
select risk_name as riskName, level, unit_name AS unitName, risk_source AS riskSource
from tc_safety_danger
where is_status = '1'
</select>
<select id="getNotification" resultType="com.ruoyi.screen.domain.response.ZongzhiNotificationResponse">
select unit_name as unitName , ip_dns as ipDns, state from tc_safety_danger
select unit_name as unitName, ip_dns as ipDns, state
from tc_safety_danger
where is_status = '1'
</select>
<select id="getDengbaoSystem" resultType="com.ruoyi.screen.domain.response.ZongzhiDengbaoSystemResponse">
select count(*) as count,'等保系统' as name from tc_dengbao_system
select count(*) as count,'等保系统' as name
from tc_dengbao_system
where is_status = '1'
</select>
<select id="getDengbaoUnit" resultType="com.ruoyi.screen.domain.response.ZongzhiDengbaoUnitResponse">
select count(*) as count, '等保单位' as name
from tc_dengbao_unit
where is_status = '1'
</select>
<select id="getZhengfu" resultType="com.ruoyi.screen.domain.response.ZongzhiZhengfuResponse">
select count(*) as count, '政府网站' as name
from tc_government_web
where is_status = '1'
</select>
<select id="getIdc" resultType="com.ruoyi.screen.domain.response.ZongzhiIdcResponse">
select count(*) as count, 'IDC单位' as name
from tc_idc_unit
where is_status = '1'
</select>
<select id="getTbArea" resultType="com.ruoyi.screen.domain.response.ZongzhiTbAreaResponse">
SELECT
s.areaid AS areaId,
s.area_id as Area,
ROUND( COUNT( * ) * 100.0 / SUM( COUNT( * ) ) OVER ( ), 1 ) AS pt,
count( * ) AS count
FROM
(
SELECT
CASE
WHEN
LOCATE( ',', area_id ) = 0 THEN
TRIM( TRAILING ']' FROM SUBSTR( area_id, LOCATE( '[', area_id ) + 1 ) ) ELSE TRIM( TRAILING ']' FROM
SUBSTRING_INDEX( area_id, ',', - 1 ) )
END AS areaid,area_id
SELECT s.areaid AS areaId,
s.area_id as Area,
ROUND(COUNT(*) * 100.0 / SUM(COUNT(*)) OVER ( ), 1) AS pt,
count(*) AS count
FROM
tc_tb
WHERE
tb_type = '1'
AND area_id IS NOT NULL
) s
(
SELECT
CASE
WHEN
LOCATE( ',', area_id ) = 0 THEN
TRIM ( TRAILING ']' FROM SUBSTR( area_id, LOCATE( '[', area_id ) + 1 ) ) ELSE TRIM ( TRAILING ']' FROM
SUBSTRING_INDEX( area_id, ',', - 1 ) )
END AS areaid, area_id
FROM
tc_tb
WHERE
tb_type = '1' and is_status = '1'
AND area_id IS NOT NULL
) s
GROUP BY
s.areaid
s.areaid
</select>
<select id="getTbDept" resultType="com.ruoyi.screen.domain.response.ZongzhiTbDeptResponse">
SELECT COUNT(*) AS count, dep_name
from tc_tb
where tb_type = '2'
where tb_type = '2' and is_status = '1'
group by dep_name
</select>
@ -92,14 +109,16 @@
SELECT COUNT(*) AS count,
count(case when state=1 then state else null end) as complete,
count(case when state=1 then state else null end) / COUNT(*) AS pt
FROM`tc_tb`WHERE DATE_FORMAT( tb_time, '%Y%m' ) = DATE_FORMAT( CURDATE( ) , '%Y%m' )
FROM `tc_tb`
WHERE DATE_FORMAT( tb_time, '%Y%m' ) = DATE_FORMAT( CURDATE( ), '%Y%m' ) and is_status = '1'
</select>
<select id="getthirdList"
resultType="com.ruoyi.screen.domain.response.ZongzhiTbDeptCompleteThirdMonthResponse">
SELECT COUNT(*) AS count,
count(case when state=1 then state else null end) as complete,
count(case when state=1 then state else null end) / COUNT(*) AS pt
FROM `tc_tb` WHERE QUARTER(tb_time)=QUARTER(now());
FROM `tc_tb`
WHERE QUARTER(tb_time)=QUARTER(now()) and is_status = '1'
</select>
@ -108,8 +127,12 @@
SELECT COUNT(*) AS count,
count(case when state=1 then state else null end) as complete,
count(case when state=1 then state else null end) / COUNT(*) AS pt
FROM `tc_tb` WHERE DATE(tb_time) >= DATE_SUB(CURRENT_DATE(), INTERVAL 6 MONTH) and tb_time &lt;=
CURRENT_DATE();;
FROM `tc_tb`
WHERE DATE (tb_time) >= DATE_SUB(CURRENT_DATE ()
, INTERVAL 6 MONTH)
and tb_time &lt;=
CURRENT_DATE ()
and is_status = '1'
</select>
@ -119,7 +142,11 @@
SELECT COUNT(*) AS count,
count(case when state=1 then state else null end) as complete,
count(case when state=1 then state else null end) / COUNT(*) AS pt
FROM `tc_tb` WHERE DATE(tb_time) >= DATE_SUB(CURRENT_DATE(), INTERVAL 1 YEAR) and tb_time &lt;= CURRENT_DATE();;
FROM `tc_tb`
WHERE DATE (tb_time) >= DATE_SUB(CURRENT_DATE ()
, INTERVAL 1 YEAR)
and tb_time &lt;= CURRENT_DATE ()
and is_status = '1'
</select>
</mapper>

@ -8,10 +8,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="id" column="id" />
<result property="name" column="name" />
<result property="attackCount" column="attack_count" />
<result property="isStatus" column="is_status" />
</resultMap>
<sql id="selectTcAttackVo">
select id, name, attack_count from tc_attack
select id, name, attack_count ,is_status from tc_attack
</sql>
<select id="selectTcAttackList" parameterType="TcAttack" resultMap="TcAttackResult">
@ -19,6 +20,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<where>
<if test="name != null and name != ''"> and name like concat('%', #{name}, '%')</if>
<if test="attackCount != null "> and attack_count = #{attackCount}</if>
<if test="isStatus != null "> and is_status = #{isStatus}</if>
</where>
</select>
@ -33,11 +35,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="id != null">id,</if>
<if test="name != null">name,</if>
<if test="attackCount != null">attack_count,</if>
<if test="isStatus != null">is_status,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">#{id},</if>
<if test="name != null">#{name},</if>
<if test="attackCount != null">#{attackCount},</if>
<if test="isStatus != null">#{isStatus},</if>
</trim>
</insert>
@ -46,6 +50,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<trim prefix="SET" suffixOverrides=",">
<if test="name != null">name = #{name},</if>
<if test="attackCount != null">attack_count = #{attackCount},</if>
<if test="isStatus != null">is_status = #{isStatus},</if>
</trim>
where id = #{id}
</update>

@ -9,10 +9,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="areaId" column="area_id" />
<result property="name" column="name" />
<result property="percent" column="percent" />
<result property="isStatus" column="is_status" />
</resultMap>
<sql id="selectTcBjsjVo">
select id, area_id, name, percent from tc_bjsj
select id, area_id, name, percent,is_status from tc_bjsj
</sql>
<select id="selectTcBjsjList" parameterType="TcBjsj" resultMap="TcBjsjResult">
@ -21,6 +22,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="areaId != null "> and area_id = #{areaId}</if>
<if test="name != null and name != ''"> and name like concat('%', #{name}, '%')</if>
<if test="percent != null and percent != ''"> and percent = #{percent}</if>
<if test="isStatus != null "> and is_status = #{isStatus}</if>
</where>
</select>
@ -35,11 +37,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="areaId != null">area_id,</if>
<if test="name != null">name,</if>
<if test="percent != null">percent,</if>
<if test="isStatus != null">is_status,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="areaId != null">#{areaId},</if>
<if test="name != null">#{name},</if>
<if test="percent != null">#{percent},</if>
<if test="isStatus != null">#{isStatus},</if>
</trim>
</insert>
@ -49,6 +53,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="areaId != null">area_id = #{areaId},</if>
<if test="name != null">name = #{name},</if>
<if test="percent != null">percent = #{percent},</if>
<if test="isStatus != null">is_status=#{isStatus},</if>
</trim>
where id = #{id}
</update>

@ -23,10 +23,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
<result property="isStatus" column="is_status" />
</resultMap>
<sql id="selectTcCommentatorVo">
select id, area_id, name, sex, age, nationality, politics_status, unit, phone_num, vx_num, type, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_commentator
select id, area_id, name, sex, age, nationality, is_status,politics_status, unit, phone_num, vx_num, type, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_commentator
</sql>
<select id="selectTcCommentatorList" parameterType="TcCommentator" resultMap="TcCommentatorResult">
@ -44,6 +45,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="type != null "> and type = #{type}</if>
<if test="createId != null "> and create_id = #{createId}</if>
<if test="updateId != null "> and update_id = #{updateId}</if>
<if test="isStatus != null "> and is_status = #{isStatus}</if>
</where>
</select>
@ -72,6 +74,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
<if test="isStatus != null">is_status,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="areaId != null">#{areaId},</if>
@ -91,6 +94,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
<if test="isStatus != null">#{isStatus},</if>
</trim>
</insert>
@ -114,6 +118,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
<if test="isStatus != null">is_status=#{isStatus},</if>
</trim>
where id = #{id}
</update>

@ -25,10 +25,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
<result property="isStatus" column="is_status" />
</resultMap>
<sql id="selectTcDataSourceVo">
select id, area_id, type, asset_name, aff_unit, aff_groups, systeam_name, url, ip_address, os, versions, is_focus, level, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_data_source
select id, area_id, type, asset_name, aff_unit, aff_groups, systeam_name, url, ip_address, os, versions, is_focus, level, create_id, create_by, create_time, update_id, update_by, update_time, remark,is_status from tc_data_source
</sql>
<select id="selectTcDataSourceList" parameterType="TcDataSource" resultMap="TcDataSourceResult">
@ -48,6 +49,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="level != null "> and level = #{level}</if>
<if test="createId != null "> and create_id = #{createId}</if>
<if test="updateId != null "> and update_id = #{updateId}</if>
<if test="isStatus != null "> and is_status = #{isStatus}</if>
</where>
</select>
@ -78,6 +80,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
<if test="isStatus != null">is_status,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="areaId != null">#{areaId},</if>
@ -99,6 +102,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
<if test="isStatus != null">#{isStatus},</if>
</trim>
</insert>
@ -124,6 +128,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
<if test="isStatus != null">is_status=#{isStatus},</if>
</trim>
where id = #{id}
</update>

@ -31,10 +31,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
<result property="isStatus" column="is_status" />
</resultMap>
<sql id="selectTcDengbaoSystemVo">
select id, area_id, steam_name, beian_num, safety_level, unit_name, yewu_type, services_area, services_obj, coverage_area, network_nature, system_situtation, use_time, is_rate, rank_time, review_case, is_parent, rank_report, system_state, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_dengbao_system
select id, area_id, steam_name, beian_num, safety_level, unit_name, yewu_type, services_area, services_obj, coverage_area, network_nature, system_situtation, use_time, is_rate, rank_time, review_case, is_parent, rank_report, system_state, create_id, create_by, create_time, update_id, update_by, update_time, remark,is_status from tc_dengbao_system
</sql>
<select id="selectTcDengbaoSystemList" parameterType="TcDengbaoSystem" resultMap="TcDengbaoSystemResult">
@ -59,6 +60,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="rankReport != null and rankReport != ''"> and rank_report = #{rankReport}</if>
<if test="systemState != null "> and system_state = #{systemState}</if>
<if test="createId != null "> and create_id = #{createId}</if>
<if test="isStatus != null "> and is_status = #{isStatus}</if>
<if test="updateId != null "> and update_id = #{updateId}</if>
</where>
</select>
@ -96,6 +98,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
<if test="isStatus != null">is_status,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="areaId != null">#{areaId},</if>
@ -123,6 +126,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
<if test="isStatus != null">#{isStatus},</if>
</trim>
</insert>
@ -154,6 +158,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
<if test="isStatus != null">is_status=#{isStatus},</if>
</trim>
where id = #{id}
</update>

@ -28,10 +28,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
<result property="isStatus" column="is_status" />
</resultMap>
<sql id="selectTcDengbaoUnitVo">
select id, area_id, unit_name, post_code, unit_province, unit_city, unit_county, unit_street, area_code, affiliation, unit_type, tmt_type, fuze_name, fuze_duty, fuze_tel, fuze_email, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_dengbao_unit
select id, area_id, unit_name, is_status,post_code, unit_province, unit_city, unit_county, unit_street, area_code, affiliation, unit_type, tmt_type, fuze_name, fuze_duty, fuze_tel, fuze_email, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_dengbao_unit
</sql>
<select id="selectTcDengbaoUnitList" parameterType="TcDengbaoUnit" resultMap="TcDengbaoUnitResult">
@ -53,6 +54,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="fuzeTel != null and fuzeTel != ''"> and fuze_tel = #{fuzeTel}</if>
<if test="fuzeEmail != null and fuzeEmail != ''"> and fuze_email = #{fuzeEmail}</if>
<if test="createId != null "> and create_id = #{createId}</if>
<if test="isStatus != null "> and is_status = #{isStatus}</if>
<if test="updateId != null "> and update_id = #{updateId}</if>
</where>
</select>
@ -87,6 +89,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
<if test="isStatus != null">is_status,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="areaId != null">#{areaId},</if>
@ -111,6 +114,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
<if test="isStatus != null">#{isStatus},</if>
</trim>
</insert>
@ -139,6 +143,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
<if test="isStatus != null">is_status=#{isStatus},</if>
</trim>
where id = #{id}
</update>

@ -11,10 +11,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="pcxxCount" column="pcxx_count" />
<result property="yqyjCount" column="yqyj_count" />
<result property="yqyjZb" column="yqyj_zb" />
<result property="isStatus" column="is_status" />
</resultMap>
<sql id="selectTcDtSxVo">
select id, area_id, jcxx_count, pcxx_count, yqyj_count, yqyj_zb from tc_dt_sx
select id, area_id, is_status,jcxx_count, pcxx_count, yqyj_count, yqyj_zb from tc_dt_sx
</sql>
<select id="selectTcDtSxList" parameterType="TcDtSx" resultMap="TcDtSxResult">
@ -25,6 +26,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="pcxxCount != null "> and pcxx_count = #{pcxxCount}</if>
<if test="yqyjCount != null "> and yqyj_count = #{yqyjCount}</if>
<if test="yqyjZb != null "> and yqyj_zb = #{yqyjZb}</if>
<if test="isStatus != null "> and is_status = #{isStatus}</if>
</where>
</select>
@ -42,6 +44,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="pcxxCount != null">pcxx_count,</if>
<if test="yqyjCount != null">yqyj_count,</if>
<if test="yqyjZb != null">yqyj_zb,</if>
<if test="isStatus != null">is_status,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">#{id},</if>
@ -50,6 +53,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="pcxxCount != null">#{pcxxCount},</if>
<if test="yqyjCount != null">#{yqyjCount},</if>
<if test="yqyjZb != null">#{yqyjZb},</if>
<if test="isStatus != null">#{isStatus},</if>
</trim>
</insert>
@ -61,6 +65,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="pcxxCount != null">pcxx_count = #{pcxxCount},</if>
<if test="yqyjCount != null">yqyj_count = #{yqyjCount},</if>
<if test="yqyjZb != null">yqyj_zb = #{yqyjZb},</if>
<if test="isStatus != null">is_status=#{isStatus},</if>
</trim>
where id = #{id}
</update>

@ -23,10 +23,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
<result property="isStatus" column="is_status" />
</resultMap>
<sql id="selectTcExtworkSafetyadminVo">
select id, area_id, unit, first_principal, duty, direct_principal, duty1, fuze_keshi, network_aqg, duty2, tel, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_extwork_safetyadmin
select id, area_id, unit, is_status,first_principal, duty, direct_principal, duty1, fuze_keshi, network_aqg, duty2, tel, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_extwork_safetyadmin
</sql>
<select id="selectTcExtworkSafetyadminList" parameterType="TcExtworkSafetyadmin" resultMap="TcExtworkSafetyadminResult">
@ -44,6 +45,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="tel != null and tel != ''"> and tel = #{tel}</if>
<if test="createId != null "> and create_id = #{createId}</if>
<if test="updateId != null "> and update_id = #{updateId}</if>
<if test="isStatus != null "> and is_status = #{isStatus}</if>
</where>
</select>
@ -73,6 +75,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
<if test="isStatus != null">is_status,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">#{id},</if>
@ -93,6 +96,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
<if test="isStatus != null">#{isStatus},</if>
</trim>
</insert>
@ -116,6 +120,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
<if test="isStatus != null">is_status=#{isStatus},</if>
</trim>
where id = #{id}
</update>

@ -17,10 +17,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
<result property="isStatus" column="is_status" />
</resultMap>
<sql id="selectTcGovernmentWebVo">
select id, area_id, url, asset_name, asset_level, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_government_web
select id, area_id, url, asset_name, is_status,asset_level, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_government_web
</sql>
<select id="selectTcGovernmentWebList" parameterType="TcGovernmentWeb" resultMap="TcGovernmentWebResult">
@ -32,6 +33,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="assetLevel != null and assetLevel != ''"> and asset_level = #{assetLevel}</if>
<if test="createId != null "> and create_id = #{createId}</if>
<if test="updateId != null "> and update_id = #{updateId}</if>
<if test="isStatus != null "> and is_status = #{isStatus}</if>
</where>
</select>
@ -54,6 +56,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
<if test="isStatus != null">is_status,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="areaId != null">#{areaId},</if>
@ -67,6 +70,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
<if test="isStatus != null">#{isStatus},</if>
</trim>
</insert>
@ -84,6 +88,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
<if test="isStatus != null">is_status=#{isStatus},</if>
</trim>
where id = #{id}
</update>

@ -17,10 +17,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
<result property="isStatus" column="is_status" />
</resultMap>
<sql id="selectTcIdcUnitVo">
select id, area_id, unit_name, area, ip_data, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_idc_unit
select id, area_id, unit_name, area,is_status, ip_data, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_idc_unit
</sql>
<select id="selectTcIdcUnitList" parameterType="TcIdcUnit" resultMap="TcIdcUnitResult">
@ -32,6 +33,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="ipData != null and ipData != ''"> and ip_data = #{ipData}</if>
<if test="createId != null "> and create_id = #{createId}</if>
<if test="updateId != null "> and update_id = #{updateId}</if>
<if test="isStatus != null "> and is_status = #{isStatus}</if>
</where>
</select>
@ -54,6 +56,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
<if test="isStatus != null">is_status,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="areaId != null">#{areaId},</if>
@ -67,6 +70,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
<if test="isStatus != null">#{isStatus},</if>
</trim>
</insert>
@ -84,6 +88,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
<if test="isStatus != null">is_status=#{isStatus},</if>
</trim>
where id = #{id}
</update>

@ -20,10 +20,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="updateBy" column="update_by" />
<result property="remark" column="remark" />
<result property="status" column="status" />
<result property="isStatus" column="is_status" />
</resultMap>
<sql id="selectTcNetworkArticleVo">
select id, area_id, type, article_title,status, release_time, source, url, create_id, create_by, create_time, update_id, update_time, update_by, remark from tc_network_article
select id, area_id, type, article_title,status, is_status,release_time, source, url, create_id, create_by, create_time, update_id, update_time, update_by, remark from tc_network_article
</sql>
<select id="selectTcNetworkArticleList" parameterType="TcNetworkArticle" resultMap="TcNetworkArticleResult">
@ -38,6 +39,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="status != null and status != ''"> and status = #{status}</if>
<if test="createId != null "> and create_id = #{createId}</if>
<if test="updateId != null "> and update_id = #{updateId}</if>
<if test="isStatus != null "> and is_status = #{isStatus}</if>
</where>
</select>
@ -64,6 +66,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateTime != null">update_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="remark != null">remark,</if>
<if test="isStatus != null">is_status,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">#{id},</if>
@ -81,6 +84,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateTime != null">#{updateTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="remark != null">#{remark},</if>
<if test="isStatus != null">#{isStatus},</if>
</trim>
</insert>
@ -101,6 +105,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="remark != null">remark = #{remark},</if>
<if test="isStatus != null">is_status=#{isStatus},</if>
</trim>
where id = #{id}
</update>

@ -25,10 +25,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
<result property="appraiserType" column="appraiser_type" />
<result property="isStatus" column="is_status" />
</resultMap>
<sql id="selectTcNetworkEvaluateVo">
select id, area_id, article_id, article_type, appraiser_type,appraiser_id, appraiser_name, article_title, article_content, article_source, article_url, pj_content, pj_time, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_network_evaluate
select id, area_id, article_id, article_type,is_status, appraiser_type,appraiser_id, appraiser_name, article_title, article_content, article_source, article_url, pj_content, pj_time, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_network_evaluate
</sql>
<select id="selectTcNetworkEvaluateList" parameterType="TcNetworkEvaluate" resultMap="TcNetworkEvaluateResult">
@ -48,6 +49,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="createId != null "> and create_id = #{createId}</if>
<if test="updateId != null "> and update_id = #{updateId}</if>
<if test="appraiserType != null "> and appraiser_type = #{appraiserType}</if>
<if test="isStatus != null "> and is_status = #{isStatus}</if>
</where>
</select>
@ -78,6 +80,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
<if test="appraiserType != null">appraiser_type,</if>
<if test="isStatus != null">is_status,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="areaId != null">#{areaId},</if>
@ -99,6 +102,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
<if test="appraiserType != null">#{appraiserType},</if>
<if test="isStatus != null">#{isStatus},</if>
</trim>
</insert>
@ -124,6 +128,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
<if test="appraiserType != null">appraiser_type = #{appraiserType},</if>
<if test="isStatus != null">is_status=#{isStatus},</if>
</trim>
where id = #{id}
</update>

@ -20,10 +20,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
<result property="isStatus" column="is_status" />
</resultMap>
<sql id="selectTcNetworkMqPrincipalVo">
select id, area_id, unit_name, fuze_man, duty, tel, fax_num, phone_num, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_network_mq_principal
select id, area_id, unit_name, fuze_man, is_status,duty, tel, fax_num, phone_num, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_network_mq_principal
</sql>
<select id="selectTcNetworkMqPrincipalList" parameterType="TcNetworkMqPrincipal" resultMap="TcNetworkMqPrincipalResult">
@ -38,6 +39,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="phoneNum != null and phoneNum != ''"> and phone_num = #{phoneNum}</if>
<if test="createId != null "> and create_id = #{createId}</if>
<if test="updateId != null "> and update_id = #{updateId}</if>
<if test="isStatus != null "> and is_status = #{isStatus}</if>
</where>
</select>
@ -63,6 +65,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
<if test="isStatus != null">is_status,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="areaId != null">#{areaId},</if>
@ -79,6 +82,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
<if test="isStatus != null">#{isStatus},</if>
</trim>
</insert>
@ -99,6 +103,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
<if test="isStatus != null">is_status=#{isStatus},</if>
</trim>
where id = #{id}
</update>

@ -24,10 +24,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
<result property="isStatus" column="is_status" />
</resultMap>
<sql id="selectTcNetworkPingtaiVo">
select id, area_id, type, name, props, fans_num, dns, ip_address, licence_num, authentication, area, intro, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_network_pingtai
select id, area_id, type, name, props, is_status,fans_num, dns, ip_address, licence_num, authentication, area, intro, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_network_pingtai
</sql>
<select id="selectTcNetworkPingtaiList" parameterType="TcNetworkPingtai" resultMap="TcNetworkPingtaiResult">
@ -46,6 +47,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="intro != null and intro != ''"> and intro = #{intro}</if>
<if test="createId != null "> and create_id = #{createId}</if>
<if test="updateId != null "> and update_id = #{updateId}</if>
<if test="isStatus != null "> and is_status = #{isStatus}</if>
</where>
</select>
@ -75,6 +77,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
<if test="isStatus != null">is_status,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="areaId != null">#{areaId},</if>
@ -95,6 +98,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
<if test="isStatus != null">#{isStatus},</if>
</trim>
</insert>
@ -119,6 +123,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
<if test="isStatus != null">is_status=#{isStatus},</if>
</trim>
where id = #{id}
</update>

@ -24,10 +24,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
<result property="isStatus" column="is_status" />
</resultMap>
<sql id="selectTcNetworkReportVo">
select id, area_id, jb_man, jbdx, jbbh, jb_time, longitude, latitude, address, content, state, source, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_network_report
select id, area_id, jb_man, jbdx, is_status,jbbh, jb_time, longitude, latitude, address, content, state, source, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_network_report
</sql>
<select id="selectTcNetworkReportList" parameterType="TcNetworkReport" resultMap="TcNetworkReportResult">
@ -37,6 +38,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="jbTime != null "> and jb_time = #{jbTime}</if>
<if test="state != null "> and state = #{state}</if>
<if test="source != null "> and source = #{source}</if>
<if test="isStatus != null "> and is_status = #{isStatus}</if>
</where>
</select>
@ -66,6 +68,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
<if test="isStatus != null">is_status,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="areaId != null">#{areaId},</if>
@ -86,6 +89,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
<if test="isStatus != null">#{isStatus},</if>
</trim>
</insert>
@ -110,6 +114,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
<if test="isStatus != null">is_status=#{isStatus},</if>
</trim>
where id = #{id}
</update>

@ -29,11 +29,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="remark" column="remark" />
<result property="sentimentReportType" column="sentiment_report_type" />
<result property="reminder" column="reminder"/>
<result property="isStatus" column="is_status" />
</resultMap>
<sql id="selectTcNetworkSentimentVo">
select id, area_id, sentiment_name, reminder,sentiment_report_type,sentiment_content, dep_name, publish_time, sentiment_state, media_type, event_type, sentiment_type, yuci_type, source, isturn, file_name, file_url, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_network_sentiment
select id, area_id, sentiment_name,is_status, reminder,sentiment_report_type,sentiment_content, dep_name, publish_time, sentiment_state, media_type, event_type, sentiment_type, yuci_type, source, isturn, file_name, file_url, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_network_sentiment
</sql>
<select id="selectTcNetworkSentimentList" parameterType="TcNetworkSentiment" resultMap="TcNetworkSentimentResult">
@ -57,6 +58,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="fileUrl != null and fileUrl != ''"> and file_url = #{fileUrl}</if>
<if test="createId != null "> and create_id = #{createId}</if>
<if test="updateId != null "> and update_id = #{updateId}</if>
<if test="isStatus != null "> and is_status = #{isStatus}</if>
</where>
</select>
@ -91,6 +93,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
<if test="isStatus != null">is_status,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="areaId != null">#{areaId},</if>
@ -116,6 +119,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
<if test="isStatus != null">#{isStatus},</if>
</trim>
</insert>
@ -145,6 +149,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
<if test="isStatus != null">is_status=#{isStatus},</if>
</trim>
where id = #{id}
</update>

@ -17,10 +17,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
<result property="isStatus" column="is_status" />
</resultMap>
<sql id="selectTcNetworkSupportUnitVo">
select id, area_id, name, link_man, phone_num, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_network_support_unit
select id, area_id, name, link_man, is_status,phone_num, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_network_support_unit
</sql>
<select id="selectTcNetworkSupportUnitList" parameterType="TcNetworkSupportUnit" resultMap="TcNetworkSupportUnitResult">
@ -32,6 +33,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="phoneNum != null and phoneNum != ''"> and phone_num = #{phoneNum}</if>
<if test="createId != null "> and create_id = #{createId}</if>
<if test="updateId != null "> and update_id = #{updateId}</if>
<if test="isStatus != null "> and is_status = #{isStatus}</if>
</where>
</select>
@ -54,6 +56,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
<if test="isStatus != null">is_status,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="areaId != null">#{areaId},</if>
@ -67,6 +70,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
<if test="isStatus != null">#{isStatus},</if>
</trim>
</insert>
@ -84,6 +88,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
<if test="isStatus != null">is_status=#{isStatus},</if>
</trim>
where id = #{id}
</update>

@ -20,10 +20,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
<result property="isStatus" column="is_status" />
</resultMap>
<sql id="selectTcNetworkVolunteerVo">
select id, area_id, type, name, age, content, unit, duty, phone_num, create_id, create_by, update_id, update_by, update_time, remark from tc_network_volunteer
select id, area_id, type, name, age, is_status,content, unit, duty, phone_num, create_id, create_by, update_id, update_by, update_time, remark from tc_network_volunteer
</sql>
<select id="selectTcNetworkVolunteerList" parameterType="TcNetworkVolunteer" resultMap="TcNetworkVolunteerResult">
@ -38,6 +39,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="duty != null and duty != ''"> and duty = #{duty}</if>
<if test="phoneNum != null "> and phone_num = #{phoneNum}</if>
<if test="createId != null "> and create_id = #{createId}</if>
<if test="isStatus != null "> and is_status = #{isStatus}</if>
<if test="updateId != null "> and update_id = #{updateId}</if>
</where>
</select>
@ -64,6 +66,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
<if test="isStatus != null">is_status,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="areaId != null">#{areaId},</if>
@ -80,6 +83,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
<if test="isStatus != null">#{isStatus},</if>
</trim>
</insert>
@ -100,6 +104,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
<if test="isStatus != null">is_status=#{isStatus},</if>
</trim>
where id = #{id}
</update>

@ -19,10 +19,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
<result property="isStatus" column="is_status" />
</resultMap>
<sql id="selectTcQinglangZhuanxiangVo">
select id, area_id, zhuanxiang_title, zhuanxiang_time, zhuanxiang_content, zhuanxiang_img, zhuanxiang_type, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_qinglang_zhuanxiang
select id, area_id, zhuanxiang_title,is_status, zhuanxiang_time, zhuanxiang_content, zhuanxiang_img, zhuanxiang_type, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_qinglang_zhuanxiang
</sql>
<select id="selectTcQinglangZhuanxiangList" parameterType="TcQinglangZhuanxiang" resultMap="TcQinglangZhuanxiangResult">
@ -35,6 +36,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="zhuanxiangImg != null and zhuanxiangImg != ''"> and zhuanxiang_img = #{zhuanxiangImg}</if>
<if test="zhuanxiangType != null "> and zhuanxiang_type = #{zhuanxiangType}</if>
<if test="createId != null "> and create_id = #{createId}</if>
<if test="isStatus != null "> and is_status = #{isStatus}</if>
<if test="updateId != null "> and update_id = #{updateId}</if>
</where>
</select>
@ -60,6 +62,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
<if test="isStatus != null">is_status,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="areaId != null">#{areaId},</if>
@ -75,6 +78,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
<if test="isStatus != null">#{isStatus},</if>
</trim>
</insert>
@ -94,6 +98,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
<if test="isStatus != null">is_status=#{isStatus},</if>
</trim>
where id = #{id}
</update>

@ -10,10 +10,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="type" column="type" />
<result property="monthYear" column="month_year" />
<result property="count" column="count" />
<result property="isStatus" column="is_status" />
</resultMap>
<sql id="selectTcQlzxxdsjVo">
select id, area_id, type, month_year, count from tc_qlzxxdsj
select id, area_id, type,is_status, month_year, count from tc_qlzxxdsj
</sql>
<select id="selectTcQlzxxdsjList" parameterType="TcQlzxxdsj" resultMap="TcQlzxxdsjResult">
@ -23,6 +24,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="type != null "> and type = #{type}</if>
<if test="monthYear != null "> and month_year = #{monthYear}</if>
<if test="count != null "> and count = #{count}</if>
<if test="isStatus != null "> and is_status = #{isStatus}</if>
</where>
</select>
@ -38,12 +40,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="type != null">type,</if>
<if test="monthYear != null">month_year,</if>
<if test="count != null">count,</if>
<if test="isStatus != null">is_status,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="areaId != null">#{areaId},</if>
<if test="type != null">#{type},</if>
<if test="monthYear != null">#{monthYear},</if>
<if test="count != null">#{count},</if>
<if test="isStatus != null">#{isStatus},</if>
</trim>
</insert>
@ -54,6 +58,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="type != null">type = #{type},</if>
<if test="monthYear != null">month_year = #{monthYear},</if>
<if test="count != null">count = #{count},</if>
<if test="isStatus != null">is_status=#{isStatus},</if>
</trim>
where id = #{id}
</update>

@ -26,10 +26,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
<result property="isStatus" column="is_status" />
</resultMap>
<sql id="selectTcSafetyDangerVo">
select id, area_id, type, unit_name, risk_name, level, risk_source, ip_dns, state, file_name, file_url, dep_name, start_time, end_time, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_safety_danger
select id, area_id, type,is_status, unit_name, risk_name, level, risk_source, ip_dns, state, file_name, file_url, dep_name, start_time, end_time, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_safety_danger
</sql>
<select id="selectTcSafetyDangerList" parameterType="TcSafetyDanger" resultMap="TcSafetyDangerResult">
@ -50,6 +51,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="endTime != null "> and end_time = #{endTime}</if>
<if test="createId != null "> and create_id = #{createId}</if>
<if test="updateId != null "> and update_id = #{updateId}</if>
<if test="isStatus != null "> and is_status = #{isStatus}</if>
</where>
</select>
@ -81,6 +83,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
<if test="isStatus != null">is_status,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="areaId != null">#{areaId},</if>
@ -103,6 +106,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
<if test="isStatus != null">#{isStatus},</if>
</trim>
</insert>
@ -129,6 +133,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
<if test="isStatus != null">is_status=#{isStatus},</if>
</trim>
where id = #{id}
</update>

@ -28,10 +28,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
<result property="isStatus" column="is_status" />
</resultMap>
<sql id="selectTcSafetyDetectionVo">
select id, area_id, attack_time, source_ip, attacked_longitude, attacked_latitude, attack_type, attack_ip_region, attacked_ip, attacked_ip_region, attack_longitude, attack_latitude, level, aff_unit, phone_num, link_man, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_safety_detection
select id, area_id, is_status,attack_time, source_ip, attacked_longitude, attacked_latitude, attack_type, attack_ip_region, attacked_ip, attacked_ip_region, attack_longitude, attack_latitude, level, aff_unit, phone_num, link_man, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_safety_detection
</sql>
<select id="selectTcSafetyDetectionList" parameterType="TcSafetyDetection" resultMap="TcSafetyDetectionResult">
@ -54,6 +55,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="linkMan != null and linkMan != ''"> and link_man = #{linkMan}</if>
<if test="createId != null "> and create_id = #{createId}</if>
<if test="updateId != null "> and update_id = #{updateId}</if>
<if test="isStatus != null "> and is_status = #{isStatus}</if>
</where>
</select>
@ -87,6 +89,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
<if test="isStatus != null">is_status,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="areaId != null">#{areaId},</if>
@ -111,6 +114,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
<if test="isStatus != null">#{isStatus},</if>
</trim>
</insert>
@ -139,6 +143,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
<if test="isStatus != null">is_status=#{isStatus},</if>
</trim>
where id = #{id}
</update>

@ -22,10 +22,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="state" column="state" />
<result property="fileUrl" column="file_url" />
<result property="fileName" column="file_name" />
<result property="isStatus" column="is_status" />
</resultMap>
<sql id="selectTcTbVo">
select id, area_id, dep_name, location_name,tb_type,tb_time, create_id, create_by, create_time, update_id, update_by, update_time, remark,ip,state,file_url,file_name from tc_tb
select id, area_id, dep_name,is_status, location_name,tb_type,tb_time, create_id, create_by, create_time, update_id, update_by, update_time, remark,ip,state,file_url,file_name from tc_tb
</sql>
<select id="selectTcTbList" parameterType="TcTb" resultMap="TcTbResult">
@ -42,6 +43,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="state != null "> and state = #{state}</if>
<if test="fileUrl != null "> and file_url = #{fileUrl}</if>
<if test="fileName != null "> and file_name = #{fileName}</if>
<if test="isStatus != null "> and is_status = #{isStatus}</if>
</where>
</select>
@ -69,6 +71,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="state != null">state,</if>
<if test="fileUrl != null">file_url,</if>
<if test="fileName != null">file_name,</if>
<if test="isStatus != null">is_status,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="areaId != null">#{areaId},</if>
@ -87,6 +90,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="state != null">#{state},</if>
<if test="fileUrl != null">#{fileUrl},</if>
<if test="fileName != null">#{fileName},</if>
<if test="isStatus != null">#{isStatus},</if>
</trim>
</insert>
@ -109,6 +113,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
<if test="isStatus != null">is_status=#{isStatus},</if>
</trim>
where id = #{id}
</update>

@ -16,10 +16,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="updateId" column="update_id" />
<result property="updateBy" column="update_by" />
<result property="remark" column="remark" />
<result property="isStatus" column="is_status" />
</resultMap>
<sql id="selectTcTownVo">
select id, name, parent_name, parent_id, level, create_id, create_time, create_by, update_id, update_by, remark from tc_town
select id, name, parent_name, is_status,parent_id, level, create_id, create_time, create_by, update_id, update_by, remark from tc_town
</sql>
<select id="selectTcTownList" parameterType="TcTown" resultMap="TcTownResult">
@ -31,6 +32,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="level != null "> and level = #{level}</if>
<if test="createId != null "> and create_id = #{createId}</if>
<if test="updateId != null "> and update_id = #{updateId}</if>
<if test="isStatus != null "> and is_status = #{isStatus}</if>
</where>
</select>
@ -52,6 +54,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateId != null">update_id,</if>
<if test="updateBy != null">update_by,</if>
<if test="remark != null">remark,</if>
<if test="isStatus != null">is_status,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="name != null">#{name},</if>
@ -64,6 +67,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateId != null">#{updateId},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="remark != null">#{remark},</if>
<if test="isStatus != null">#{isStatus},</if>
</trim>
</insert>
@ -81,6 +85,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateId != null">update_id = #{updateId},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="remark != null">remark = #{remark},</if>
<if test="isStatus != null">is_status=#{isStatus},</if>
</trim>
where id = #{id}
</update>

@ -20,10 +20,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
<result property="isStatus" column="is_status" />
</resultMap>
<sql id="selectTcWorkDongtaiVo">
select id, area_id, type, materials_name, name,fabu_time, materials_file_name, materials_file_url, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_work_dongtai
select id, area_id, type,is_status, materials_name, name,fabu_time, materials_file_name, materials_file_url, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_work_dongtai
</sql>
<select id="selectTcWorkDongtaiList" parameterType="TcWorkDongtai" resultMap="TcWorkDongtaiResult">
@ -38,6 +39,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="materialsFileUrl != null and materialsFileUrl != ''"> and materials_file_url = #{materialsFileUrl}</if>
<if test="createId != null "> and create_id = #{createId}</if>
<if test="updateId != null "> and update_id = #{updateId}</if>
<if test="isStatus != null "> and is_status = #{isStatus}</if>
</where>
</select>
@ -64,6 +66,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
<if test="isStatus != null">is_status,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">#{id},</if>
@ -81,6 +84,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
<if test="isStatus != null">#{isStatus},</if>
</trim>
</insert>
@ -101,6 +105,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
<if test="isStatus != null">is_status=#{isStatus},</if>
</trim>
where id = #{id}
</update>

@ -8,10 +8,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="id" column="id" />
<result property="areaId" column="area_id" />
<result property="finish" column="finish" />
<result property="isStatus" column="is_status" />
</resultMap>
<sql id="selectTcWpyrwwclVo">
select id, area_id, finish from tc_wpyrwwcl
select id, area_id, is_status,finish from tc_wpyrwwcl
</sql>
<select id="selectTcWpyrwwclList" parameterType="TcWpyrwwcl" resultMap="TcWpyrwwclResult">
@ -19,6 +20,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<where>
<if test="areaId != null "> and area_id = #{areaId}</if>
<if test="finish != null "> and finish = #{finish}</if>
<if test="isStatus != null "> and is_status = #{isStatus}</if>
</where>
</select>
@ -32,10 +34,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="areaId != null">area_id,</if>
<if test="finish != null">finish,</if>
<if test="isStatus != null">is_status,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="areaId != null">#{areaId},</if>
<if test="finish != null">#{finish},</if>
<if test="isStatus != null">#{isStatus},</if>
</trim>
</insert>
@ -44,6 +48,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<trim prefix="SET" suffixOverrides=",">
<if test="areaId != null">area_id = #{areaId},</if>
<if test="finish != null">finish = #{finish},</if>
<if test="isStatus != null">is_status=#{isStatus},</if>
</trim>
where id = #{id}
</update>

@ -11,10 +11,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="eventType" column="event_type" />
<result property="mediaCount" column="media_count" />
<result property="eventCount" column="event_count" />
<result property="isStatus" column="is_status" />
</resultMap>
<sql id="selectTcYqFlVo">
select id, area_id, media_type, event_type, media_count, event_count from tc_yq_fl
select id, area_id, media_type, is_status,event_type, media_count, event_count,is_status from tc_yq_fl
</sql>
<select id="selectTcYqFlList" parameterType="TcYqFl" resultMap="TcYqFlResult">
@ -25,6 +26,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="eventType != null "> and event_type = #{eventType}</if>
<if test="mediaCount != null and mediaCount != ''"> and media_count = #{mediaCount}</if>
<if test="eventCount != null and eventCount != ''"> and event_count = #{eventCount}</if>
<if test="isStatus != null "> and is_status = #{isStatus}</if>
</where>
</select>
@ -41,6 +43,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="eventType != null">event_type,</if>
<if test="mediaCount != null">media_count,</if>
<if test="eventCount != null">event_count,</if>
<if test="isStatus != null">is_status,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="areaId != null">#{areaId},</if>
@ -48,6 +51,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="eventType != null">#{eventType},</if>
<if test="mediaCount != null">#{mediaCount},</if>
<if test="eventCount != null">#{eventCount},</if>
<if test="isStatus != null">#{isStatus},</if>
</trim>
</insert>
@ -59,6 +63,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="eventType != null">event_type = #{eventType},</if>
<if test="mediaCount != null">media_count = #{mediaCount},</if>
<if test="eventCount != null">event_count = #{eventCount},</if>
<if test="isStatus != null">is_status=#{isStatus},</if>
</trim>
where id = #{id}
</update>

@ -10,10 +10,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="type" column="type" />
<result property="dateTime" column="date_time" />
<result property="count" column="count" />
<result property="isStatus" column="is_status" />
</resultMap>
<sql id="selectTcYqZsVo">
select id, area_id, type, date_time, count from tc_yq_zs
select id, area_id, type, is_status,date_time, count from tc_yq_zs
</sql>
<select id="selectTcYqZsList" parameterType="TcYqZs" resultMap="TcYqZsResult">
@ -23,6 +24,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="type != null "> and type = #{type}</if>
<if test="dateTime != null "> and date_time = #{dateTime}</if>
<if test="count != null "> and count = #{count}</if>
<if test="isStatus != null "> and is_status = #{isStatus}</if>
</where>
</select>
@ -38,12 +40,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="type != null">type,</if>
<if test="dateTime != null">date_time,</if>
<if test="count != null">count,</if>
<if test="isStatus != null">is_status,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="areaId != null">#{areaId},</if>
<if test="type != null">#{type},</if>
<if test="dateTime != null">#{dateTime},</if>
<if test="count != null">#{count},</if>
<if test="isStatus != null">#{isStatus},</if>
</trim>
</insert>
@ -54,6 +58,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="type != null">type = #{type},</if>
<if test="dateTime != null">date_time = #{dateTime},</if>
<if test="count != null">count = #{count},</if>
<if test="isStatus != null">is_status=#{isStatus},</if>
</trim>
where id = #{id}
</update>

@ -19,10 +19,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
<result property="isStatus" column="is_status" />
</resultMap>
<sql id="selectTcZhongdianDomainVo">
select id, area_id, enterprise_type, zdjg_content, weifa_xingwei, dep, zhuyao_yiju, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_zhongdian_domain
select id, area_id, enterprise_type,is_status, zdjg_content, weifa_xingwei, dep, zhuyao_yiju, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_zhongdian_domain
</sql>
<select id="selectTcZhongdianDomainList" parameterType="TcZhongdianDomain" resultMap="TcZhongdianDomainResult">
@ -36,6 +37,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="zhuyaoYiju != null and zhuyaoYiju != ''"> and zhuyao_yiju = #{zhuyaoYiju}</if>
<if test="createId != null "> and create_id = #{createId}</if>
<if test="updateId != null "> and update_id = #{updateId}</if>
<if test="isStatus != null "> and is_status = #{isStatus}</if>
</where>
</select>
@ -60,6 +62,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
<if test="isStatus != null">is_status,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="areaId != null">#{areaId},</if>
@ -75,6 +78,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
<if test="isStatus != null">#{isStatus},</if>
</trim>
</insert>

@ -23,10 +23,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
<result property="isStatus" column="is_status" />
</resultMap>
<sql id="selectTcZhongdianEnterpriseVo">
select id, area_id, enterprise_name, enterprise_type, network_yewu, jianguan_bumen, address, link_man, phone_num, product_name, dns, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_zhongdian_enterprise
select id, area_id, enterprise_name,is_status, enterprise_type, network_yewu, jianguan_bumen, address, link_man, phone_num, product_name, dns, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_zhongdian_enterprise
</sql>
<select id="selectTcZhongdianEnterpriseList" parameterType="TcZhongdianEnterprise" resultMap="TcZhongdianEnterpriseResult">
@ -44,6 +45,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="dns != null and dns != ''"> and dns = #{dns}</if>
<if test="createId != null "> and create_id = #{createId}</if>
<if test="updateId != null "> and update_id = #{updateId}</if>
<if test="isStatus != null "> and is_status = #{isStatus}</if>
</where>
</select>
@ -72,6 +74,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
<if test="isStatus != null">is_status,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="areaId != null">#{areaId},</if>
@ -91,6 +94,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
<if test="isStatus != null">#{isStatus},</if>
</trim>
</insert>
@ -114,6 +118,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
<if test="isStatus != null">is_status=#{isStatus},</if>
</trim>
where id = #{id}
</update>

@ -21,10 +21,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
<result property="isStatus" column="is_status" />
</resultMap>
<sql id="selectTcZhongdianWorkVo">
select id, area_id, unit_name, project_name, project_content, project_type, project_link_man, phone_num, link_man_duty, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_zhongdian_work
select id, area_id, unit_name, is_status,project_name, project_content, project_type, project_link_man, phone_num, link_man_duty, create_id, create_by, create_time, update_id, update_by, update_time, remark from tc_zhongdian_work
</sql>
<select id="selectTcZhongdianWorkList" parameterType="TcZhongdianWork" resultMap="TcZhongdianWorkResult">
@ -40,6 +41,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="linkManDuty != null and linkManDuty != ''"> and link_man_duty = #{linkManDuty}</if>
<if test="createId != null "> and create_id = #{createId}</if>
<if test="updateId != null "> and update_id = #{updateId}</if>
<if test="isStatus != null "> and is_status = #{isStatus}</if>
</where>
</select>
@ -66,6 +68,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
<if test="isStatus != null">is_status,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="areaId != null">#{areaId},</if>
@ -83,6 +86,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
<if test="isStatus != null">#{isStatus},</if>
</trim>
</insert>
@ -104,6 +108,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
<if test="isStatus != null">is_status=#{isStatus},</if>
</trim>
where id = #{id}
</update>

Loading…
Cancel
Save