Commit 1d4861d6 by yangyang

西藏主题研判提交(西藏)

parent 7b4a940f
...@@ -5,7 +5,7 @@ import com.baomidou.mybatisplus.annotation.TableField; ...@@ -5,7 +5,7 @@ import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonFormat;
import com.founder.commonutils.model.newPublicEntity.ztypEntity.KsjResultPojo; import com.founder.commonutils.model.newPublicEntity.kshResult.KshTreeResultPojo;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
...@@ -53,13 +53,13 @@ public class KshServiceCache implements Serializable { ...@@ -53,13 +53,13 @@ public class KshServiceCache implements Serializable {
@TableField("bz") @TableField("bz")
private String bz; private String bz;
@ApiModelProperty(value = "可视化数据") @ApiModelProperty(value = "可视化数据json")
@TableField("kshdata") @TableField("kshdata")
private String kshdataString; private String kshdataString;
@ApiModelProperty(value = "当前页") @ApiModelProperty(value = "可视化数据entity")
@TableField(exist = false) @TableField(exist = false)
private KsjResultPojo kshdata; private KshTreeResultPojo kshdata;
@ApiModelProperty(value = "当前页") @ApiModelProperty(value = "当前页")
@TableField(exist = false) @TableField(exist = false)
...@@ -68,4 +68,18 @@ public class KshServiceCache implements Serializable { ...@@ -68,4 +68,18 @@ public class KshServiceCache implements Serializable {
@ApiModelProperty(value = "每页数") @ApiModelProperty(value = "每页数")
@TableField(exist = false) @TableField(exist = false)
private int pageSize; private int pageSize;
//最后三个用于多维查找筛选条件
@ApiModelProperty(value = "导出时间格式转换备用字段")
@TableField(exist = false)
private String byzd1; //前端传大于小于等于
@ApiModelProperty(value = "前端页面查询传参")
@TableField(exist = false)
private String param;
@ApiModelProperty(value = "前端页面查询类型")
@TableField(exist = false)
private String paramType;
} }
package com.founder.commonutils.model.newPublicEntity.kshResult;
import lombok.Data;
import java.util.List;
/**
* @author sjq
* @description 多维保存/点击详情 专用
*/
@Data
public class KshTreeResultPojo {
/**
* 节点信息组(去重的)
*/
private List<Nodes> nodes;
/**
* 关联关系组
*/
private List<Links> links;
@Data
public static class Nodes {
/**
* 点信息的唯一值(例如证件号码),节点是否去重就是依据id
*/
private String id;
/**
* 节点下面显示的名称,如果需要多个显示,请传
* "李xx\n23岁\n前端开发工程师" 单个的话就 "李xx"
*/
private String label;
/**
* 将节点所有的信息全部放到这个字段中,包括id和label,注意的是,这个对象必须有一个字段imgType(idcard: 人,aj: 案件,cph:车,sjk:手机,yhk:银行卡)判断节点图片
*/
private KshTreeResultPojo.Nodes.Properties properties;
@Data
public static class Properties {
/**
* 节点下面显示的名称,如果需要多个显示,请传
* "李xx\n23岁\n前端开发工程师" 单个的话就 "李xx"
*/
private String id;
/**
* 节点信息的唯一值(例如证件号码),节点是否去重就是依据id
*/
private String label;
/**
* (idcard: 人,aj: 案件,cph:车,sjk:手机,yhk:银行卡)判断节点图片
*/
private String imgType;
/**
* 人员照片
*/
private String imagePhoto;
/**
* 节点颜色 #FF00FF
*/
private String boderColor;
}
}
@Data
public static class Links {
/**
* 源节点id值
*/
private String source;
/**
* 目标节点id值
*/
private String target;
/**
* 节点连线显示文字
*/
private String label;
/**
* 将连线所有的信息全部放到这个字段中,注意事项同上,没有必要字段imgType
*/
private KshTreeResultPojo.Links.Properties properties;
@Data
public static class Properties {
/**
* 源节点id值
*/
private String source;
/**
* 目标节点id值
*/
private String target;
/**
* 节点连线显示文字
*/
private String label;
private List<GlgxData> glgxData;
@Data
public static class GlgxData {
//标识号
private String bsh;
//标识号类型
private String bshlx;
//关联标识号
private String glbsh;
//关联
private String glbshlx;
//数据类型
private String sjly;
//关联关系
private String glgx;
//关联时间
private String glsj;
}
}
}
}
package com.founder.commonutils.model.newPublicEntity.ztypEntity;
import lombok.Data;
/**
* 团伙类
* create by lystar
* 2021/8/2 18:23
*/
@Data
public class Accomplicee {
//团伙编号
String thbh;
//嫌疑人数量
Integer xyrCount;
//重点关注人员数量
Integer zdgzyrCount;
//案件数量
Integer ajCount;
//九类案件数量
Integer jlajCount;
//标记案件数量
int bjajCount;
}
package com.founder.commonutils.model.newPublicEntity.ztypEntity; package com.founder.commonutils.model.newPublicEntity.ztypEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat; import org.springframework.format.annotation.DateTimeFormat;
...@@ -10,39 +12,64 @@ import java.util.List; ...@@ -10,39 +12,64 @@ import java.util.List;
* 查询案件参数 * 查询案件参数
*/ */
@Data @Data
@ApiModel(value="查询案件参数", description="")
public class AjQueryParam { public class AjQueryParam {
//起始时间
@ApiModelProperty(value = "起始时间")
@DateTimeFormat(pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd")
Date startDate; Date startDate;
//结束时间
@ApiModelProperty(value = "结束时间")
@DateTimeFormat(pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd")
Date endDate; Date endDate;
@ApiModelProperty(value = "团伙类型")
//团伙类型 00:三人三案 01:三人两案 10:两人三案 11:两人两案 //团伙类型 00:三人三案 01:三人两案 10:两人三案 11:两人两案
String ajlx; String ajlx;
//立案单位
@ApiModelProperty(value = "立案单位")
String ladwdm; String ladwdm;
//案件类别
@ApiModelProperty(value = "案件类别")
String ajlbdm; String ajlbdm;
//案件名称
@ApiModelProperty(value = "案件名称")
String ajmc; String ajmc;
//人员姓名
@ApiModelProperty(value = "人员姓名")
String ryxm; String ryxm;
//户籍地
@ApiModelProperty(value = "户籍地")
String hjd; String hjd;
//身份证号
@ApiModelProperty(value = "身份证号")
String zjhm; String zjhm;
//本级及其下级单位
@ApiModelProperty(value = "本级及其下级单位")
List<String> dwdmlist; List<String> dwdmlist;
//按某列排序
@ApiModelProperty(value = "按某列排序")
String column; String column;
@ApiModelProperty(value = "排序方式")
//排序方式 升序asc,降序desc //排序方式 升序asc,降序desc
String type; String type;
@ApiModelProperty(value = "当前页")
Integer page; Integer page;
@ApiModelProperty(value = "每页数")
Integer limit; Integer limit;
//分析维度
@ApiModelProperty(value = "团伙编号")
private String thbh; private String thbh;
//分析维度
@ApiModelProperty(value = "分析维度")
private String fxwd; private String fxwd;
//共同关系系数
@ApiModelProperty(value = "共同关系系数")
private String commonRelationshipNum; private String commonRelationshipNum;
@ApiModelProperty(value = "0否 1是")
private String sfdj;
} }
package com.founder.commonutils.model.newPublicEntity.ztypEntity;
import lombok.Data;
import java.util.Date;
/**
* 案件查询返回类
*/
@Data
public class AjQueryResult {
//信息主键编号
String xxzjbh;
//团伙编号
String thbh;
//案事件编号
String asjbh;
//案件类证
String ajlbdm;
//案件名称
String ajmc;
//立案单位代码
String ladwdm;
//立案日期
Date larq;
//是否刑事案件
String isXsAj;
// 是否九类案件
String isNine;
}
package com.founder.commonutils.model.newPublicEntity.ztypEntity; package com.founder.commonutils.model.newPublicEntity.ztypEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import org.apache.commons.lang.StringUtils; import org.apache.commons.lang.StringUtils;
...@@ -13,48 +15,39 @@ import java.util.List; ...@@ -13,48 +15,39 @@ import java.util.List;
* @description 案件团伙可视化分析 * @description 案件团伙可视化分析
*/ */
@Data @Data
@ApiModel(value="案件团伙可视化分析", description="")
public class AjThKshfxPojo { public class AjThKshfxPojo {
/**
* 节点id @ApiModelProperty(value = "节点id")
*/
private String id; private String id;
/**
* 节点name @ApiModelProperty(value = "节点name")
*/
private String name; private String name;
/**
* 节点value @ApiModelProperty(value = "节点value")
*/
private String value; private String value;
/**
* 节点type,group表示团伙 @ApiModelProperty(value = "节点type,group表示团伙")
*/
private String type; private String type;
/**
* 子节点集合 @ApiModelProperty(value = "子节点集合")
*/
private List<AjThKshfxPojo> children; private List<AjThKshfxPojo> children;
/**
* 是否高亮 @ApiModelProperty(value = "是否高亮")
*/
private boolean red; private boolean red;
/**
* 父级类型 @ApiModelProperty(value = "父级类型")
*/
private String parentType; private String parentType;
/**
* 父级id @ApiModelProperty(value = "父级id")
*/
private String parentId; private String parentId;
/**
* 父级name(资金流处理双向指向时使用,为节点赋予正确的name值) @ApiModelProperty(value = "父级name")
*/
private String parentName; private String parentName;
/**
* 进出标志(资金流使用:转入、转出) @ApiModelProperty(value = "进出标志")
*/
private String jcbz; private String jcbz;
/** /**
......
package com.founder.commonutils.model.newPublicEntity.ztypEntity;
import lombok.Data;
/**
* 嫌疑人证件号码及是否被使用
* create by lystar
* 2021/8/2 18:55
*/
@Data
public class AjXyrResult {
//信息主键编号
String xxzjbh;
//团伙编号
String thbh;
//证件号码
String zjhm;
//户籍地代码
String hjd;
//人员姓名
String xm;
//是否重点关注人员
String isZdgzyr = "0";
}
package com.founder.commonutils.model.newPublicEntity.ztypEntity; package com.founder.commonutils.model.newPublicEntity.ztypEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
/** /**
* @author yangyang * @author yangyang
*/ */
@Data @Data
@ApiModel(value="案件研判fx实体", description="")
public class AjypFxPojo { public class AjypFxPojo {
/**
* 团伙编号
*/ @ApiModelProperty(value = "团伙编号")
private String thbh; private String thbh;
/**
* 团伙名称 @ApiModelProperty(value = "团伙名称")
*/
private String thName; private String thName;
/** @ApiModelProperty(value = "共同联系电话数量")
* 共同联系电话数量
*/
private String commonPhoneCount; private String commonPhoneCount;
/**
* 共同访问ip数量 @ApiModelProperty(value = "共同访问ip数量")
*/
private String commonIpCount; private String commonIpCount;
/**
* 共同资金流水账号数量 @ApiModelProperty(value = "共同资金流水账号数量")
*/
private String commonCashAccountCount; private String commonCashAccountCount;
//证件号码
@ApiModelProperty(value = "证件号码")
private String zjhm; private String zjhm;
//嫌疑人数量
@ApiModelProperty(value = "嫌疑人数量")
private Integer xyrCount; private Integer xyrCount;
//重点关注人员数量
@ApiModelProperty(value = "重点关注人员数量")
private Integer zdgzyrCount; private Integer zdgzyrCount;
//案件数量
@ApiModelProperty(value = "案件数量")
private Integer ajCount; private Integer ajCount;
//九类案件数量
@ApiModelProperty(value = "九类案件数量")
private Integer jlajCount; private Integer jlajCount;
//标记案件数量
@ApiModelProperty(value = "标记案件数量")
private int bjajCount; private int bjajCount;
//标记警情数量
@ApiModelProperty(value = "标记警情数量")
private int bjjqCount; private int bjjqCount;
@ApiModelProperty(value = "0否 1是")
private int sfdj;
} }
package com.founder.commonutils.model.newPublicEntity.ztypEntity; package com.founder.commonutils.model.newPublicEntity.ztypEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
...@@ -10,102 +12,76 @@ import lombok.NoArgsConstructor; ...@@ -10,102 +12,76 @@ import lombok.NoArgsConstructor;
@Data @Data
@NoArgsConstructor @NoArgsConstructor
@AllArgsConstructor @AllArgsConstructor
@ApiModel(value="银行卡num实体", description="")
public class BankCardNumPojo extends TradingTaskPojo { public class BankCardNumPojo extends TradingTaskPojo {
/**
* 任务编号 @ApiModelProperty(value = "任务编号")
*/
private String taskId; private String taskId;
/**
* 任务名称 @ApiModelProperty(value = "任务名称")
*/
private String taskName; private String taskName;
/** @ApiModelProperty(value = "主键编号")
* 主键编号
*/
private String xxzjbh; private String xxzjbh;
/**
* 本方卡号 @ApiModelProperty(value = "本方卡号")
*/
private String bfCardsNum; private String bfCardsNum;
/**
* 本方持卡人姓名 @ApiModelProperty(value = "本方持卡人姓名")
*/
private String bfCardsName; private String bfCardsName;
/** @ApiModelProperty(value = "对方卡号")
* 对方卡号
*/
private String dfCardsNum; private String dfCardsNum;
/**
* 对方持卡人姓名 @ApiModelProperty(value = "对方持卡人姓名")
*/
private String dfCardsName; private String dfCardsName;
/** @ApiModelProperty(value = "交易时间 起始时间")
* 交易时间 起始时间
*/
private String tradingTimeStart; private String tradingTimeStart;
/**
* 交易时间 截至时间 @ApiModelProperty(value = "交易时间 截至时间")
*/
private String tradingTimeEnd; private String tradingTimeEnd;
/**
* 交易银行名称 @ApiModelProperty(value = "交易银行名称")
*/
private String tradingBankName; private String tradingBankName;
/**
* 交易金额 @ApiModelProperty(value = "交易金额")
*/
private String transactionAmount; private String transactionAmount;
/**
* 账户余额 @ApiModelProperty(value = "账户余额")
*/
private String accountBalance; private String accountBalance;
/**
* 交易方式 @ApiModelProperty(value = "交易方式")
*/
private String transactionMode; private String transactionMode;
/**
* 交易流水号 @ApiModelProperty(value = "交易流水号")
*/
private String transactionNumber; private String transactionNumber;
/**
* 转入转出 @ApiModelProperty(value = "转入转出")
*/
private String transferInOrOut; private String transferInOrOut;
/** @ApiModelProperty(value = "交易数")
* 交易数
*/
private String transCount; private String transCount;
/**
* 周一交易数 @ApiModelProperty(value = "周一交易数")
*/
private String transCountMon; private String transCountMon;
/**
* 周二交易数 @ApiModelProperty(value = "周二交易数")
*/
private String transCountTues; private String transCountTues;
/**
* 周三交易数 @ApiModelProperty(value = "周三交易数")
*/
private String transCountWednes; private String transCountWednes;
/**
* 周四交易数 @ApiModelProperty(value = "周四交易数")
*/
private String transCountThurs; private String transCountThurs;
/**
* 周五交易数 @ApiModelProperty(value = "周五交易数")
*/
private String transCountFri; private String transCountFri;
/**
* 周六交易数 @ApiModelProperty(value = "周六交易数")
*/
private String transCountSatur; private String transCountSatur;
/**
* 周日交易数 @ApiModelProperty(value = "周日交易数")
*/
private String transCountSun; private String transCountSun;
} }
package com.founder.commonutils.model.newPublicEntity.ztypEntity; package com.founder.commonutils.model.newPublicEntity.ztypEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
...@@ -12,63 +14,48 @@ import java.util.List; ...@@ -12,63 +14,48 @@ import java.util.List;
@Data @Data
@NoArgsConstructor @NoArgsConstructor
@AllArgsConstructor @AllArgsConstructor
@ApiModel(value="银行卡param实体", description="")
public class BankCardParamPojo { public class BankCardParamPojo {
/**
* 任务id集合 @ApiModelProperty(value = "任务id集合")
*/
private List<String> taskIdList; private List<String> taskIdList;
/**
* 当前页 @ApiModelProperty(value = "当前页")
*/
private int page; private int page;
/**
* 分页起始下标 @ApiModelProperty(value = "分页起始下标")
*/
private int start; private int start;
/**
* 当前页显示数 @ApiModelProperty(value = "当前页显示数")
*/
private int limit; private int limit;
/**
* 交易时间规律统计-分析频次 @ApiModelProperty(value = "交易时间规律统计-分析频次")
*/
private String analysisFrequency; private String analysisFrequency;
/**
* 交易时间-起始时间 @ApiModelProperty(value = "交易时间-起始时间")
*/
private String tradingTimeStart; private String tradingTimeStart;
/**
* 交易时间-截至时间 @ApiModelProperty(value = "交易时间-截至时间")
*/
private String tradingTimeEnd; private String tradingTimeEnd;
/**
* 本方银行卡号 @ApiModelProperty(value = "本方银行卡号")
*/
private String bfCardsNum; private String bfCardsNum;
/** @ApiModelProperty(value = "对方银行卡号")
* 对方银行卡号
*/
private String dfCardsNum; private String dfCardsNum;
/**
* 数据类型 01交易详情,02交易时间规律统计,03交易地域规律统计,04交易频度规律统计,05交易习惯统计 @ApiModelProperty(value = "数据类型 01交易详情,02交易时间规律统计,03交易地域规律统计,04交易频度规律统计,05交易习惯统计")
*/
private String dataType; private String dataType;
/**
* 交易方 @ApiModelProperty(value = "交易方")
*/
private String traidParty; private String traidParty;
/**
* 交易银行(地点) @ApiModelProperty(value = "交易银行(地点)")
*/
private String tradingBankName; private String tradingBankName;
/**
* 共同关系数,可视化分析专用 @ApiModelProperty(value = "共同关系数,可视化分析专用")
*/
private String commonRelationshipNum; private String commonRelationshipNum;
/** @ApiModelProperty(value = "排序属性")
* 排序属性
*/
private String orderField; private String orderField;
} }
package com.founder.commonutils.model.newPublicEntity.ztypEntity; package com.founder.commonutils.model.newPublicEntity.ztypEntity;
import com.alibaba.excel.annotation.ExcelProperty; import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import java.io.Serializable; import java.io.Serializable;
...@@ -11,12 +13,15 @@ import java.io.Serializable; ...@@ -11,12 +13,15 @@ import java.io.Serializable;
* @author yangyang * @author yangyang
*/ */
@Data @Data
@ApiModel(value="kshHdExcel导入", description="")
public class KshHdExcelImport implements Serializable { public class KshHdExcelImport implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "本机号码")
@ExcelProperty(value = {"本机号码"},index = 0) @ExcelProperty(value = {"本机号码"},index = 0)
private String source; private String source;
@ApiModelProperty(value = "对方号码")
@ExcelProperty(value = {"对方号码"},index = 1) @ExcelProperty(value = {"对方号码"},index = 1)
private String target; private String target;
} }
...@@ -7,6 +7,8 @@ import com.baomidou.mybatisplus.annotation.TableId; ...@@ -7,6 +7,8 @@ import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model; import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat; import org.springframework.format.annotation.DateTimeFormat;
...@@ -22,65 +24,65 @@ import java.util.Date; ...@@ -22,65 +24,65 @@ import java.util.Date;
@Data @Data
@SuppressWarnings("serial") @SuppressWarnings("serial")
@TableName("ksh_service") @TableName("ksh_service")
@ApiModel(value=" 服务列表(ksh_service)表实体类", description="")
public class KshServicePojo extends Model<KshServicePojo> { public class KshServicePojo extends Model<KshServicePojo> {
@TableId(type = IdType.INPUT) @TableId(type = IdType.INPUT)
/**信息主键编号(生成FW开头)*/ @ApiModelProperty(value = "信息主键编号(生成FW开头)")
private String xxzjbh; private String xxzjbh;
/**
* 算力名称 @ApiModelProperty(value = "算力名称")
*/
private String slname; private String slname;
/**
* 算力描述 @ApiModelProperty(value = "算力描述")
*/
private String slms; private String slms;
/**
* 请求url @ApiModelProperty(value = "请求url")
*/
private String url; private String url;
/**
* 路由名称 @ApiModelProperty(value = "路由名称")
*/
private String lymc; private String lymc;
/**
* get/post方式 @ApiModelProperty(value = "get/post方式")
*/
private String type; private String type;
/**
是否带时间参数:0表示否,1表示是 @ApiModelProperty(value = "入参")
*/ private String param;
@ApiModelProperty(value = "是否带时间参数:0表示否,1表示是")
private String sfdsjcs; private String sfdsjcs;
/**
* 是否删除,0表示否,1表示是 @ApiModelProperty(value = "是否删除,0表示否,1表示是")
*/
private String isdeleted; private String isdeleted;
/**
* 创建时间 @ApiModelProperty(value = "创建时间")
*/
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date cjsj; private Date cjsj;
/**
* 创建开始时间 @ApiModelProperty(value = "创建开始时间")
*/
@TableField(exist = false) @TableField(exist = false)
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private LocalDateTime cjkssj; private LocalDateTime cjkssj;
/**
* 创建结束时间 @ApiModelProperty(value = "创建结束时间")
*/
@TableField(exist = false) @TableField(exist = false)
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private LocalDateTime cjjssj; private LocalDateTime cjjssj;
/**
* 当前页 @ApiModelProperty(value = "当前页")
*/
@TableField(exist = false) @TableField(exist = false)
private int page; private int page;
/**
* 路由名称 @ApiModelProperty(value = "路由名称")
*/
@TableField(exist = false) @TableField(exist = false)
private int pageSize; private int pageSize;
//双击节点查询 前端把类型传过来 后台做校验
@ApiModelProperty(value = "类型")
@TableField(exist = false)
private String objectType;
@TableField(exist = false)
private int num=2;
} }
package com.founder.commonutils.model.newPublicEntity.ztypEntity; package com.founder.commonutils.model.newPublicEntity.ztypEntity;
import com.alibaba.excel.annotation.ExcelProperty; import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import java.io.Serializable; import java.io.Serializable;
...@@ -11,12 +13,15 @@ import java.io.Serializable; ...@@ -11,12 +13,15 @@ import java.io.Serializable;
* @author yangyang * @author yangyang
*/ */
@Data @Data
@ApiModel(value="KshYhkExcel导入", description="")
public class KshYhkExcelImport implements Serializable { public class KshYhkExcelImport implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@ExcelProperty(value = {"本人卡号"},index = 0) @ApiModelProperty(value = "本机号码")
@ExcelProperty(value = {"本机号码"},index = 0)
private String source; private String source;
@ExcelProperty(value = {"对方卡号"},index = 1) @ApiModelProperty(value = "对方号码")
@ExcelProperty(value = {"对方号码"},index = 1)
private String target; private String target;
} }
package com.founder.commonutils.model.newPublicEntity.ztypEntity;
import lombok.Data;
import java.util.List;
/**
* @author yangyang
* @description 可视化分析实体
*/
@Data
public class KsjResultParams {
private Integer status;// 200成功 201失败
private String msg;// 自定义描述
private data data;
@Data
public static class data {
/**
* 节点信息组(去重的)
*/
private List<Nodes> nodes;
/**
* 关联关系组
*/
private List<Links> links;
}
@Data
public static class Nodes {
/**
节点下面显示的名称,如果需要多个显示,请传
"李xx\n23岁\n前端开发工程师" 单个的话就 "李xx"
*/
private String id;
/**
* 节点信息的唯一值(例如证件号码),节点是否去重就是依据id
*/
private String label;
/**
* 将节点所有的信息全部放到这个字段中,包括id和label,注意的是,这个对象必须有一个字段imgType(idcard: 人,aj: 案件,cph:车,sjk:手机,yhk:银行卡)判断节点图片
*/
private Properties properties;
@Data
public static class Properties {
/**
节点下面显示的名称,如果需要多个显示,请传
"李xx\n23岁\n前端开发工程师" 单个的话就 "李xx"
*/
private String id;
/**
* 节点信息的唯一值(例如证件号码),节点是否去重就是依据id
*/
private String label;
/**
* (idcard: 人,aj: 案件,cph:车,sjk:手机,yhk:银行卡)判断节点图片
*/
private String imgType;
}
}
@Data
public static class Links {
/**
* 源节点id值
*/
private String source;
/**
* 目标节点id值
*/
private String target;
/**
* 节点连线显示文字
*/
private String label;
/**
* 将连线所有的信息全部放到这个字段中,注意事项同上,没有必要字段imgType
*/
private Properties properties;
@Data
public static class Properties {
/**
* 源节点id值
*/
private String source;
/**
* 目标节点id值
*/
private String target;
/**
* 节点连线显示文字
*/
private String label;
}
}
}
...@@ -50,6 +50,10 @@ public class KsjResultPojo { ...@@ -50,6 +50,10 @@ public class KsjResultPojo {
*/ */
private String imgType; private String imgType;
/** /**
* 人员照片
*/
private String imagePhoto;
/**
* 节点颜色 #FF00FF * 节点颜色 #FF00FF
*/ */
private String boderColor; private String boderColor;
......
package com.founder.commonutils.model.newPublicEntity.ztypEntity; package com.founder.commonutils.model.newPublicEntity.ztypEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import java.io.Serializable; import java.io.Serializable;
@Data @Data
@ApiModel(value=" 脑图话单信息", description="")
public class NaoTuHdXx implements Serializable { public class NaoTuHdXx implements Serializable {
private String yhsjhm;/*用户手机号*/
private String dfsjhm;/*对方手机号*/ @ApiModelProperty(value = "用户手机号")
private String hjsj;/*呼叫时间*/ private String yhsjhm;
private String thsc;/*通话时长*/ @ApiModelProperty(value = "对方手机号")
private String thcs;/*通话次数*/ private String dfsjhm;
private String thlx;/*通话类型*/ @ApiModelProperty(value = "呼叫时间")
private String hjsj;
@ApiModelProperty(value = "通话时长")
private String thsc;
@ApiModelProperty(value = "通话次数")
private String thcs;
@ApiModelProperty(value = "通话类型")
private String thlx;
@ApiModelProperty(value = "用户jz编号")
private String yhjzbh; private String yhjzbh;
@ApiModelProperty(value = "地方jz编号")
private String dfjzbh; private String dfjzbh;
public String getYhsjhm() { public String getYhsjhm() {
......
package com.founder.commonutils.model.newPublicEntity.ztypEntity; package com.founder.commonutils.model.newPublicEntity.ztypEntity;
import com.founder.commonutils.model.newPublicEntity.ResultCode; import com.founder.commonutils.model.newPublicEntity.ResultCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
...@@ -9,6 +10,7 @@ import java.util.Map; ...@@ -9,6 +10,7 @@ import java.util.Map;
//统一返回结果的类 //统一返回结果的类
@Data @Data
@ApiModel(value=" 统一返回结果的类R", description="")
public class R { public class R {
@ApiModelProperty(value = "是否成功") @ApiModelProperty(value = "是否成功")
......
...@@ -24,7 +24,7 @@ import java.io.Serializable; ...@@ -24,7 +24,7 @@ import java.io.Serializable;
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)
@Accessors(chain = true) @Accessors(chain = true)
@TableName("TB_ST_ASJ") @TableName("TB_ST_ASJ")
@ApiModel(value="TbStAsj对象", description="案事件基本信息") @ApiModel(value="案事件基本信息3", description="案事件基本信息")
public class TbStAsj3 implements Serializable { public class TbStAsj3 implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
...@@ -821,6 +821,7 @@ public class TbStAsj3 implements Serializable { ...@@ -821,6 +821,7 @@ public class TbStAsj3 implements Serializable {
@TableField("ajywztdm") @TableField("ajywztdm")
private String ajywztdm; private String ajywztdm;
@ApiModelProperty(value = "东莞专用-案别")
@TableField("ab_dg") @TableField("ab_dg")
private String abDg; private String abDg;
...@@ -829,8 +830,11 @@ public class TbStAsj3 implements Serializable { ...@@ -829,8 +830,11 @@ public class TbStAsj3 implements Serializable {
private String asjfsddGxpcs; private String asjfsddGxpcs;
//翻译 //翻译
@ApiModelProperty(value = "案件类别翻译")
private String ajlbdmStr; private String ajlbdmStr;
@ApiModelProperty(value = "侦查阶段代码翻译")
private String zcjddmStr; private String zcjddmStr;
@ApiModelProperty(value = "案事件发生地点行政区划代码翻译")
private String asjfsddXzqhdmStr; private String asjfsddXzqhdmStr;
......
...@@ -23,7 +23,7 @@ import java.util.Date; ...@@ -23,7 +23,7 @@ import java.util.Date;
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)
@Accessors(chain = true) @Accessors(chain = true)
@TableName("TB_ST_RY") @TableName("TB_ST_RY")
@ApiModel(value="TbStRy对象", description="人员基本信息") @ApiModel(value="人员基本信息", description="人员基本信息")
public class TbStRy implements Serializable { public class TbStRy implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
...@@ -337,21 +337,34 @@ public class TbStRy implements Serializable { ...@@ -337,21 +337,34 @@ public class TbStRy implements Serializable {
private String gabxf; private String gabxf;
@TableField("RYSX") @TableField("RYSX")
@ApiModelProperty(value = "人员筛选")
private String rysx; private String rysx;
@TableField("BCRYBH") @TableField("BCRYBH")
@ApiModelProperty(value = "bc人员编号")
private String bcrybh; private String bcrybh;
@ApiModelProperty(value = "性别代码翻译")
private String xbdmStr; private String xbdmStr;
@ApiModelProperty(value = "名字代码翻译")
private String mzdmStr; private String mzdmStr;
@ApiModelProperty(value = "籍贯代码翻译")
private String jgssxdm; private String jgssxdm;
@ApiModelProperty(value = "户籍地址行政区划代码翻译")
private String hjdzXzqhdmStr; private String hjdzXzqhdmStr;
@ApiModelProperty(value = "籍贯ss代码翻译")
private String jgssxdmStr; private String jgssxdmStr;
//文化程度
@ApiModelProperty(value = "文化程度")
private String whcd ; private String whcd ;
@ApiModelProperty(value = "二代证照片路径")
private String edzzplj; private String edzzplj;
@ApiModelProperty(value = "工作单位")
private String fwcs; private String fwcs;
@ApiModelProperty(value = "证件号码")
private String zjhm; private String zjhm;
@ApiModelProperty(value = "出生日期_起始日期")
private Date csrqQsrq; private Date csrqQsrq;
} }
...@@ -5,6 +5,8 @@ import com.baomidou.mybatisplus.annotation.TableField; ...@@ -5,6 +5,8 @@ import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import com.founder.commonutils.model.newPublicEntity.SysUser; import com.founder.commonutils.model.newPublicEntity.SysUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import java.util.Date; import java.util.Date;
...@@ -17,72 +19,108 @@ import java.util.List; ...@@ -17,72 +19,108 @@ import java.util.List;
*/ */
@Data @Data
@TableName("tb_st_ztyp_fwbsh") @TableName("tb_st_ztyp_fwbsh")
@ApiModel(value="主题研判服务标识号研判实体", description="")
public class TbStZtypFwbsh { public class TbStZtypFwbsh {
//信息主键编号
@ApiModelProperty(value = "信息主键编号")
@TableId(type = IdType.INPUT) @TableId(type = IdType.INPUT)
private String xxzjbh; private String xxzjbh;
//服务标识号类别 CODE_FWBSH
@ApiModelProperty(value = "服务标识号类别")
private String fwbshLb; private String fwbshLb;
@ApiModelProperty(value = "服务标识号类别翻译")
@TableField(exist = false) @TableField(exist = false)
private String fwbshLbStr; private String fwbshLbStr;
//服务标识号号码
@ApiModelProperty(value = "服务标识号号码")
private String fwbshHm; private String fwbshHm;
//服务标识号描述
@ApiModelProperty(value = "服务标识号描述")
private String fwbshMs; private String fwbshMs;
@ApiModelProperty(value = "信息删除_判断标识")
private String xxscPdbz; private String xxscPdbz;
@ApiModelProperty(value = "信息登记单位_公安机关机构代码")
private String xxdjdwGajgjgdm; private String xxdjdwGajgjgdm;
@ApiModelProperty(value = "信息登记单位_公安机关名称")
private String xxdjdwGajgmc; private String xxdjdwGajgmc;
@ApiModelProperty(value = "信息登记人员_姓名")
private String xxdjryXm; private String xxdjryXm;
@ApiModelProperty(value = "信息登记人员_公民身份号码")
private String xxdjryGmsfhm; private String xxdjryGmsfhm;
@ApiModelProperty(value = "信息登记人员_联系电话")
private String xxdjryLxdh; private String xxdjryLxdh;
@ApiModelProperty(value = "登记时间")
private Date djsj; private Date djsj;
@ApiModelProperty(value = "更新时间")
private Date gxsj; private Date gxsj;
@ApiModelProperty(value = "信息操作单位_公安机关机构代码")
private String xxczdwGajgjgdm; private String xxczdwGajgjgdm;
@ApiModelProperty(value = "信息操作单位_公安机关名称")
private String xxczdwGajgmc; private String xxczdwGajgmc;
@ApiModelProperty(value = "信息操作人员_姓名")
private String xxczryXm; private String xxczryXm;
@ApiModelProperty(value = "信息操作人员_公民身份号码")
private String xxczryGmsfhm; private String xxczryGmsfhm;
@ApiModelProperty(value = "信息来源描述")
private String xxlyms = "刑侦信息专业应用系统"; private String xxlyms = "刑侦信息专业应用系统";
@ApiModelProperty(value = "信息入省库时间")
private Date xxrsksj; private Date xxrsksj;
@ApiModelProperty(value = "信息入部库时间")
private Date xxrbksj; private Date xxrbksj;
@ApiModelProperty(value = "信息入省库_判断标识")
private String xxrskPdbz; private String xxrskPdbz;
@ApiModelProperty(value = "信息入部库_判断标识")
private String xxrbkPdbz; private String xxrbkPdbz;
@ApiModelProperty(value = "当前第几页")
@TableField(exist = false)
private int page;
@ApiModelProperty(value = "每页多少行")
@TableField(exist = false) @TableField(exist = false)
private int page;//当前第几页 private int limit;
@ApiModelProperty(value = "全省案件数量")
@TableField(exist = false) @TableField(exist = false)
private int limit;//每页多少行 private int qsajCount;
@ApiModelProperty(value = "全国案件数量")
@TableField(exist = false) @TableField(exist = false)
private int qsajCount;//全省案件数量 private int qgajCount;
@ApiModelProperty(value = "关联线索数量")
@TableField(exist = false) @TableField(exist = false)
private int qgajCount;//全国案件数量 private int glxsCount;
@ApiModelProperty(value = "单位代码")
@TableField(exist = false) @TableField(exist = false)
private int glxsCount;//关联线索数量 private String unitcode;
@ApiModelProperty(value = "全部下级单位代码")
@TableField(exist = false) @TableField(exist = false)
private String unitcode;//单位代码 private List<List<String>> unitcodeList;
@ApiModelProperty(value = "标识号表入参")
@TableField(exist = false) @TableField(exist = false)
private List<List<String>> unitcodeList;//全部下级单位代码 private List<String> bshlb;
//登录人员 //登录人员
public void setDjUser(SysUser user){ public void setDjUser(SysUser user){
......
package com.founder.commonutils.model.newPublicEntity.ztypEntity; package com.founder.commonutils.model.newPublicEntity.ztypEntity;
import com.founder.commonutils.model.newPublicEntity.SysUser; import com.founder.commonutils.model.newPublicEntity.SysUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter; import lombok.Getter;
import lombok.Setter; import lombok.Setter;
@Getter @Getter
@Setter @Setter
@ApiModel(value="涉黑涉恶案件立案信息", description="")
public class TbXwLaShse { public class TbXwLaShse {
//关联信息_信息主键编号
@ApiModelProperty(value = "关联信息_信息主键编号")
private String glxxXxzjbh; private String glxxXxzjbh;
//案事件编号 @ApiModelProperty(value = "案事件编号")
private String asjbh; private String asjbh;
//信息主键编号 @ApiModelProperty(value = "信息主键编号")
private String xxzjbh; private String xxzjbh;
//现场勘验编号 @ApiModelProperty(value = "现场勘验编号")
private String xckybh; private String xckybh;
//是否线下立案_判断标志 @ApiModelProperty(value = "是否线下立案_判断标志")
private String sfxxlaPdbz; private String sfxxlaPdbz;
//是否刑事案件_判断标志 @ApiModelProperty(value = "是否刑事案件_判断标志")
private String sfxsajPdbz; private String sfxsajPdbz;
//立案_案件类别代码 @ApiModelProperty(value = "立案_案件类别代码")
private String laAjlbdm; private String laAjlbdm;
@ApiModelProperty(value = "案件类别代码")
private String ajlbdm; private String ajlbdm;
//案件性质代码 @ApiModelProperty(value = "案件性质代码")
private String laZatzJyqk; private String laZatzJyqk;
//特殊手段代码 @ApiModelProperty(value = "特殊手段代码")
private String tssddm; private String tssddm;
//立案_案件名称 @ApiModelProperty(value = "立案_案件名称")
private String laAjmc; private String laAjmc;
//立案_案事件发生时间_案事件发生开始时间 @ApiModelProperty(value = "立案_案事件发生时间_案事件发生开始时间")
private String laAsjfssjAsjfskssj; private String laAsjfssjAsjfskssj;
//立案_案事件发生时间_案事件发生结束时间 @ApiModelProperty(value = "立案_案事件发生时间_案事件发生结束时间")
private String laAsjfssjAsjfsjssj; private String laAsjfssjAsjfsjssj;
//案发地区划代码 @ApiModelProperty(value = "案发地区划代码")
private String laAsjfsddXzqhdm; private String laAsjfsddXzqhdm;
//案发地详址 @ApiModelProperty(value = "案发地详址")
private String laAsjfsddDzmc; private String laAsjfsddDzmc;
//简要案情 @ApiModelProperty(value = "简要案情")
private String laJyaq; private String laJyaq;
//立案_是否涉枪 @ApiModelProperty(value = "立案_是否涉枪")
private String laSfsqPdbz; private String laSfsqPdbz;
//立案_是否涉爆 @ApiModelProperty(value = "立案_是否涉爆")
private String laSfsbPdbz; private String laSfsbPdbz;
//立案_是否命案 @ApiModelProperty(value = "立案_是否命案")
private String laSfmaPdbz; private String laSfmaPdbz;
//立案_是否涉外 @ApiModelProperty(value = "立案_是否涉外")
private String laSfswPdbz; private String laSfswPdbz;
//作案事由代码 @ApiModelProperty(value = "作案事由代码")
private String laSyJyqk; private String laSyJyqk;
//立案日期 @ApiModelProperty(value = "立案日期")
private String larq; private String larq;
//立案单位代码 @ApiModelProperty(value = "立案单位代码")
private String ladwGajgjgdm; private String ladwGajgjgdm;
//立案单位名称 @ApiModelProperty(value = "立案单位名称")
private String ladwGajgmc; private String ladwGajgmc;
//主办人_姓名 @ApiModelProperty(value = "主办人_姓名")
private String zbrXm; private String zbrXm;
//主办人_公民身份号码 @ApiModelProperty(value = "主办人_公民身份号码")
private String zbrGmsfhm; private String zbrGmsfhm;
//主办人_联系电话 @ApiModelProperty(value = "主办人_联系电话")
private String zbrLxdh; private String zbrLxdh;
//协办人_姓名 @ApiModelProperty(value = "协办人_姓名")
private String xbrXm; private String xbrXm;
//协办人_公民身份号码 @ApiModelProperty(value = "协办人_公民身份号码")
private String xbrGmsfhm; private String xbrGmsfhm;
//协办人_联系电话 @ApiModelProperty(value = "协办人_联系电话")
private String xbrLxdh; private String xbrLxdh;
//刑事技术负责人_姓名 @ApiModelProperty(value = "刑事技术负责人_姓名")
private String xsjsfzrXm; private String xsjsfzrXm;
//刑事技术负责人_公民身份号码 @ApiModelProperty(value = "刑事技术负责人_公民身份号码")
private String xsjsfzrGmsfhm; private String xsjsfzrGmsfhm;
//刑事技术负责人_联系电话 @ApiModelProperty(value = "刑事技术负责人_联系电话")
private String xsjsfzrLxdh; private String xsjsfzrLxdh;
//公安机关负责人_姓名 @ApiModelProperty(value = "公安机关负责人_姓名")
private String gajgfzrXm; private String gajgfzrXm;
//公安机关负责人_公民身份号码 @ApiModelProperty(value = "公安机关负责人_公民身份号码")
private String gajgfzrGmsfhm; private String gajgfzrGmsfhm;
//公安机关负责人_联系电话 @ApiModelProperty(value = "公安机关负责人_联系电话")
private String gajgfzrLxdh; private String gajgfzrLxdh;
// 翻译为具体的值 // 翻译为具体的值
//是否线下立案_判断标志 @ApiModelProperty(value = "是否线下立案_判断标志")
private String sfxxla; private String sfxxla;
//是否刑事案件_判断标志
private String sfxsaj; @ApiModelProperty(value = "是否刑事案件_判断标志")
//立案_案件类别代码 private String sfxsaj;
private String laAjlb;
//案件性质代码 @ApiModelProperty(value = "立案_案件类别代码")
private String laajxz; private String laAjlb;
//特殊手段代码
private String tssd; @ApiModelProperty(value = "案件性质代码")
//案发地区划代码 private String laajxz;
private String laAsjfsddXzqh;
//作案事由代码 @ApiModelProperty(value = "特殊手段代码")
private String zasy; private String tssd;
//立案单位字典码翻译
private String ladwStr; @ApiModelProperty(value = "案发地区划代码")
private String laAsjfsddXzqh;
@ApiModelProperty(value = "作案事由代码")
private String zasy;
@ApiModelProperty(value = "立案单位字典码翻译")
private String ladwStr;
@ApiModelProperty(value = "信息登记单位_公安机关机构代码")
private String xxdjdwGajgjgdm; private String xxdjdwGajgjgdm;
@ApiModelProperty(value = "信息登记单位_公安机关名称")
private String xxdjdwGajgmc; private String xxdjdwGajgmc;
@ApiModelProperty(value = "信息登记人员_姓名")
private String xxdjryXm; private String xxdjryXm;
@ApiModelProperty(value = "信息登记人员_身份证")
private String xxdjryGmsfhm; private String xxdjryGmsfhm;
@ApiModelProperty(value = "信息登记人员_联系电话")
private String xxdjryLxdh; private String xxdjryLxdh;
@ApiModelProperty(value = "信息操作单位_公安机关机构代码")
private String xxczdwGajgjgdm; private String xxczdwGajgjgdm;
@ApiModelProperty(value = "信息操作单位_公安机关名称")
private String xxczdwGajgmc; private String xxczdwGajgmc;
@ApiModelProperty(value = "信息操作人员_姓名")
private String xxczryXm; private String xxczryXm;
@ApiModelProperty(value = "信息操作人员_身份证")
protected String xxczryGmsfhm; protected String xxczryGmsfhm;
@ApiModelProperty(value = "信息操作人员_联系电话")
protected String xxczryLxdh; protected String xxczryLxdh;
public void setDjUser(SysUser user){ public void setDjUser(SysUser user){
this.xxdjryXm=user.getTrueName(); this.xxdjryXm=user.getTrueName();
this.xxdjdwGajgjgdm=user.getUnitcode(); this.xxdjdwGajgjgdm=user.getUnitcode();
......
package com.founder.commonutils.model.newPublicEntity.ztypEntity; package com.founder.commonutils.model.newPublicEntity.ztypEntity;
import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import java.util.Date; import java.util.Date;
...@@ -9,514 +10,660 @@ import java.util.Date; ...@@ -9,514 +10,660 @@ import java.util.Date;
public class TbXwZbfzxyr { public class TbXwZbfzxyr {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
// 信息编号 @ApiModelProperty(value = "信息编号")
private String xxbh = null; private String xxbh = null;
// 抓获方式代码
@ApiModelProperty(value = "抓获方式代码")
private String zhfsdm = null; private String zhfsdm = null;
// 违法犯罪人员编号
@ApiModelProperty(value = "违法犯罪人员编号")
private String wffzrybh = null; private String wffzrybh = null;
// 人员编号
@ApiModelProperty(value = "人员编号")
private String rybh = null; private String rybh = null;
// 在逃人员编号
@ApiModelProperty(value = "在逃人员编号")
private String ztrybh = null; private String ztrybh = null;
// 人名称类别代码
@ApiModelProperty(value = "人名称类别代码")
private String rmclbdm = null; private String rmclbdm = null;
// 人名称
@ApiModelProperty(value = "人名称")
private String rmc = null; private String rmc = null;
// 常用证件代码
@ApiModelProperty(value = "常用证件代码")
private String cyzjdm = null; private String cyzjdm = null;
// 证件号码
@ApiModelProperty(value = "证件号码")
private String zjhm = null; private String zjhm = null;
// 出生日期_起始日期
@ApiModelProperty(value = "出生日期_起始日期")
private Date csrqQsrq = null; private Date csrqQsrq = null;
// 出生日期_截止日期
@ApiModelProperty(value = "出生日期_截止日期")
private Date csrqJzrq = null; private Date csrqJzrq = null;
// 性别代码
@ApiModelProperty(value = "性别代码")
private String xbdm = null; private String xbdm = null;
@ApiModelProperty(value = "性别")
private String xb = null; private String xb = null;
// 国籍代码
@ApiModelProperty(value = "国籍代码")
private String gjdm = null; private String gjdm = null;
// 籍贯代码
@ApiModelProperty(value = "籍贯代码")
private String jgssxdm = null; private String jgssxdm = null;
// 民族代码
@ApiModelProperty(value = "民族代码")
private String mzdm = null; private String mzdm = null;
// 户籍地址_行政区划代码
@ApiModelProperty(value = "户籍地址_行政区划代码")
private String hjdzXzqhdm = null; private String hjdzXzqhdm = null;
@ApiModelProperty(value = "户籍地")
private String hjd= null; private String hjd= null;
// 户籍地址_地址名称
@ApiModelProperty(value = "户籍地址_地址名称")
private String hjdzDzmc = null; private String hjdzDzmc = null;
// 现住址_行政区划代码
@ApiModelProperty(value = "现住址_行政区划代码")
private String xzdXzqhdm = null; private String xzdXzqhdm = null;
// 现住址_地址名称
@ApiModelProperty(value = "现住址_地址名称")
private String xzdDzmc = null; private String xzdDzmc = null;
// 出生地_行政区划代码
@ApiModelProperty(value = "出生地_行政区划代码")
private String csdXzqhdm = null; private String csdXzqhdm = null;
// 出生地_地址名称
@ApiModelProperty(value = "出生地_地址名称")
private String csdDzmc = null; private String csdDzmc = null;
// 身高
@ApiModelProperty(value = "身高")
private String sg = null; private String sg = null;
// 体重
@ApiModelProperty(value = "体重")
private String tz = null; private String tz = null;
// 体貌特征描述
@ApiModelProperty(value = "体貌特征描述")
private String tmtzms = null; private String tmtzms = null;
// 体表标记描述
@ApiModelProperty(value = "体表标记描述")
private String tbbjms = null; private String tbbjms = null;
// 牙齿特征描述
@ApiModelProperty(value = "牙齿特征描述")
private String yctzms = null; private String yctzms = null;
// 人其他特征描述
@ApiModelProperty(value = "人其他特征描述")
private String rqttzms = null; private String rqttzms = null;
// 工作单位
@ApiModelProperty(value = "工作单位")
private String fwcs = null; private String fwcs = null;
// 联系电话
@ApiModelProperty(value = "联系电话")
private String lxdm = null; private String lxdm = null;
// 宗教信仰代码
@ApiModelProperty(value = "宗教信仰代码")
private String zjxydm = null; private String zjxydm = null;
// 政治面貌代码
@ApiModelProperty(value = "政治面貌代码")
private String zzmmdm = null; private String zzmmdm = null;
// 学历代码
@ApiModelProperty(value = "学历代码")
private String xldm = null; private String xldm = null;
// 婚姻状况代码
@ApiModelProperty(value = "婚姻状况代码")
private String jyzkdm = null; private String jyzkdm = null;
// 兵役状况代码
@ApiModelProperty(value = "兵役状况代码")
private String byzkdm = null; private String byzkdm = null;
// 吸毒史标识
@ApiModelProperty(value = "吸毒史标识")
private String xdsbs = null; private String xdsbs = null;
// 职业类别代码
@ApiModelProperty(value = "职业类别代码")
private String zylbdm = null; private String zylbdm = null;
// 职业类别代码补充描述
@ApiModelProperty(value = "职业类别代码补充描述")
private String zylbdmbcms = null; private String zylbdmbcms = null;
// 涉案人员身份代码
@ApiModelProperty(value = "涉案人员身份代码")
private String sarysfdm = null; private String sarysfdm = null;
// 涉案人员身份代码补充描述
@ApiModelProperty(value = "涉案人员身份代码补充描述")
private String sarysfdmbcms = null; private String sarysfdmbcms = null;
// 特殊专长代码
@ApiModelProperty(value = "特殊专长代码")
private String tszcdm = null; private String tszcdm = null;
// 特殊专长代码补充描述
@ApiModelProperty(value = "特殊专长代码补充描述")
private String tszcdmbcms = null; private String tszcdmbcms = null;
// 违法犯罪经历代码
@ApiModelProperty(value = "违法犯罪经历代码")
private String wffzjldm = null; private String wffzjldm = null;
// 违法犯罪经历描述
@ApiModelProperty(value = "违法犯罪经历描述")
private String wffzjlms = null; private String wffzjlms = null;
// 简历
@ApiModelProperty(value = "简历")
private String jl = null; private String jl = null;
// 个人收入支出情况
@ApiModelProperty(value = "个人收入支出情况")
private String grsrzcqk = null; private String grsrzcqk = null;
// 社会交往情况
@ApiModelProperty(value = "社会交往情况")
private String shjwqk = null; private String shjwqk = null;
// 个人爱好及活动特点描述
@ApiModelProperty(value = "个人爱好及活动特点描述")
private String grahjhdtdms = null; private String grahjhdtdms = null;
// 流窜作案情况
@ApiModelProperty(value = "流窜作案情况")
private String lczaqk = null; private String lczaqk = null;
// 犯罪嫌疑人特殊行为特点代码
@ApiModelProperty(value = "犯罪嫌疑人特殊行为特点代码")
private String fzxyrtsxwtddm = null; private String fzxyrtsxwtddm = null;
// 犯罪嫌疑人特殊行为特点代码补充描述
@ApiModelProperty(value = "犯罪嫌疑人特殊行为特点代码补充描述")
private String fzxyrtsxwtddmbcms = null; private String fzxyrtsxwtddmbcms = null;
// 案件共同作案人员组合形式代码
@ApiModelProperty(value = "案件共同作案人员组合形式代码")
private String ajgtzaryzhxsdm = null; private String ajgtzaryzhxsdm = null;
// 案件共同作案人员构成代码
@ApiModelProperty(value = "案件共同作案人员构成代码")
private String ajgtzarygcdm = null; private String ajgtzarygcdm = null;
// 案件共同作案人员构成代码补充描述
@ApiModelProperty(value = "案件共同作案人员构成代码补充描述")
private String ajgtzarygcdmbcms = null; private String ajgtzarygcdmbcms = null;
// 十指指纹编号
@ApiModelProperty(value = "十指指纹编号")
private String szzwbh = null; private String szzwbh = null;
// DNA编号
@ApiModelProperty(value = "DNA编号")
private String dnabh = null; private String dnabh = null;
// 办理时间_日期时间
@ApiModelProperty(value = "办理时间_日期时间")
private Date blsjRqsj = null; private Date blsjRqsj = null;
@ApiModelProperty(value = "抓获地区行政区划代码")
private String zhdd_xzqhdm; private String zhdd_xzqhdm;
@ApiModelProperty(value = "抓获地名称")
private String zhdd_dzmc; private String zhdd_dzmc;
@ApiModelProperty(value = "出生日期起始日期")
private Date csrq_qsrq; private Date csrq_qsrq;
@ApiModelProperty(value = "出生日期截止日期")
private Date csrq_jzrq; private Date csrq_jzrq;
@ApiModelProperty(value = "户籍地_行政区划代码")
private String hjdz_xzqhdm; private String hjdz_xzqhdm;
@ApiModelProperty(value = "户籍地_地址名称")
private String hjdz_dzmc; private String hjdz_dzmc;
@ApiModelProperty(value = "xzd_行政区划代码")
private String xzd_xzqhdm; private String xzd_xzqhdm;
@ApiModelProperty(value = "xzd_地址名称")
private String xzd_dzmc; private String xzd_dzmc;
@ApiModelProperty(value = "csd_行政区划代码")
private String csd_xzqhdm; private String csd_xzqhdm;
@ApiModelProperty(value = "csd_地址名称")
private String csd_dzmc; private String csd_dzmc;
@ApiModelProperty(value = "办理单位_公安机关机构代码")
private String bldw_gajgjgdm; private String bldw_gajgjgdm;
@ApiModelProperty(value = "办理单位_公安机关名称")
private String bldw_gajgmc; private String bldw_gajgmc;
@ApiModelProperty(value = "主办人_姓名")
private String zbr_xm; private String zbr_xm;
@ApiModelProperty(value = "主办人_公民身份号码")
private String zbr_gmsfhm; private String zbr_gmsfhm;
@ApiModelProperty(value = "协办人_姓名")
private String xbr_xm; private String xbr_xm;
@ApiModelProperty(value = "协办人_公民身份号码")
private String xbr_gmsfhm; private String xbr_gmsfhm;
@ApiModelProperty(value = "办理时间_日期时间")
private Date blsj_rqsj; private Date blsj_rqsj;
@ApiModelProperty(value = "犯罪嫌疑人人员足迹")
private String fzxyrRyzt; private String fzxyrRyzt;
@ApiModelProperty(value = "认定犯罪嫌疑人信息编号")
private String rdFzxyrXxbh; private String rdFzxyrXxbh;
@ApiModelProperty(value = "认定犯罪嫌疑人人员编号")
private String rdFzxyrRybh; private String rdFzxyrRybh;
private String gxsj;
@ApiModelProperty(value = "更新时间")
private String gxsj;
// 撤销单位公安机构代码 @ApiModelProperty(value = "撤销单位公安机构代码")
private String cxdwGajgdm; private String cxdwGajgdm;
// 撤销单位公安机构名称 @ApiModelProperty(value = "撤销单位公安机构名称")
private String cxdwGajgmc; private String cxdwGajgmc;
// 撤销时间 @ApiModelProperty(value = "撤销时间")
private Date cxsj; private Date cxsj;
private String edzzplj; // 二代证照片路径 @ApiModelProperty(value = "二代证照片路径")
private String zmzplj; // 正面照片路径 private String edzzplj;
private String cmzplj; // 侧面照片路径
private String ycmzplj; // 右侧面照片路径 @ApiModelProperty(value = "正面照片路径")
private String edzzpxxbh; // 二代证信息编号-人员照片表TB_ST_RY_ZP外键 private String zmzplj;
private String zmzpxxbh; // 正面信息编号-人员照片表TB_ST_RY_ZP外键
private String cmzpxxbh; // 侧面信息编号-人员照片表TB_ST_RY_ZP外键 @ApiModelProperty(value = "侧面照片路径")
private String ycmzpxxbh; // 右侧面信息编号-人员照片表TB_ST_RY_ZP外键 private String cmzplj;
private String yshrgx; // 与受害人关系0:非亲属 1:亲属 @ApiModelProperty(value = "右侧面照片路径")
private String daztdmStr; //到案状态代码 private String ycmzplj;
//抓获日期
// 二代证信息编号-人员照片表TB_ST_RY_ZP外键
@ApiModelProperty(value = "二代证信息编号")
private String edzzpxxbh;
// 正面信息编号-人员照片表TB_ST_RY_ZP外键
@ApiModelProperty(value = "正面信息编号")
private String zmzpxxbh;
// 侧面信息编号-人员照片表TB_ST_RY_ZP外键
@ApiModelProperty(value = "侧面信息编号")
private String cmzpxxbh;
// 右侧面信息编号-人员照片表TB_ST_RY_ZP外键
@ApiModelProperty(value = "右侧面信息编号")
private String ycmzpxxbh;
// 与受害人关系0:非亲属 1:亲属
@ApiModelProperty(value = "与受害人关系0")
private String yshrgx;
@ApiModelProperty(value = "到案状态代码")
private String daztdmStr;
@ApiModelProperty(value = "抓获日期")
private String zhrq_str; private String zhrq_str;
//发现犯罪嫌疑人主键编号
@ApiModelProperty(value = "发现犯罪嫌疑人主键编号")
private String fxfzxyrId; private String fxfzxyrId;
private String ryzpZjhm=null;//调全国人员照片库使用到的字段 @ApiModelProperty(value = "调全国人员照片库使用到的字段")
private String ryzpZjhm=null;
//////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////
//抓获犯罪嫌疑人_警综人员编号
@ApiModelProperty(value = "抓获犯罪嫌疑人_警综人员编号")
private String zhfzxyrJzrybh = null; private String zhfzxyrJzrybh = null;
//违法犯罪经历CN#0#1#1##TEXTAREA#62# @ApiModelProperty(value = "违法犯罪经历")
private String zhfzxyrWffzjlms = null; private String zhfzxyrWffzjlms = null;
//是否有吸毒史#0#1#1#BD_D_SFDM#COBBOX#63# @ApiModelProperty(value = "是否有吸毒史")
private String zhfzxyrSfyxdsPdbz = null; private String zhfzxyrSfyxdsPdbz = null;
//涉案物品#0#1#1#GA_D_SAWPFLDM#COBTREE#64# @ApiModelProperty(value = "涉案物品")
private String zhfzxyrLydpSawpdm = null; private String zhfzxyrLydpSawpdm = null;
//滥用毒品补充描述CN#0#1#1##TEXTBOX#65# @ApiModelProperty(value = "滥用毒品补充描述")
private String zhfzxyrLydpDmbcms = null; private String zhfzxyrLydpDmbcms = null;
//是否怀孕#0#1#1#BD_D_SFDM#COBBOX#66# @ApiModelProperty(value = "是否怀孕")
private String zhfzxyrSfhyPdbz = null; private String zhfzxyrSfhyPdbz = null;
//毒品尿检是否阳性#0#1#1#BD_D_SFDM#COBBOX#67# @ApiModelProperty(value = "毒品尿检是否阳性")
private String zhfzxyrDpnjsfyxPdbz = null; private String zhfzxyrDpnjsfyxPdbz = null;
//是否艾滋病病毒携带者#0#1#1#BD_D_SFDM#COBBOX#68# @ApiModelProperty(value = "是否艾滋病病毒携带者")
private String zhfzxyrSfazbbdxdzPdbz = null; private String zhfzxyrSfazbbdxdzPdbz = null;
//是否重大疾病患者#0#1#1#BD_D_SFDM#COBBOX#69# @ApiModelProperty(value = "是否重大疾病患者")
private String zhfzxyrSfzdjbhzPdbz = null; private String zhfzxyrSfzdjbhzPdbz = null;
//是否精神病人#1#1#1#BD_D_SFDM#COBBOX#70# @ApiModelProperty(value = "是否精神病人")
private String zhfzxyrSfjsbrPdbz = null; private String zhfzxyrSfjsbrPdbz = null;
//携带物品简要情况CN#0#1#1##TEXTBOX#71# @ApiModelProperty(value = "携带物品简要情况")
private String zhfzxyrXdwpJyqk = null; private String zhfzxyrXdwpJyqk = null;
//<ryxx>十指指纹编号#0#1#1##TEXTBOX#72# @ApiModelProperty(value = "十指指纹编号")
private String zhfzxyrSzzwbh = null; private String zhfzxyrSzzwbh = null;
//<ryxx>DNA编号#0#1#1##TEXTBOX#73# @ApiModelProperty(value = "DNA编号")
private String zhfzxyrRydnabh = null; private String zhfzxyrRydnabh = null;
//认定犯罪事实#0#1#1#BD_D_SFDM#COBBOX#74# @ApiModelProperty(value = "认定犯罪事实")
private String zhfzxyrRdfzssPdbz = null; private String zhfzxyrRdfzssPdbz = null;
//认定犯罪事实依据描述CN#0#1#1##TEXTBOX#75# @ApiModelProperty(value = "认定犯罪事实依据描述")
private String zhfzxyrRdfzssZcxwyjms = null; private String zhfzxyrRdfzssZcxwyjms = null;
//排除犯罪嫌疑#0#1#1#BD_D_SFDM#COBBOX#76# @ApiModelProperty(value = "排除犯罪嫌疑")
private String zhfzxyrPcfzxyPdbz = null; private String zhfzxyrPcfzxyPdbz = null;
//排除犯罪嫌疑依据描述CN#0#1#1##TEXTBOX#77# @ApiModelProperty(value = "排除犯罪嫌疑依据描述")
private String zhfzxyrPcfzxyZcxwyjms = null; private String zhfzxyrPcfzxyZcxwyjms = null;
//备注CN#0#1#1##TEXTBOX#78# @ApiModelProperty(value = "备注CN")
private String zhfzxyrBz = null; private String zhfzxyrBz = null;
//<!>办理单位_公安机关机构代码 @ApiModelProperty(value = "办理单位_公安机关机构代码")
private String bldwGajgjgdm = null; private String bldwGajgjgdm = null;
//<!>办理单位_公安机关名称 @ApiModelProperty(value = "办理单位_公安机关名称")
private String bldwGajgmc = null; private String bldwGajgmc = null;
//<!>主办人_姓名 @ApiModelProperty(value = "主办人_姓名")
private String zbrXm = null; private String zbrXm = null;
//<!>主办人_公民身份号码 @ApiModelProperty(value = "主办人_公民身份号码")
private String zbrGmsfhm = null; private String zbrGmsfhm = null;
//<!>主办人_联系电话 @ApiModelProperty(value = "主办人_联系电话")
private String zbrLxdh = null; private String zbrLxdh = null;
//<!>协办人_姓名 @ApiModelProperty(value = "协办人_姓名")
private String xbrXm = null; private String xbrXm = null;
//<!>协办人_公民身份号码 @ApiModelProperty(value = "协办人_公民身份号码")
private String xbrGmsfhm = null; private String xbrGmsfhm = null;
//<!>协办人_联系电话 @ApiModelProperty(value = "协办人_联系电话")
private String xbrLxdh = null; private String xbrLxdh = null;
//<!>办理时间 @ApiModelProperty(value = "办理时间")
private Date blsj = null; private Date blsj = null;
//信息删除_判断标识 @ApiModelProperty(value = "信息删除_判断标识")
private String xxscPdbz = null; private String xxscPdbz = null;
//信息登记单位_公安机关机构代码 @ApiModelProperty(value = "信息登记单位_公安机关机构代码")
private String xxdjdwGajgjgdm = null; private String xxdjdwGajgjgdm = null;
//信息登记单位_公安机关名称 @ApiModelProperty(value = "信息登记单位_公安机关名称")
private String xxdjdwGajgmc = null; private String xxdjdwGajgmc = null;
//信息登记人员_姓名 @ApiModelProperty(value = "信息登记人员_姓名")
private String xxdjryXm = null; private String xxdjryXm = null;
//信息登记人员_公民身份号码 @ApiModelProperty(value = "信息登记人员_公民身份号码")
private String xxdjryGmsfhm = null; private String xxdjryGmsfhm = null;
//信息登记人员_联系电话 @ApiModelProperty(value = "信息登记人员_联系电话")
private String xxdjryLxdh = null; private String xxdjryLxdh = null;
//登记时间 @ApiModelProperty(value = "登记时间")
private String djsj = null; private String djsj = null;
//信息操作单位_公安机关机构代码 @ApiModelProperty(value = "信息操作单位_公安机关机构代码")
private String xxczdwGajgjgdm = null; private String xxczdwGajgjgdm = null;
//信息操作单位_公安机关名称 @ApiModelProperty(value = "信息操作单位_公安机关名称")
private String xxczdwGajgmc = null; private String xxczdwGajgmc = null;
//信息操作人员_姓名 @ApiModelProperty(value = "信息操作人员_姓名")
private String xxczryXm = null; private String xxczryXm = null;
//信息操作人员_公民身份号码 @ApiModelProperty(value = "信息操作人员_公民身份号码")
private String xxczryGmsfhm = null; private String xxczryGmsfhm = null;
//信息来源描述 @ApiModelProperty(value = "信息来源描述")
private String xxlyms = null; private String xxlyms = null;
//信息入省库时间 @ApiModelProperty(value = "信息入省库时间")
private String xxrsksj = null; private String xxrsksj = null;
//信息入部库时间 @ApiModelProperty(value = "信息入部库时间")
private String xxrbksj = null; private String xxrbksj = null;
//信息入省库_判断标识 @ApiModelProperty(value = "信息入省库_判断标识")
private String xxrskPdbz = null; private String xxrskPdbz = null;
//信息入部库_判断标识 @ApiModelProperty(value = "信息入部库_判断标识")
private String xxrbkPdbz = null; private String xxrbkPdbz = null;
//<!>信息主键编号 @ApiModelProperty(value = "信息主键编号")
private String xxzjbh = null; private String xxzjbh = null;
//<!>案事件编号 @ApiModelProperty(value = "案事件编号")
private String asjbh = null; private String asjbh = null;
@ApiModelProperty(value = "案事件编号s")
private String asjbhs = null; private String asjbhs = null;
//<!>信息封存_判断标识 @ApiModelProperty(value = "信息封存_判断标识")
private String xxfcPdbz = null; private String xxfcPdbz = null;
//侦查线索获取方式#0#1#1#GA_D_ZCXSHQFSDM#COBBOX#1# @ApiModelProperty(value = "侦查线索获取方式")
private String zcxshqfsZcxshqfsdm = null; private String zcxshqfsZcxshqfsdm = null;
//侦查线索获取方式补充描述CN#0#1#1##TEXTBOX#2# @ApiModelProperty(value = "侦查线索获取方式补充描述")
private String zcxshqfsDmbcms = null; private String zcxshqfsDmbcms = null;
//抓捕工作措施#0#1#1#GA_D_ZTFZXYRZBGZCSDM#COBBOX#3# @ApiModelProperty(value = "抓捕工作措施")
private String zbgzcsZbgzcsdm = null; private String zbgzcsZbgzcsdm = null;
//抓捕工作措施补充描述CN#0#1#1##TEXTBOX#4# @ApiModelProperty(value = "抓捕工作措施补充描述")
private String zbgzcsDmbcms = null; private String zbgzcsDmbcms = null;
//抓获方式#1#1#1#GA_D_ZHFSDM#COBBOX#5# @ApiModelProperty(value = "抓获方式")
private String zhfsZhfsdm = null; private String zhfsZhfsdm = null;
//抓获方式补充描述CN#0#1#1##TEXTBOX#6# @ApiModelProperty(value = "抓获方式补充描述")
private String zhfsDmbcms = null; private String zhfsDmbcms = null;
//人身确定及核实方式#0#1#1#GA_D_RSQDJHSFSDM#COBBOX#7# @ApiModelProperty(value = "人身确定及核实方式")
private String rsqdjhsfsRsqdjhsfsdm = null; private String rsqdjhsfsRsqdjhsfsdm = null;
//人身确定及核实方式补充描述CN#0#1#1##TEXTBOX#8# @ApiModelProperty(value = "人身确定及核实方式补充描述")
private String rsqdjhsfsDmbcms = null; private String rsqdjhsfsDmbcms = null;
//抓获日期#1#1#1##DATE#9# @ApiModelProperty(value = "抓获日期")
@JsonFormat(pattern = "yyyy-MM-dd", timezone="GMT+8") @JsonFormat(pattern = "yyyy-MM-dd", timezone="GMT+8")
private Date zhrq = null; private Date zhrq = null;
//抓获地区划#1#1#1#GB_D_XZQHDM#COBTREE#10# @ApiModelProperty(value = "抓获地区划")
private String zhddXzqhdm = null; private String zhddXzqhdm = null;
//抓获地名称CN#1#1#1##TEXTBOX#11# @ApiModelProperty(value = "抓获地名称")
private String zhddDzmc = null; private String zhddDzmc = null;
//<!>抓获单位_公安机关机构代码#0#1#1#GA_D_GAJGJGDM#COBBOX#12# @ApiModelProperty(value = "抓获单位_公安机关机构代码")
private String zhdwGajgjgdm = null; private String zhdwGajgjgdm = null;
//抓获单位_公安机关名称CN#0#1#1##TEXTBOX#13# @ApiModelProperty(value = "抓获单位_公安机关名称")
private String zhdwGajgmc = null; private String zhdwGajgmc = null;
//<!>抓获犯罪嫌疑人_案事件相关人员编号 @ApiModelProperty(value = "抓获犯罪嫌疑人_案事件相关人员编号")
private String zhfzxyrAsjxgrybh = null; private String zhfzxyrAsjxgrybh = null;
//到案状态#1#1#1#GA_D_DAZTDM#COBBOX#14# @ApiModelProperty(value = "到案状态")
private String zhfzxyrFzxyrdaztdm = null; private String zhfzxyrFzxyrdaztdm = null;
//人身强制措施代码#0#1#1#GA_D_RSQZCSDM#COBBOX#15# @ApiModelProperty(value = "人身强制措施代码")
private String zhfzxyrRsqzcsdm = null; private String zhfzxyrRsqzcsdm = null;
//涉案地位作用#1#1#1#GA_D_GTFZFZXYRSADWZYDM#COBBOX#16# @ApiModelProperty(value = "涉案地位作用")
private String zhfzxyrGtfzfzxyrsadwzydm = null; private String zhfzxyrGtfzfzxyrsadwzydm = null;
@ApiModelProperty(value = "地位作用")
private String dwzy; private String dwzy;
//在逃人员编号#0#0#1##TEXTBOX#17# @ApiModelProperty(value = "在逃人员编号")
private String zhfzxyrZtrybh = null; private String zhfzxyrZtrybh = null;
//是否收赃人员#0#1#1#BD_D_SFDM#COBBOX#18# @ApiModelProperty(value = "是否收赃人员")
private String zhfzxyrSfszryPdbz = null; private String zhfzxyrSfszryPdbz = null;
//是否投案自首#0#1#1#BD_D_SFDM#COBBOX#19# @ApiModelProperty(value = "是否投案自首")
private String zhfzxyrSftazsPdbz = null; private String zhfzxyrSftazsPdbz = null;
//是否上网追逃#0#1#1#BD_D_SFDM#COBBOX#20# @ApiModelProperty(value = "是否上网追逃")
private String zhfzxyrSfswztPdbz = null; private String zhfzxyrSfswztPdbz = null;
//<ryxx>姓名CN#1#1#1##TEXTBOX#24# @ApiModelProperty(value = "抓获犯罪嫌疑人姓名")
private String zhfzxyrXm = null; private String zhfzxyrXm = null;
//<ryxx>曾用名CN#0#1#1##TEXTBOX#25# @ApiModelProperty(value = "抓获犯罪嫌疑人曾用名")
private String zhfzxyrCym = null; private String zhfzxyrCym = null;
//<ryxx>别名CN#0#1#1##TEXTBOX#26# @ApiModelProperty(value = "抓获犯罪嫌疑人别名")
private String zhfzxyrBmch = null; private String zhfzxyrBmch = null;
//<ryxx>常用证件#1#1#1#KX_D_CYZJDM#COBBOX#21# @ApiModelProperty(value = "常用证件")
private String zhfzxyrCyzjCyzjdm = null; private String zhfzxyrCyzjCyzjdm = null;
//常用证件补充描述CN#1#1#1##TEXTBOX#22# @ApiModelProperty(value = "常用证件补充描述")
private String zhfzxyrCyzjDmbcms = null; private String zhfzxyrCyzjDmbcms = null;
//<ryxx>证件号码#1#1#1##TEXTBOX#23# @ApiModelProperty(value = "证件号码")
private String zhfzxyrCyzjZjhm = null; private String zhfzxyrCyzjZjhm = null;
//出生日期估值下限#0#1#1##DATE#29# @ApiModelProperty(value = "出生日期估值下限")
private Date zhfzxyrCsrqRqgzxx = null; private Date zhfzxyrCsrqRqgzxx = null;
//出生日期估值上限#0#1#1##DATE#28# @ApiModelProperty(value = "出生日期估值上限")
private Date rqgzxxCsrqRqgzsx = null; private Date rqgzxxCsrqRqgzsx = null;
//<ryxx>性别#1#1#1#GB_D_XBDM#COBBOX#27# @ApiModelProperty(value = "抓获犯罪嫌疑人性别代码")
private String zhfzxyrXbdm = null; private String zhfzxyrXbdm = null;
//嫌疑人性别 @ApiModelProperty(value = "抓获犯罪嫌疑人性别")
private String zhfzxyrXbStr = null; private String zhfzxyrXbStr = null;
//<ryxx>国籍#0#1#1#GB_D_GJHDQDM#COBBOX#30# @ApiModelProperty(value = "国籍代码")
private String zhfzxyrGjdm = null; private String zhfzxyrGjdm = null;
//<ryxx>籍贯#0#1#1#GB_D_XZQHDM#COBTREE#31# @ApiModelProperty(value = "籍贯代码")
private String zhfzxyrJgdm = null; private String zhfzxyrJgdm = null;
//<ryxx>民族#0#1#1#GB_D_MZDM#COBBOX#32# @ApiModelProperty(value = "民族代码")
private String zhfzxyrMzdm = null; private String zhfzxyrMzdm = null;
//嫌疑人民族 @ApiModelProperty(value = "嫌疑人民族str")
private String zhfzxyrMzStr = null; private String zhfzxyrMzStr = null;
//<ryxx>出生地_国家地区#0#1#1#GB_D_GJHDQDM#COBBOX#33# @ApiModelProperty(value = "出生地_国家地区")
private String zhfzxyrCsdGjhdqdm = null; private String zhfzxyrCsdGjhdqdm = null;
//<ryxx>出生地_行政区划#0#1#1#GB_D_XZQHDM#COBTREE#34# @ApiModelProperty(value = "出生地_行政区划")
private String zhfzxyrCsdXzqhdm = null; private String zhfzxyrCsdXzqhdm = null;
//<ryxx>出生地_名称CN#0#1#1##TEXTBOX#35# @ApiModelProperty(value = "出生地_名称CN")
private String zhfzxyrCsdDzmc = null; private String zhfzxyrCsdDzmc = null;
//<ryxx>户籍地_行政区划#0#1#1#GB_D_XZQHDM#COBTREE#36# @ApiModelProperty(value = "户籍地_行政区划")
private String zhfzxyrHjdzXzqhdm = null; private String zhfzxyrHjdzXzqhdm = null;
//<ryxx>户籍地_名称CN#0#1#1##TEXTBOX#37# @ApiModelProperty(value = "户籍地_名称CN")
private String zhfzxyrHjdzDzmc = null; private String zhfzxyrHjdzDzmc = null;
//现住址_行政区划#0#1#1#GB_D_XZQHDM#COBTREE#38# @ApiModelProperty(value = "现住址_行政区划")
private String zhfzxyrXzzXzqhdm = null; private String zhfzxyrXzzXzqhdm = null;
//现住址_名称CN#0#1#1##TEXTBOX#39# @ApiModelProperty(value = "现住址_名称")
private String zhfzxyrXzzDzmc = null; private String zhfzxyrXzzDzmc = null;
//境外国家和地区#0#1#1#GB_D_GJHDQDM#COBBOX#40# @ApiModelProperty(value = "境外国家和地区")
private String zhfzxyrJwzzGjhdqdm = null; private String zhfzxyrJwzzGjhdqdm = null;
//境外住址CN#0#1#1##TEXTBOX#41# @ApiModelProperty(value = "境外住址")
private String zhfzxyrJwzzDzmc = null; private String zhfzxyrJwzzDzmc = null;
//<ryxx>身高 @ApiModelProperty(value = "身高")
private String zhfzxyrSg = null; private String zhfzxyrSg = null;
//体重 @ApiModelProperty(value = "体重")
private String zhfzxyrTz = null; private String zhfzxyrTz = null;
//足长 @ApiModelProperty(value = "足长")
private String zhfzxyrZc = null; private String zhfzxyrZc = null;
//体貌特征CN#0#1#1##TEXTBOX#45# @ApiModelProperty(value = "体貌特征")
private String zhfzxyrTmtzms = null; private String zhfzxyrTmtzms = null;
//体表标记CN#0#1#1##TEXTBOX#46# @ApiModelProperty(value = "体表标记CN")
private String zhfzxyrTbbjms = null; private String zhfzxyrTbbjms = null;
//其他特征CN#0#1#1##TEXTBOX#47# @ApiModelProperty(value = "其他特征CN")
private String zhfzxyrRqttzJyqk = null; private String zhfzxyrRqttzJyqk = null;
//工作单位CN#0#1#1##TEXTBOX#48# @ApiModelProperty(value = "工作单位CN")
private String zhfzxyrGzdw = null; private String zhfzxyrGzdw = null;
//<ryxx>宗教信仰#0#1#1#ZA_D_ZJXYDM#COBBOX#49# @ApiModelProperty(value = "宗教信仰")
private String zhfzxyrZjxydm = null; private String zhfzxyrZjxydm = null;
//<ryxx>政治面貌#0#1#1#GB_D_ZZMMDM#COBBOX#50# @ApiModelProperty(value = "政治面貌")
private String zhfzxyrZzmmdm = null; private String zhfzxyrZzmmdm = null;
//<ryxx>学历#0#1#1#GB_D_XLDM#COBTREE#51# @ApiModelProperty(value = "学历")
private String zhfzxyrXldm = null; private String zhfzxyrXldm = null;
//<ryxx>婚姻状况#0#1#1#GB_D_HYZKDM#COBBOX#52# @ApiModelProperty(value = "婚姻状况")
private String zhfzxyrJyzkdm = null; private String zhfzxyrJyzkdm = null;
//<ryxx>兵役状况#0#1#1#ZA_D_BYQKDM#COBBOX#53# @ApiModelProperty(value = "兵役状况")
private String zhfzxyrByzkdm = null; private String zhfzxyrByzkdm = null;
//<ryxx>职业类别#0#1#1#KX_D_ZYLBDM#COBTREE#54# @ApiModelProperty(value = "职业类别")
private String zhfzxyrZyZylbdm = null; private String zhfzxyrZyZylbdm = null;
//<ryxx>职业类别补充描述CN#0#1#1##TEXTBOX#55# @ApiModelProperty(value = "职业类别补充描述CN")
private String zhfzxyrZyDmbcms = null; private String zhfzxyrZyDmbcms = null;
//<!>人员身份#0#1#1#GA_D_ASJXGRYSFDM#COBBOX#56# @ApiModelProperty(value = "人员身份")
private String zhfzxyrAsjxgrysfAsjxgrysfdm = null; private String zhfzxyrAsjxgrysfAsjxgrysfdm = null;
//<!>人员身份补充描述CN#0#1#1##TEXTBOX#57# @ApiModelProperty(value = "人员身份补充描述CN")
private String zhfzxyrAsjxgrysfDmbcms = null; private String zhfzxyrAsjxgrysfDmbcms = null;
//特殊专长#0#1#1#GA_D_FZXYRTSZCDM#COBBOX#58# @ApiModelProperty(value = "特殊专长")
private String zhfzxyrFzxyrtszcFzxyrtszcdm = null; private String zhfzxyrFzxyrtszcFzxyrtszcdm = null;
//特殊专长补充描述CN#0#1#1##TEXTBOX#59# @ApiModelProperty(value = "特殊专长补充描述CN")
private String zhfzxyrFzxyrtszcDmbcms = null; private String zhfzxyrFzxyrtszcDmbcms = null;
//抓获犯罪嫌疑人_简历CN#0#1#1##TEXTAREA#60# @ApiModelProperty(value = "抓获犯罪嫌疑人_简历CN")
private String zhfzxyrJl = null; private String zhfzxyrJl = null;
//个人爱好及活动特点CN#0#1#1##TEXTBOX#61# @ApiModelProperty(value = "个人爱好及活动特点")
private String zhfzxyrGrahjhdtdJyqk = null; private String zhfzxyrGrahjhdtdJyqk = null;
@ApiModelProperty(value = "出生日期下限str")
private String csrqxxStr=null; private String csrqxxStr=null;
@ApiModelProperty(value = "出生日期上限str")
private String csrqsxStr=null; private String csrqsxStr=null;
@ApiModelProperty(value = "flrsj")
private Date flrsj=null; private Date flrsj=null;
@ApiModelProperty(value = "elrsj")
private Date elrsj=null; private Date elrsj=null;
private String xqdwdm=null;//辖区单位代码
private String hbzt=null;//合并状态 0未合并 1已合并 @ApiModelProperty(value = "辖区单位代码")
private String xqdwdm=null;
//合并状态 0未合并 1已合并
@ApiModelProperty(value = "合并状态")
private String hbzt=null;
@ApiModelProperty(value = "抓获犯罪嫌疑人_联系电话")
private String zhfzxyrLxdh; private String zhfzxyrLxdh;
@ApiModelProperty(value = "是否采集(空为未采集,1为已采集)")
private String ifCollect; private String ifCollect;
//抓获犯罪嫌疑人发现时间
@ApiModelProperty(value = "抓获犯罪嫌疑人发现时间")
private Date zhfzxyrFxsj; private Date zhfzxyrFxsj;
......
package com.founder.commonutils.model.newPublicEntity.ztypEntity; package com.founder.commonutils.model.newPublicEntity.ztypEntity;
import com.founder.commonutils.model.newPublicEntity.SysUser; import com.founder.commonutils.model.newPublicEntity.SysUser;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter; import lombok.Getter;
import lombok.Setter; import lombok.Setter;
@Getter @Getter
@Setter @Setter
public class TbXwZbfzxyrShse { public class TbXwZbfzxyrShse {
//抓获犯罪嫌疑人_没收个人财产
@ApiModelProperty(value = "抓获犯罪嫌疑人_没收个人财产")
private String zhfzxyrMsgrccJyqk; private String zhfzxyrMsgrccJyqk;
//信息主键编号 @ApiModelProperty(value = "信息主键编号")
private String xxzjbh; private String xxzjbh;
//案事件编号 @ApiModelProperty(value = "案事件编号")
private String asjbh; private String asjbh;
//关联信息_信息主键编号 @ApiModelProperty(value = "关联信息_信息主键编号")
private String glxxXxzjbh; private String glxxXxzjbh;
//渉黑渉恶个案关联嫌疑人信息主键编号 @ApiModelProperty(value = "渉黑渉恶个案关联嫌疑人信息主键编号")
private String shajXxzjbh; private String shajXxzjbh;
//抓获犯罪嫌疑人_案事件相关人员编号 @ApiModelProperty(value = "抓获犯罪嫌疑人_案事件相关人员编号")
private String zhfzxyrAsjxgrybh; private String zhfzxyrAsjxgrybh;
//抓获犯罪嫌疑人_常用证件_常用证件代码 @ApiModelProperty(value = "抓获犯罪嫌疑人_常用证件_常用证件代码")
private String zhfzxyrCyzjCyzjdm; private String zhfzxyrCyzjCyzjdm;
//抓获犯罪嫌疑人_常用证件_证件号码 @ApiModelProperty(value = "抓获犯罪嫌疑人_常用证件_证件号码")
private String zhfzxyrCyzjZjhm; private String zhfzxyrCyzjZjhm;
//抓获犯罪嫌疑人_犯罪嫌疑人到案状态代码 @ApiModelProperty(value = "抓获犯罪嫌疑人_犯罪嫌疑人到案状态代码")
private String zhfzxyrFzxyrdaztdm; private String zhfzxyrFzxyrdaztdm;
//抓获犯罪嫌疑人_在逃人员编号 @ApiModelProperty(value = "抓获犯罪嫌疑人_在逃人员编号")
private String zhfzxyrZtrybh; private String zhfzxyrZtrybh;
//抓获犯罪嫌疑人_姓名 @ApiModelProperty(value = "抓获犯罪嫌疑人_姓名")
private String zhfzxyrXm; private String zhfzxyrXm;
//抓获犯罪嫌疑人_别名/绰号 @ApiModelProperty(value = "抓获犯罪嫌疑人_别名/绰号")
private String zhfzxyrBmch; private String zhfzxyrBmch;
//抓获犯罪嫌疑人_罪名 @ApiModelProperty(value = "抓获犯罪嫌疑人_罪名")
private String zhfzxyrZm; private String zhfzxyrZm;
//抓获犯罪嫌疑人_共同犯罪犯罪嫌疑人涉案地位作用代码 @ApiModelProperty(value = "抓获犯罪嫌疑人_共同犯罪犯罪嫌疑人涉案地位作用代码")
private String zhfzxyrGtfzfzxyrsadwzydm; private String zhfzxyrGtfzfzxyrsadwzydm;
//抓获犯罪嫌疑人_案事件相关人员身份_案事件相关人员身份代码 @ApiModelProperty(value = "抓获犯罪嫌疑人_案事件相关人员身份_案事件相关人员身份代码")
private String zhfzxyrAsjxgrysfAsjxgrysfdm; private String zhfzxyrAsjxgrysfAsjxgrysfdm;
//抓获犯罪嫌疑人_性别代码 @ApiModelProperty(value = "抓获犯罪嫌疑人_性别代码")
private String zhfzxyrXbdm; private String zhfzxyrXbdm;
//抓获犯罪嫌疑人_出生日期_日期估值下限 @ApiModelProperty(value = "抓获犯罪嫌疑人_出生日期_日期估值下限")
private String zhfzxyrCsrqRqgzxx; private String zhfzxyrCsrqRqgzxx;
//抓获犯罪嫌疑人_出生日期_日期估值上限 @ApiModelProperty(value = "抓获犯罪嫌疑人_出生日期_日期估值上限")
private String rqgzxxCsrqRqgzsx; private String rqgzxxCsrqRqgzsx;
//抓获犯罪嫌疑人_户籍地址_行政区划代码 @ApiModelProperty(value = "抓获犯罪嫌疑人_户籍地址_行政区划代码")
private String zhfzxyrHjdzXzqhdm; private String zhfzxyrHjdzXzqhdm;
//抓获犯罪嫌疑人_户籍地址_地址名称 @ApiModelProperty(value = "抓获犯罪嫌疑人_户籍地址_地址名称")
private String zhfzxyrHjdzDzmc; private String zhfzxyrHjdzDzmc;
//抓获犯罪嫌疑人_现住址_行政区划代码 @ApiModelProperty(value = "抓获犯罪嫌疑人_现住址_行政区划代码")
private String zhfzxyrXzzXzqhdm; private String zhfzxyrXzzXzqhdm;
//抓获犯罪嫌疑人_现住址_地址名称 @ApiModelProperty(value = "抓获犯罪嫌疑人_现住址_地址名称")
private String zhfzxyrXzzDzmc; private String zhfzxyrXzzDzmc;
//抓获犯罪嫌疑人_出生地_国家和地区代码 @ApiModelProperty(value = "抓获犯罪嫌疑人_出生地_国家和地区代码")
private String zhfzxyrCsdGjhdqdm; private String zhfzxyrCsdGjhdqdm;
//抓获犯罪嫌疑人_出生地_行政区划代码 @ApiModelProperty(value = "抓获犯罪嫌疑人_出生地_行政区划代码")
private String zhfzxyrCsdXzqhdm; private String zhfzxyrCsdXzqhdm;
//抓获犯罪嫌疑人_国籍代码 @ApiModelProperty(value = "抓获犯罪嫌疑人_国籍代码")
private String zhfzxyrGjdm; private String zhfzxyrGjdm;
//抓获犯罪嫌疑人_身高 @ApiModelProperty(value = "抓获犯罪嫌疑人_身高")
private String zhfzxyrSg; private String zhfzxyrSg;
//抓获犯罪嫌疑人_体重 @ApiModelProperty(value = "抓获犯罪嫌疑人_体重")
private String zhfzxyrTz; private String zhfzxyrTz;
//抓获犯罪嫌疑人_足长 @ApiModelProperty(value = "抓获犯罪嫌疑人_足长")
private String zhfzxyrZc; private String zhfzxyrZc;
//抓获犯罪嫌疑人_犯罪嫌疑人特殊专长_犯罪嫌疑人特殊专长代码 @ApiModelProperty(value = "抓获犯罪嫌疑人_犯罪嫌疑人特殊专长_犯罪嫌疑人特殊专长代码")
private String zhfzxyrFzxyrtszcFzxyrtszcdm; private String zhfzxyrFzxyrtszcFzxyrtszcdm;
//抓获犯罪嫌疑人_职业_职业类别代码 @ApiModelProperty(value = "抓获犯罪嫌疑人_职业_职业类别代码")
private String zhfzxyrZyZylbdm; private String zhfzxyrZyZylbdm;
//抓获犯罪嫌疑人_婚姻状况代码 @ApiModelProperty(value = "抓获犯罪嫌疑人_婚姻状况代码")
private String zhfzxyrJyzkdm; private String zhfzxyrJyzkdm;
//抓获犯罪嫌疑人_学历代码 @ApiModelProperty(value = "抓获犯罪嫌疑人_学历代码")
private String zhfzxyrXldm; private String zhfzxyrXldm;
//抓获犯罪嫌疑人_not null,否精神病人_判断标识 @ApiModelProperty(value = "否精神病人_判断标识")
private String zhfzxyrSfjsbrPdbz; private String zhfzxyrSfjsbrPdbz;
//抓获犯罪嫌疑人_人员DNA编号 @ApiModelProperty(value = "抓获犯罪嫌疑人_人员DNA编号")
private String zhfzxyrRydnabh; private String zhfzxyrRydnabh;
//抓获犯罪嫌疑人_十指指纹编号 @ApiModelProperty(value = "抓获犯罪嫌疑人_十指指纹编号")
private String zhfzxyrSzzwbh; private String zhfzxyrSzzwbh;
//抓获日期 @ApiModelProperty(value = "抓获日期")
private String zhrq; private String zhrq;
//抓获地点_行政区划代码 @ApiModelProperty(value = "抓获地点_行政区划代码")
private String zhddXzqhdm; private String zhddXzqhdm;
//抓获犯罪嫌疑人_违法犯罪经历描述 @ApiModelProperty(value = "抓获犯罪嫌疑人_违法犯罪经历描述")
private String zhfzxyrWffzjlms; private String zhfzxyrWffzjlms;
//抓获犯罪嫌疑人_强制措施代码 @ApiModelProperty(value = "抓获犯罪嫌疑人_强制措施代码")
private String zhfzxyrQzcs; private String zhfzxyrQzcs;
//抓获犯罪嫌疑人_判决信息代码 @ApiModelProperty(value = "抓获犯罪嫌疑人_判决信息代码")
private String zhfzxyrPjxx; private String zhfzxyrPjxx;
//抓获犯罪嫌疑人_判决信息_附加刑代码 @ApiModelProperty(value = "抓获犯罪嫌疑人_判决信息_附加刑代码")
private String zhfzxyrPjxxFjx; private String zhfzxyrPjxxFjx;
//抓获犯罪嫌疑人_判处罚金 @ApiModelProperty(value = "抓获犯罪嫌疑人_判处罚金")
private String zhfzxyrPcfj; private String zhfzxyrPcfj;
//抓获犯罪嫌疑人_追缴没收非法所得 @ApiModelProperty(value = "抓获犯罪嫌疑人_追缴没收非法所得")
private String zhfzxyrZjmsffsd; private String zhfzxyrZjmsffsd;
//抓获犯罪嫌疑人_没收个人财产代码 @ApiModelProperty(value = "抓获犯罪嫌疑人_没收个人财产代码")
private String zhfzxyrMsgrcc; private String zhfzxyrMsgrcc;
//地位作用 @ApiModelProperty(value = "地位作用")
private String dwzyStr; private String dwzyStr;
//户籍地 @ApiModelProperty(value = "户籍地")
private String hjdStr; private String hjdStr;
//性别 @ApiModelProperty(value = "性别")
private String xbdmStr; private String xbdmStr;
//证件类型 @ApiModelProperty(value = "证件类型")
private String zjlxStr; private String zjlxStr;
//到案状态 @ApiModelProperty(value = "到案状态")
private String daztStr; private String daztStr;
//罪名 @ApiModelProperty(value = "罪名")
private String zmStr; private String zmStr;
//身份 @ApiModelProperty(value = "身份")
private String sfStr; private String sfStr;
//现住址 @ApiModelProperty(value = "现住址")
private String xzzStr; private String xzzStr;
//出生国家 @ApiModelProperty(value = "出生国家")
private String csgjStr; private String csgjStr;
//出生地区划 @ApiModelProperty(value = "出生地区划")
private String csdqhStr; private String csdqhStr;
//国籍 @ApiModelProperty(value = "国籍")
private String gjStr; private String gjStr;
//特殊专长 @ApiModelProperty(value = "特殊专长")
private String tszcStr; private String tszcStr;
//职业类别 @ApiModelProperty(value = "职业类别")
private String zylbStr; private String zylbStr;
//婚姻状况 @ApiModelProperty(value = "婚姻状况")
private String hyzkStr; private String hyzkStr;
//学历 @ApiModelProperty(value = "学历")
private String xlStr; private String xlStr;
//是否精神病人 @ApiModelProperty(value = "是否精神病人")
private String sfjsbrStr; private String sfjsbrStr;
//抓获地点 @ApiModelProperty(value = "抓获地点")
private String zhddStr; private String zhddStr;
//强制措施 @ApiModelProperty(value = "强制措施")
private String qzcsStr; private String qzcsStr;
//主刑 @ApiModelProperty(value = "主刑")
private String zxStr; private String zxStr;
//没收个人财产 @ApiModelProperty(value = "没收个人财产")
private String msgrccStr; private String msgrccStr;
@ApiModelProperty(value = "ga信息主键编号")
private String gaXxzjbh; private String gaXxzjbh;
//涉案案件类别代码
@ApiModelProperty(value = "涉案案件类别代码")
private String ajlbdm; private String ajlbdm;
@ApiModelProperty(value = "涉案案件类别代码str")
private String ajlbdmStr; private String ajlbdmStr;
//民族
@ApiModelProperty(value = "民族")
private String mzdm; private String mzdm;
@ApiModelProperty(value = "民族str")
private String mzdmStr; private String mzdmStr;
//TB_GL_ASJ_FZXYR_SHSE的xxzjbh //TB_GL_ASJ_FZXYR_SHSE的xxzjbh
@ApiModelProperty(value = "zhfzxyrGl信息主键编号")
private String zhfzxyrGlxxzjbh; private String zhfzxyrGlxxzjbh;
//移送起诉时间 @ApiModelProperty(value = "移送起诉时间")
private String yssj; private String yssj;
//提请公诉时间
@ApiModelProperty(value = "提请公诉时间")
private String qssj; private String qssj;
//一审判决时间
@ApiModelProperty(value = "一审判决时间")
private String yspjsj; private String yspjsj;
//二审判决时间
@ApiModelProperty(value = "二审判决时间")
private String espjsj; private String espjsj;
private String xxdjdwGajgjgdm;
@ApiModelProperty(value = "信息登记单位_公安机关机构代码")
private String xxdjdwGajgjgdm;
@ApiModelProperty(value = "信息登记单位_公安机关名称")
private String xxdjdwGajgmc; private String xxdjdwGajgmc;
@ApiModelProperty(value = "信息登记人员_姓名")
private String xxdjryXm; private String xxdjryXm;
@ApiModelProperty(value = "信息登记人员_公民身份号码")
private String xxdjryGmsfhm; private String xxdjryGmsfhm;
@ApiModelProperty(value = "信息登记人员_联系电话")
private String xxdjryLxdh; private String xxdjryLxdh;
@ApiModelProperty(value = "信息操作单位_公安机关机构代码")
private String xxczdwGajgjgdm; private String xxczdwGajgjgdm;
@ApiModelProperty(value = "信息操作单位_公安机关名称")
private String xxczdwGajgmc; private String xxczdwGajgmc;
@ApiModelProperty(value = "信息操作单位_姓名")
private String xxczryXm; private String xxczryXm;
@ApiModelProperty(value = "信息操作单位_公民身份号码")
protected String xxczryGmsfhm; protected String xxczryGmsfhm;
@ApiModelProperty(value = "信息操作单位_联系电话")
protected String xxczryLxdh; protected String xxczryLxdh;
public void setDjUser(SysUser user){ public void setDjUser(SysUser user){
this.xxdjryXm=user.getTrueName(); this.xxdjryXm=user.getTrueName();
this.xxdjdwGajgjgdm=user.getUnitcode(); this.xxdjdwGajgjgdm=user.getUnitcode();
......
package com.founder.commonutils.model.newPublicEntity.ztypEntity; package com.founder.commonutils.model.newPublicEntity.ztypEntity;
import com.founder.commonutils.model.newPublicEntity.SysUser; import com.founder.commonutils.model.newPublicEntity.SysUser;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter; import lombok.Getter;
import lombok.Setter; import lombok.Setter;
...@@ -9,273 +10,324 @@ import java.util.List; ...@@ -9,273 +10,324 @@ import java.util.List;
@Getter @Getter
@Setter @Setter
public class TbYwCchshzztjb{ public class TbYwCchshzztjb{
//信息主键编号
@ApiModelProperty(value = "信息主键编号")
private String xxzjbh; private String xxzjbh;
//团伙编号 @ApiModelProperty(value = "团伙编号")
private String thbh; private String thbh;
//组织头目 @ApiModelProperty(value = "组织头目")
private String zztm; private String zztm;
//致死人数 @ApiModelProperty(value = "致死人数")
private String zsirs; private String zsirs;
//致伤人数 @ApiModelProperty(value = "致伤人数")
private String zshangrs; private String zshangrs;
//抓获人数 @ApiModelProperty(value = "抓获人数")
private String zhrs; private String zhrs;
//刑拘人数 @ApiModelProperty(value = "刑拘人数")
private String xjrs; private String xjrs;
//省份/地区代码 @ApiModelProperty(value = "/省份/地区代码")
private String sjdqXzqhdm; private String sjdqXzqhdm;
//涉黑涉恶案件主要特点_修改层级 @ApiModelProperty(value = "涉黑涉恶案件主要特点_修改层级")
private String shseZytdXgcj; private String shseZytdXgcj;
//涉黑涉恶案件主要特点 @ApiModelProperty(value = "涉黑涉恶案件主要特点")
private String shseZytd; private String shseZytd;
//涉黑涉恶_形成年份代码 @ApiModelProperty(value = "涉黑涉恶_形成年份代码")
private String shseXcnf; private String shseXcnf;
//涉黑涉恶案件简要情况_修改层级 @ApiModelProperty(value = "涉黑涉恶案件简要情况_修改层级")
private String shseJyqkXgcj; private String shseJyqkXgcj;
//涉黑涉恶案件简要情况 @ApiModelProperty(value = "涉黑涉恶案件简要情况")
private String shseJyqk; private String shseJyqk;
//是否中政委督办 @ApiModelProperty(value = "是否中政委督办")
private String sfzzwdb; private String sfzzwdb;
//涉黑涉恶_涉及行业领域代码 @ApiModelProperty(value = "涉黑涉恶_涉及行业领域代码")
private String shseSjhylydm; private String shseSjhylydm;
@ApiModelProperty(value = "涉黑涉恶_涉及行业领域")
private String shseSjhyly; private String shseSjhyly;
//批捕人数 @ApiModelProperty(value = "批捕人数")
private Double pbrs; private Double pbrs;
@ApiModelProperty(value = "shiSpsftgPdbzStr")
private String shiSpsftgPdbzStr; private String shiSpsftgPdbzStr;
@ApiModelProperty(value = "shengSpsftgPdbzStr")
private String shengSpsftgPdbzStr; private String shengSpsftgPdbzStr;
//破案数(刑事)
@ApiModelProperty(value = "破案数(刑事)")
private String pas; private String pas;
//联合督办时间 @ApiModelProperty(value = "联合督办时间")
private String lhdbSj; private String lhdbSj;
//涉黑涉恶_联合督办批号文号 @ApiModelProperty(value = "涉黑涉恶_联合督办批号文号")
private String lhdbPcwh; private String lhdbPcwh;
//是否联合督办 @ApiModelProperty(value = "是否联合督办")
private String lhdbPc; private String lhdbPc;
//立案_案事件督办级别代码 @ApiModelProperty(value = "立案_案事件督办级别代码")
private String laAsjdbjbdm; private String laAsjdbjbdm;
//案件名称 @ApiModelProperty(value = "案件名称")
private String laAjmc; private String laAjmc;
//案件类别代码 @ApiModelProperty(value = "案件类别代码")
private String laAjlbdm; private String laAjlbdm;
//缴获枪支数 @ApiModelProperty(value = "缴获枪支数")
private Double jhqzs; private Double jhqzs;
//发展周期 @ApiModelProperty(value = "发展周期")
private Double fzzq; private Double fzzq;
//督办时间 @ApiModelProperty(value = "督办时间")
private String dbsj; private String dbsj;
//督办号 @ApiModelProperty(value = "督办号")
private String dbh; private String dbh;
//涉案公职人员数 @ApiModelProperty(value = "涉案公职人员数")
private Double bhsrs; private Double bhsrs;
//涉黑案件编号 @ApiModelProperty(value = "涉黑案件编号")
private String asjbh; private String asjbh;
//活动地域代码 @ApiModelProperty(value = "活动地域代码")
private String afddm; private String afddm;
//涉黑涉恶代码 @ApiModelProperty(value = "涉黑涉恶代码")
private String shsedm; private String shsedm;
//县审批是否通过_判断标识 @ApiModelProperty(value = "县审批是否通过_判断标识")
private String sxSpsftgPdbz; private String sxSpsftgPdbz;
//县审批意见_简要情况 @ApiModelProperty(value = "县审批意见_简要情况")
private String sxSpyjJyqk; private String sxSpyjJyqk;
//县审批人_姓名 @ApiModelProperty(value = "县审批人_姓名")
private String sxSprXm; private String sxSprXm;
//县审批人_公民身份号码 @ApiModelProperty(value = "县审批人_公民身份号码")
private String sxSprGmsfhm; private String sxSprGmsfhm;
//县审批人_联系电话 @ApiModelProperty(value = "县审批人_联系电话")
private String sxSprLxdh; private String sxSprLxdh;
//县审批时间 @ApiModelProperty(value = "县审批时间")
private String sxSpsj; private String sxSpsj;
//县审批单位_公安机关机构代码 @ApiModelProperty(value = "县审批单位_公安机关机构代码")
private String sxSpdwGajgjgdm; private String sxSpdwGajgjgdm;
//县审批单位_公安机关名称 @ApiModelProperty(value = "县审批单位_公安机关名称")
private String sxSpdwGajgmc; private String sxSpdwGajgmc;
//市审批是否通过_判断标识 @ApiModelProperty(value = "市审批是否通过_判断标识")
private String shiSpsftgPdbz; private String shiSpsftgPdbz;
//市审批意见_简要情况 @ApiModelProperty(value = "市审批意见_简要情况")
private String shiSpyjJyqk; private String shiSpyjJyqk;
//市审批人_姓名 @ApiModelProperty(value = "市审批人_姓名")
private String shiSprXm; private String shiSprXm;
//市审批人_公民身份号码 @ApiModelProperty(value = "市审批人_公民身份号码")
private String shiSprGmsfhm; private String shiSprGmsfhm;
//市审批人_联系电话 @ApiModelProperty(value = "市审批人_联系电话")
private String shiSprLxdh; private String shiSprLxdh;
//市审批时间 @ApiModelProperty(value = "市审批时间")
private String shiSpsj; private String shiSpsj;
//市审批单位_公安机关机构代码 @ApiModelProperty(value = "市审批单位_公安机关机构代码")
private String shiSpdwGajgjgdm; private String shiSpdwGajgjgdm;
//市审批单位_公安机关名称 @ApiModelProperty(value = "市审批单位_公安机关名称")
private String shiSpdwGajgmc; private String shiSpdwGajgmc;
//省审批是否通过_判断标识 @ApiModelProperty(value = "省审批是否通过_判断标识")
private String shengSpsftgPdbz; private String shengSpsftgPdbz;
//省审批意见_简要情况 @ApiModelProperty(value = "省审批意见_简要情况")
private String shengSpyjJyqk; private String shengSpyjJyqk;
//省审批人_姓名 @ApiModelProperty(value = "省审批人_姓名")
private String shengSprXm; private String shengSprXm;
//省审批人_公民身份号码 @ApiModelProperty(value = "省审批人_公民身份号码")
private String shengSprGmsfhm; private String shengSprGmsfhm;
//省审批人_联系电话 @ApiModelProperty(value = "省审批人_联系电话")
private String shengSprLxdh; private String shengSprLxdh;
//省审批时间 @ApiModelProperty(value = "省审批时间")
private String shengSpsj; private String shengSpsj;
//省审批单位_公安机关机构代码 @ApiModelProperty(value = "省审批单位_公安机关机构代码")
private String shengSpdwGajgjgdm; private String shengSpdwGajgjgdm;
//省审批单位_公安机关名称 @ApiModelProperty(value = "省审批单位_公安机关名称")
private String shengSpdwGajgmc; private String shengSpdwGajgmc;
//审核状态代码 @ApiModelProperty(value = "审核状态代码")
private String shseJbshYwzt; private String shseJbshYwzt;
@ApiModelProperty(value = "审核状态代码str")
private String shseJbshYwztStr; private String shseJbshYwztStr;
//案件类别 (字典码回显字段) @ApiModelProperty(value = "案件类别 (字典码回显字段)")
private String laAjlb; private String laAjlb;
//省份/地区代码(字典码回显字段)
@ApiModelProperty(value = "省份/地区代码(字典码回显字段)")
private String sjdqXzqh; private String sjdqXzqh;
//活动地域代码(字典码回显字段)
@ApiModelProperty(value = "活动地域代码(字典码回显字段)")
private String afd; private String afd;
//涉黑涉恶_形成年份代码
@ApiModelProperty(value = "涉黑涉恶_形成年份代码")
private String shseXc; private String shseXc;
// 保存按钮是否显示 @ApiModelProperty(value = "保存按钮是否显示")
private String bcxs; private String bcxs;
//是否可提交审核标志 @ApiModelProperty(value = "是否可提交审核标志")
private String sfktjspbz; private String sfktjspbz;
//诉讼阶段代码 @ApiModelProperty(value = "诉讼阶段代码")
private String ssjddm; private String ssjddm;
// 是否办结 @ApiModelProperty(value = "是否办结")
private String sfbjPdbz; private String sfbjPdbz;
//办结时间 @ApiModelProperty(value = "办结时间")
private String bjsj; private String bjsj;
//本年/本月 - 立案/侦结案件 @ApiModelProperty(value = "本年/本月 - 立案/侦结案件")
private String ajtype; private String ajtype;
//是否有枪支 @ApiModelProperty(value = "是否有枪支")
private String sfyqz; private String sfyqz;
//登记时间-开始时间 @ApiModelProperty(value = "登记时间-开始时间")
private String djsjStart; private String djsjStart;
//登记时间-开始时间 @ApiModelProperty(value = "登记时间-开始时间")
private String djsjEnd; private String djsjEnd;
// 用户身份证
@ApiModelProperty(value = "用户身份证")
private String djrZjhm; private String djrZjhm;
//新型黑恶类型 @ApiModelProperty(value = "新型黑恶类型")
private String xxhelx; private String xxhelx;
//新型黑恶类型(字典码翻译) @ApiModelProperty(value = "新型黑恶类型(字典码翻译)")
private String xxhelxStr; private String xxhelxStr;
//是否需补充 @ApiModelProperty(value = "是否需补充")
private String sfxbc; private String sfxbc;
@ApiModelProperty(value = "是否需补充s")
private String sfxbcs; private String sfxbcs;
//网黑类型代码
@ApiModelProperty(value = "网黑类型代码")
private String whlxdm; private String whlxdm;
@ApiModelProperty(value = "网黑类型代码str")
private String whlxdmStr; private String whlxdmStr;
//套路贷类型代码
@ApiModelProperty(value = "套路贷类型代码")
private String tldlxdm; private String tldlxdm;
@ApiModelProperty(value = "套路贷类型代码str")
private String tldlxdmStr; private String tldlxdmStr;
//主要表现形式 @ApiModelProperty(value = "主要表现形式")
private String zybxxs; private String zybxxs;
@ApiModelProperty(value = "主要表现形式str")
private String zybxxsStr; private String zybxxsStr;
//放贷催收情况 @ApiModelProperty(value = "放贷催收情况")
private String fdcsqk; private String fdcsqk;
@ApiModelProperty(value = "放贷催收情况str")
private String fdcsqkStr; private String fdcsqkStr;
//讨债类刑事警情
@ApiModelProperty(value = "讨债类刑事警情")
private Double tzlxsjq; private Double tzlxsjq;
//是否为审批时修改
@ApiModelProperty(value = "是否为审批时修改")
private String isSp; private String isSp;
//本级及其下级单位 @ApiModelProperty(value = "本级及其下级单位")
List<String> dwdmlist; List<String> dwdmlist;
@ApiModelProperty(value = "信息登记单位_公安机关机构代码str")
private String xxdjdwGajgjgdmStr; private String xxdjdwGajgjgdmStr;
//行业领域 @ApiModelProperty(value = "行业领域")
List<String> shseSjhylydmList; List<String> shseSjhylydmList;
@ApiModelProperty(value = "信息登记单位_公安机关机构代码")
private String xxdjdwGajgjgdm; private String xxdjdwGajgjgdm;
@ApiModelProperty(value = "信息登记单位_公安机关名称")
private String xxdjdwGajgmc; private String xxdjdwGajgmc;
@ApiModelProperty(value = "信息登记人员_姓名")
private String xxdjryXm; private String xxdjryXm;
@ApiModelProperty(value = "信息登记人员_公民身份号码")
private String xxdjryGmsfhm; private String xxdjryGmsfhm;
@ApiModelProperty(value = "信息登记人员_联系电话")
private String xxdjryLxdh; private String xxdjryLxdh;
@ApiModelProperty(value = "登记时间")
private String djsj; private String djsj;
@ApiModelProperty(value = "更新时间")
private String gxsj; private String gxsj;
@ApiModelProperty(value = "信息操作单位_公安机关机构代码")
private String xxczdwGajgjgdm; private String xxczdwGajgjgdm;
@ApiModelProperty(value = "信息操作单位_公安机关名称")
private String xxczdwGajgmc; private String xxczdwGajgmc;
@ApiModelProperty(value = "信息操作单位_姓名")
private String xxczryXm; private String xxczryXm;
@ApiModelProperty(value = "信息操作单位_公民身份号码")
protected String xxczryGmsfhm; protected String xxczryGmsfhm;
@ApiModelProperty(value = "信息操作单位_联系电话")
protected String xxczryLxdh; protected String xxczryLxdh;
@ApiModelProperty(value = "可视化案件编号集合")
protected List<String> asjbhList;
@ApiModelProperty(value = "可视化证件号集合")
protected List<String> zjhmList;
public void setDjUser(SysUser user){ public void setDjUser(SysUser user){
this.xxdjryXm=user.getTrueName(); this.xxdjryXm=user.getTrueName();
this.xxdjdwGajgjgdm=user.getUnitcode(); this.xxdjdwGajgjgdm=user.getUnitcode();
......
package com.founder.commonutils.model.newPublicEntity.ztypEntity; package com.founder.commonutils.model.newPublicEntity.ztypEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import java.util.List;
/** /**
* @author yangyang * @author yangyang
* @date 2022/7/27 -- 19:19 * @date 2022/7/27 -- 19:19
*/ */
@Data @Data
@ApiModel(value = "TbYwShseTh", description = "")
public class TbYwShseTh{ public class TbYwShseTh{
//团伙编号 @ApiModelProperty(value = "团伙编号")
private String thbh; private String thbh;
//团伙关联嫌疑人数量 @ApiModelProperty(value = "团伙关联嫌疑人数量")
private Double thglxyrsl; private Double thglxyrsl;
//团伙关联重点关注人员数量 @ApiModelProperty(value = "团伙关联重点关注人员数量")
private Double thglzdgzyrsl; private Double thglzdgzyrsl;
//团伙关联案件数量 @ApiModelProperty(value = "团伙关联案件数量")
private Double thglajsl; private Double thglajsl;
//null @ApiModelProperty(value = "null")
private Double thgljlajsl; private Double thgljlajsl;
//是否删除 @ApiModelProperty(value = "是否删除")
private Double sfscPdbz; private Double sfscPdbz;
@ApiModelProperty(value = "是否主团伙")
private String sfzth;
private String sfzth;//是否主团伙 @ApiModelProperty(value = "当前页")
private int page;
private int page;//当前页 @ApiModelProperty(value = "每页数")
private int limit;
private int limit;//每页数 List<String> ListBhs;
} }
package com.founder.commonutils.model.newPublicEntity.ztypEntity; package com.founder.commonutils.model.newPublicEntity.ztypEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
/** /**
...@@ -9,59 +11,75 @@ import lombok.Data; ...@@ -9,59 +11,75 @@ import lombok.Data;
* @date 2021/11/22 * @date 2021/11/22
*/ */
@Data @Data
@ApiModel(value = "线索关联嫌疑人", description = "")
public class TbYwXshbXsglxyr{ public class TbYwXshbXsglxyr{
//出生日期
@ApiModelProperty(value = "出生日期")
private String csrq; private String csrq;
//国籍 @ApiModelProperty(value = "国籍代码")
private String gjdm; private String gjdm;
@ApiModelProperty(value = "国籍代码翻译")
private String gjdmStr; private String gjdmStr;
//身份证号码 @ApiModelProperty(value = "身份证号码")
private String gmsfzh; private String gmsfzh;
//户籍地名称 @ApiModelProperty(value = "户籍地名称")
private String hjdzDzmc; private String hjdzDzmc;
//户籍地区划 @ApiModelProperty(value = "户籍地区划代码")
private String hjdzXzqhdm; private String hjdzXzqhdm;
@ApiModelProperty(value = "户籍地区划代码翻译")
private String hjdzXzqhdmStr; private String hjdzXzqhdmStr;
//境外住址名称 @ApiModelProperty(value = "境外住址名称")
private String jwzzDzmc; private String jwzzDzmc;
//境外住址区划 @ApiModelProperty(value = "境外住址区划代码")
private String jwzzGjhdqdm; private String jwzzGjhdqdm;
@ApiModelProperty(value = "境外住址区划代码翻译")
private String jwzzGjhdqdmStr; private String jwzzGjhdqdmStr;
//联系电话 @ApiModelProperty(value = "联系电话")
private String lxdh; private String lxdh;
//民族 @ApiModelProperty(value = "民族代码")
private String mzdm; private String mzdm;
@ApiModelProperty(value = "民族代码翻译")
private String mzdmStr; private String mzdmStr;
//性别 @ApiModelProperty(value = "性别代码")
private String xbdm; private String xbdm;
@ApiModelProperty(value = "性别代码翻译")
private String xbdmStr; private String xbdmStr;
//姓名 @ApiModelProperty(value = "姓名")
private String xm; private String xm;
//线索编号 @ApiModelProperty(value = "线索编号")
private String xsbh; private String xsbh;
//信息主键编号 @ApiModelProperty(value = "信息主键编号")
private String xxzjbh; private String xxzjbh;
//现住址名称 @ApiModelProperty(value = "现住址名称")
private String xzzDzmc; private String xzzDzmc;
//现住址区划 @ApiModelProperty(value = "现住址区划代码")
private String xzzXzqhdm; private String xzzXzqhdm;
@ApiModelProperty(value = "现住址区划代码翻译")
private String xzzXzqhdmStr; private String xzzXzqhdmStr;
//政治面貌 @ApiModelProperty(value = "政治面貌代码")
private String zzmmdm; private String zzmmdm;
@ApiModelProperty(value = "政治面貌代码翻译")
private String zzmmdmStr; private String zzmmdmStr;
} }
...@@ -10,62 +10,48 @@ import lombok.Data; ...@@ -10,62 +10,48 @@ import lombok.Data;
*/ */
@Data @Data
@ApiModel(value = "TbZjlxxzx", description = "最新资金表") @ApiModel(value = "TbZjlxxzx最新资金表", description = "最新资金表")
public class TbZjlxxzx extends BaseModel{ public class TbZjlxxzx extends BaseModel {
//本方卡号
@ApiModelProperty(value = "本方卡号") @ApiModelProperty(value = "本方卡号")
private String bfkh; private String bfkh;
//账号名称
@ApiModelProperty(value = "账号名称") @ApiModelProperty(value = "账号名称")
private String bfzhmc; private String bfzhmc;
//对手卡号
@ApiModelProperty(value = "对手卡号") @ApiModelProperty(value = "对手卡号")
private String dfkh; private String dfkh;
//对手名称
@ApiModelProperty(value = "对手名称") @ApiModelProperty(value = "对手名称")
private String dfmc; private String dfmc;
//交易时间
@ApiModelProperty(value = "交易时间") @ApiModelProperty(value = "交易时间")
private String jysj; private String jysj;
//转账金额
@ApiModelProperty(value = "转账金额") @ApiModelProperty(value = "转账金额")
private String zzje; private String zzje;
//余额
@ApiModelProperty(value = "余额") @ApiModelProperty(value = "余额")
private String zhye; private String zhye;
//进出标志
@ApiModelProperty(value = "进出标志") @ApiModelProperty(value = "进出标志")
private String jcbz; private String jcbz;
//交易方式
@ApiModelProperty(value = "交易方式") @ApiModelProperty(value = "交易方式")
private String jyfs; private String jyfs;
//交易流水号
@ApiModelProperty(value = "交易流水号") @ApiModelProperty(value = "交易流水号")
private String jylsh; private String jylsh;
@ApiModelProperty(value = "交易摘要") @ApiModelProperty(value = "交易摘要")
private String jyzy; private String jyzy;
//交易银行
@ApiModelProperty(value = "交易银行") @ApiModelProperty(value = "交易银行")
private String jyyh; private String jyyh;
//信息主键编号
@ApiModelProperty(value = "信息主键编号") @ApiModelProperty(value = "信息主键编号")
private String xxzjbh; private String xxzjbh;
//所属任务编号
@ApiModelProperty(value = "所属任务编号") @ApiModelProperty(value = "所属任务编号")
private String ssrwbh; private String ssrwbh;
......
...@@ -10,39 +10,36 @@ import lombok.Data; ...@@ -10,39 +10,36 @@ import lombok.Data;
*/ */
@Data @Data
@ApiModel(value = "TbZxrwb", description = "任务表") @ApiModel(value = "TbZxrwb任务表", description = "任务表")
public class TbZxrwb extends BaseModel{ public class TbZxrwb extends BaseModel{
//任务编号
@ApiModelProperty(value = "任务编号") @ApiModelProperty(value = "任务编号")
private String xxzjbh; private String xxzjbh;
//任务名称
@ApiModelProperty(value = "任务名称") @ApiModelProperty(value = "任务名称")
private String zwmc; private String zwmc;
//任务描述
@ApiModelProperty(value = "任务描述") @ApiModelProperty(value = "任务描述")
private String zwms; private String zwms;
@ApiModelProperty(value = "文件总数") @ApiModelProperty(value = "文件总数")
private int wjzs; private int wjzs;
/** @ApiModelProperty(value = "本方卡号数量")
* 本方卡号数量
*/
private int bfCardsCount; private int bfCardsCount;
/**
* 对方卡号数量 @ApiModelProperty(value = "对方卡号数量")
*/
private int dfCardsCount; private int dfCardsCount;
@ApiModelProperty(value = "任务开始时间")
private String rwkssj; private String rwkssj;
private String rwjssj;
protected int begin;
protected int end; @ApiModelProperty(value = "任务结束时间")
private String rwjssj;
protected int page;//当前第几页 @ApiModelProperty(value = "当前页")
private int page;
protected int limit;//每页多少行 @ApiModelProperty(value = "每页总数")
private int limit;
} }
package com.founder.commonutils.model.newPublicEntity.ztypEntity; package com.founder.commonutils.model.newPublicEntity.ztypEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
...@@ -10,46 +12,36 @@ import lombok.NoArgsConstructor; ...@@ -10,46 +12,36 @@ import lombok.NoArgsConstructor;
@Data @Data
@NoArgsConstructor @NoArgsConstructor
@AllArgsConstructor @AllArgsConstructor
@ApiModel(value="TradingTaskPojo", description="")
public class TradingTaskPojo { public class TradingTaskPojo {
/**
* 任务编号 @ApiModelProperty(value = "任务编号")
*/
private String taskId; private String taskId;
/**
* 任务名称 @ApiModelProperty(value = "任务名称")
*/
private String taskName; private String taskName;
/**
* 任务创建时间 @ApiModelProperty(value = "任务创建时间")
*/
private String taskCreatedTime; private String taskCreatedTime;
/**
* 本方卡号数量 @ApiModelProperty(value = "本方卡号数量")
*/
private String bfCardsCount; private String bfCardsCount;
/**
* 对方卡号数量 @ApiModelProperty(value = "对方卡号数量")
*/
private String dfCardsCount; private String dfCardsCount;
/**
* 交易银行数量 @ApiModelProperty(value = "交易银行数量")
*/
private String bankCount; private String bankCount;
/**
* 数据总量 @ApiModelProperty(value = "数据总量")
*/
private String allDataCount; private String allDataCount;
/**
* 交易时间范围 @ApiModelProperty(value = "交易时间范围")
*/
private String transactionRange; private String transactionRange;
/** @ApiModelProperty(value = "当前页")
* 当前页
*/
private int page; private int page;
/**
* 分页每页数量 @ApiModelProperty(value = "分页每页数量")
*/
private int limit; private int limit;
} }
package com.founder.commonutils.model.newPublicEntity.ztypEntity; package com.founder.commonutils.model.newPublicEntity.ztypEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable; import java.io.Serializable;
@ApiModel(value="TxxxParam", description="")
public class TxxxParam implements Serializable { public class TxxxParam implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
private String phoneNum; //手机号码 @ApiModelProperty(value = "手机号码")
private String kssj; //开始时间 private String phoneNum;
private String jssj; //结束时间
private int page; //页码 @ApiModelProperty(value = "开始时间")
private int limit; //数据数量/页 private String kssj;
@ApiModelProperty(value = "结束时间")
private String jssj;
@ApiModelProperty(value = "页码")
private int page;
@ApiModelProperty(value = "数据数量")
private int limit;
@ApiModelProperty(value = "开始数")
private int startIndex; private int startIndex;
@ApiModelProperty(value = "结束数")
private int endIndex; private int endIndex;
public String getPhoneNum() { public String getPhoneNum() {
......
package com.founder.commonutils.model.newPublicEntity.ztypEntity; package com.founder.commonutils.model.newPublicEntity.ztypEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
/* /*
...@@ -9,28 +11,40 @@ import lombok.Data; ...@@ -9,28 +11,40 @@ import lombok.Data;
* @Version 1.0 * @Version 1.0
*/ */
@Data @Data
@ApiModel(value="ZpajxxModel", description="")
public class ZpajxxEntity { public class ZpajxxEntity {
@ApiModelProperty(value = "案事件编号")
private String asjbh; private String asjbh;
@ApiModelProperty(value = "案件名称")
private String ajmc; private String ajmc;
@ApiModelProperty(value = "作案特征_简要情况")
private String zatzJyqk; private String zatzJyqk;
@ApiModelProperty(value = "案件细类别")
private String ajxlb; private String ajxlb;
@ApiModelProperty(value = "案事件编号")
private String ajzlb; private String ajzlb;
@ApiModelProperty(value = "案件性质类别")
private String ajxzlb; private String ajxzlb;
@ApiModelProperty(value = "小案类别补充描述名称")
private String xalbdmbcms; private String xalbdmbcms;
@ApiModelProperty(value = "移动")
private String mobile; private String mobile;
@ApiModelProperty(value = "银行卡号")
private String yhkh; private String yhkh;
@ApiModelProperty(value = "微信")
private String wx; private String wx;
@ApiModelProperty(value = "身份证")
private String personid; private String personid;
} }
package com.founder.commonutils.model.newPublicEntity.ztypEntity; package com.founder.commonutils.model.newPublicEntity.ztypEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
/* /*
...@@ -9,19 +11,27 @@ import lombok.Data; ...@@ -9,19 +11,27 @@ import lombok.Data;
* @Version 1.0 * @Version 1.0
*/ */
@Data @Data
@ApiModel(value="ZpajxxModel", description="")
public class ZpajxxModel { public class ZpajxxModel {
@ApiModelProperty(value = "案事件编号")
private String asjbh; private String asjbh;
@ApiModelProperty(value = "案件名称")
private String ajmc; private String ajmc;
@ApiModelProperty(value = "案件性质类别")
private String ajzlb; private String ajzlb;
@ApiModelProperty(value = "案件性质类案类别")
private String ajxzlb; private String ajxzlb;
@ApiModelProperty(value = "小案类别补充描述名称")
private String xalbdmbcms; private String xalbdmbcms;
@ApiModelProperty(value = "当前页")
private Integer page; private Integer page;
@ApiModelProperty(value = "每页数")
private Integer limit; private Integer limit;
} }
package com.founder.commonutils.util;
/**
* 用于校验一个字符串是否是合法的JSON格式
*
*/
import java.text.CharacterIterator;
import java.text.StringCharacterIterator;
public class JsonValidator {
private CharacterIterator it;
private char c;
private int col;
public JsonValidator(){
}
/**
* 验证一个字符串是否是合法的JSON串
*
* @param input 要验证的字符串
* @return true-合法 ,false-非法
*/
public boolean validate(String input) {
input = input.trim();
boolean ret = valid(input);
return ret;
}
private boolean valid(String input) {
if ("".equals(input)) return true;
boolean ret = true;
it = new StringCharacterIterator(input);
c = it.first();
col = 1;
if (!value()) {
ret = error("value", 1);
} else {
skipWhiteSpace();
if (c != CharacterIterator.DONE) {
ret = error("end", col);
}
}
return ret;
}
private boolean value() {
return literal("true") || literal("false") || literal("null") || string() || number() || object() || array();
}
private boolean literal(String text) {
CharacterIterator ci = new StringCharacterIterator(text);
char t = ci.first();
if (c != t) return false;
int start = col;
boolean ret = true;
for (t = ci.next(); t != CharacterIterator.DONE; t = ci.next()) {
if (t != nextCharacter()) {
ret = false;
break;
}
}
nextCharacter();
if (!ret) error("literal " + text, start);
return ret;
}
private boolean array() {
return aggregate('[', ']', false);
}
private boolean object() {
return aggregate('{', '}', true);
}
private boolean aggregate(char entryCharacter, char exitCharacter, boolean prefix) {
if (c != entryCharacter) return false;
nextCharacter();
skipWhiteSpace();
if (c == exitCharacter) {
nextCharacter();
return true;
}
for (;;) {
if (prefix) {
int start = col;
if (!string()) return error("string", start);
skipWhiteSpace();
if (c != ':') return error("colon", col);
nextCharacter();
skipWhiteSpace();
}
if (value()) {
skipWhiteSpace();
if (c == ',') {
nextCharacter();
} else if (c == exitCharacter) {
break;
} else {
return error("comma or " + exitCharacter, col);
}
} else {
return error("value", col);
}
skipWhiteSpace();
}
nextCharacter();
return true;
}
private boolean number() {
if (!Character.isDigit(c) && c != '-') return false;
int start = col;
if (c == '-') nextCharacter();
if (c == '0') {
nextCharacter();
} else if (Character.isDigit(c)) {
while (Character.isDigit(c))
nextCharacter();
} else {
return error("number", start);
}
if (c == '.') {
nextCharacter();
if (Character.isDigit(c)) {
while (Character.isDigit(c))
nextCharacter();
} else {
return error("number", start);
}
}
if (c == 'e' || c == 'E') {
nextCharacter();
if (c == '+' || c == '-') {
nextCharacter();
}
if (Character.isDigit(c)) {
while (Character.isDigit(c))
nextCharacter();
} else {
return error("number", start);
}
}
return true;
}
private boolean string() {
if (c != '"') return false;
int start = col;
boolean escaped = false;
for (nextCharacter(); c != CharacterIterator.DONE; nextCharacter()) {
if (!escaped && c == '\\') {
escaped = true;
} else if (escaped) {
if (!escape()) {
return false;
}
escaped = false;
} else if (c == '"') {
nextCharacter();
return true;
}
}
return error("quoted string", start);
}
private boolean escape() {
int start = col - 1;
if (" \\\"/bfnrtu".indexOf(c) < 0) {
return error("escape sequence \\\",\\\\,\\/,\\b,\\f,\\n,\\r,\\t or \\uxxxx ", start);
}
if (c == 'u') {
if (!ishex(nextCharacter()) || !ishex(nextCharacter()) || !ishex(nextCharacter())
|| !ishex(nextCharacter())) {
return error("unicode escape sequence \\uxxxx ", start);
}
}
return true;
}
private boolean ishex(char d) {
return "0123456789abcdefABCDEF".indexOf(c) >= 0;
}
private char nextCharacter() {
c = it.next();
++col;
return c;
}
private void skipWhiteSpace() {
while (Character.isWhitespace(c)) {
nextCharacter();
}
}
private boolean error(String type, int col) {
System.out.printf("type: %s, col: %s%s", type, col, System.getProperty("line.separator"));
return false;
}
public static void main(String[] args){
String s ="{\n" +
"\t\"param\":[\n" +
"\t\t{\"name\":\"身份证号\",\"id\":\"sfzh\",\"type\": \"text\"},{\"name\":\"类型\",\"id\":\"type\",\"type\":\"optional\",\"value\":[{\"lable\":\"配偶\",\"value\":\"01\"},{\"lable\":\"子女\",\"value\":\"02\"}]},{\"name\":\"开始时间\",\"id\":\"timeStart\",\"type\":\"time\",\"format\":\"yyyy-MM-dd\"},{\"name\":\"结束时间\",\"id\":\"timeEnd\",\"type\":\"time\",\"format\":\"yyyy-MM-dd\"}\n" +
"\t]\n" +
"\t\n" +
"}";
System.out.println(s+":"+new JsonValidator().validate(s));
}
}
...@@ -2,6 +2,7 @@ package com.founder.servicebase.controller; ...@@ -2,6 +2,7 @@ package com.founder.servicebase.controller;
import cn.hutool.core.util.ObjectUtil; import cn.hutool.core.util.ObjectUtil;
import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.metadata.IPage;
...@@ -10,10 +11,11 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page; ...@@ -10,10 +11,11 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.founder.commonutils.model.newPublicEntity.MapRestResult; import com.founder.commonutils.model.newPublicEntity.MapRestResult;
import com.founder.commonutils.model.newPublicEntity.SysUser; import com.founder.commonutils.model.newPublicEntity.SysUser;
import com.founder.commonutils.model.newPublicEntity.kshEntity.KshServiceCache; import com.founder.commonutils.model.newPublicEntity.kshEntity.KshServiceCache;
import com.founder.commonutils.model.newPublicEntity.kshResult.KshTreeResultPojo;
import com.founder.commonutils.model.newPublicEntity.ztypEntity.KshServicePojo; import com.founder.commonutils.model.newPublicEntity.ztypEntity.KshServicePojo;
import com.founder.commonutils.model.newPublicEntity.ztypEntity.KsjResultCheck; import com.founder.commonutils.model.newPublicEntity.ztypEntity.KsjResultCheck;
import com.founder.commonutils.model.newPublicEntity.ztypEntity.KsjResultPojo;
import com.founder.commonutils.util.ExportExcelUtil; import com.founder.commonutils.util.ExportExcelUtil;
import com.founder.commonutils.util.JsonValidator;
import com.founder.commonutils.util.KeyUtil; import com.founder.commonutils.util.KeyUtil;
import com.founder.commonutils.util.StringUtil; import com.founder.commonutils.util.StringUtil;
import com.founder.servicebase.logs.OperLog; import com.founder.servicebase.logs.OperLog;
...@@ -32,9 +34,12 @@ import javax.annotation.Resource; ...@@ -32,9 +34,12 @@ import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpServletResponse;
import java.lang.reflect.Field; import java.lang.reflect.Field;
import java.text.SimpleDateFormat;
import java.time.LocalDateTime; import java.time.LocalDateTime;
import java.util.Comparator;
import java.util.Date; import java.util.Date;
import java.util.List; import java.util.List;
import java.util.stream.Collectors;
/** /**
* 服务列表(KshServicePojo)表控制层 * 服务列表(KshServicePojo)表控制层
...@@ -61,14 +66,41 @@ public class KshServiceController extends ApiController { ...@@ -61,14 +66,41 @@ public class KshServiceController extends ApiController {
KshServicePojo.setXxzjbh(KeyUtil.getUUIDKey("CS")); KshServicePojo.setXxzjbh(KeyUtil.getUUIDKey("CS"));
KshServicePojo.setCjsj(new Date()); KshServicePojo.setCjsj(new Date());
KshServicePojo.setIsdeleted("0"); KshServicePojo.setIsdeleted("0");
String s = KshServicePojo.getParam();
//验证json格式
boolean validate = new JsonValidator().validate(s);
if (!validate){
return new MapRestResult().error("json格式有误");
}
//验证数据字段类型
boolean checkverify = checkverify(s);
if (!checkverify){
return new MapRestResult().error("数据字段类型有误");
}
boolean save = kshService.save(KshServicePojo); boolean save = kshService.save(KshServicePojo);
if (save) { if (save) {
return new MapRestResult(); return new MapRestResult();
} else { } else {
return new MapRestResult().error("保存失败"); return new MapRestResult().error("保存失败");
} }
} }
//验证类型
public static boolean checkverify(String s ){
JSONObject object = JSONObject.parseObject(s);
JSONArray param = object.getJSONArray("param");
for (int i = 0; i < param.size(); i++) {
JSONObject jsonObject = param.getJSONObject(i);
String type = jsonObject.getString("type");
//文本 下拉框 时间
if (!type.equals("text") && !type.equals("optional") && !type.equals("time")){
return false;
}
}
return true;
}
@PostMapping("update") @PostMapping("update")
@ApiOperation(value = "修改可视化服务信息") @ApiOperation(value = "修改可视化服务信息")
@OperLog(message = "修改可视化服务信息", operation = OperationType.UPDATE) @OperLog(message = "修改可视化服务信息", operation = OperationType.UPDATE)
...@@ -92,7 +124,7 @@ public class KshServiceController extends ApiController { ...@@ -92,7 +124,7 @@ public class KshServiceController extends ApiController {
if (update) { if (update) {
return new MapRestResult(); return new MapRestResult();
} else { } else {
return new MapRestResult().error("更新失败"); return new MapRestResult(200,"无此xxzjbh",null);
} }
} }
...@@ -113,7 +145,7 @@ public class KshServiceController extends ApiController { ...@@ -113,7 +145,7 @@ public class KshServiceController extends ApiController {
@OperLog(message = "查询可视化服务列表信息", operation = OperationType.QUERY) @OperLog(message = "查询可视化服务列表信息", operation = OperationType.QUERY)
public MapRestResult query(@RequestBody KshServicePojo kshServicePojo) { public MapRestResult query(@RequestBody KshServicePojo kshServicePojo) {
//分页 //分页
Page page = new Page(kshServicePojo.getPage(), kshServicePojo.getPageSize()); // Page page = new Page(kshServicePojo.getPage(), kshServicePojo.getPageSize());
QueryWrapper queryWrapper = new QueryWrapper(); QueryWrapper queryWrapper = new QueryWrapper();
if (kshServicePojo.getSlname()!=null&& !kshServicePojo.getSlname().equals("")){ if (kshServicePojo.getSlname()!=null&& !kshServicePojo.getSlname().equals("")){
...@@ -137,14 +169,111 @@ public class KshServiceController extends ApiController { ...@@ -137,14 +169,111 @@ public class KshServiceController extends ApiController {
queryWrapper.eq("isDeleted", "0"); queryWrapper.eq("isDeleted", "0");
queryWrapper.orderByDesc("cjsj"); queryWrapper.orderByDesc("cjsj");
IPage page1 = kshService.page(page, queryWrapper); // IPage<KshServicePojo> page1 = kshService.page(page, queryWrapper);
return new MapRestResult(200, "OK", page1.getTotal(), page1.getRecords()); List<KshServicePojo> list1 = kshService.list(queryWrapper);
//接收前端传过来的传参类型 类型去跟每条算例的json入参做判断
String objectType = kshServicePojo.getObjectType();
if (!StringUtil.isEmpty(objectType)){
for (KshServicePojo record : list1) {
JSONObject object = JSONObject.parseObject(record.getParam());
JSONArray param = object.getJSONArray("param");
for (int i = 0; i < param.size(); i++) {
// 虚实关联 四码关联 涉案信息 加上下拉框选项 赋值给checked字段是什么类型返回回去
if (record.getSlname().equals("虚实关联")){
if (param.getJSONObject(i).containsKey("checked")){
if (objectType.equals("idcard")){
param.getJSONObject(i).put("checked","01");
}else if (objectType.equals("jz")){
param.getJSONObject(i).put("checked","02");
}else if (objectType.equals("hz")){
param.getJSONObject(i).put("checked","03");
}else if (objectType.equals("sjk")){
param.getJSONObject(i).put("checked","04");
}else if (objectType.equals("wlzh")||objectType.equals("wxid")||objectType.equals("qq")||objectType.equals("other")){
param.getJSONObject(i).put("checked","05");
}
}
}
if (record.getSlname().equals("四码关联")) {
if (param.getJSONObject(i).containsKey("checked")) {
if (objectType.equals("sjk")){
param.getJSONObject(i).put("checked","01");
}else if (objectType.equals("imsi")){
param.getJSONObject(i).put("checked","02");
}else if (objectType.equals("imei")){
param.getJSONObject(i).put("checked","03");
}
}
}
if (record.getSlname().equals("涉案信息")) {
if (param.getJSONObject(i).containsKey("checked")) {
if (objectType.equals("idcard")){
param.getJSONObject(i).put("checked","01");
}else if (objectType.equals("cph")){
param.getJSONObject(i).put("checked","02");
}else if (objectType.equals("aj")){
param.getJSONObject(i).put("checked","03");
}
}
}
//判断是param数组是否存在mold节点
if (param.getJSONObject(i).containsKey("mold")){
//如果存在 获取mold数组判断是否存在前端传来的值类型
JSONArray mold = param.getJSONObject(i).getJSONArray("mold");
if (mold.contains(objectType)){
System.out.println("存在");
param.getJSONObject(i).put("flag","true");
if (record.getSlname().equals("家谱关系")||record.getSlname().equals("同案关系")||record.getSlname().equals("虚实关联")||record.getSlname().equals("四码关联")||record.getSlname().equals("涉案信息")){
record.setNum(0);
}else {
record.setNum(1);
}
}
}
}
object.put("param",param);
record.setParam(object.toString());
}
//根据flag排序 为true的在前
List<KshServicePojo> collect = list1.stream().sorted(Comparator.comparing(KshServicePojo::getNum))
.collect(Collectors.toList());
System.out.println(collect);
//分页
int page = kshServicePojo.getPage();
int pageSize = kshServicePojo.getPageSize();
int total = collect.size();
if (total > pageSize) {
int toIndex = pageSize * page;
if (toIndex > total) {
toIndex = total;
}
collect = collect.subList(pageSize * (page - 1), toIndex);
}
return new MapRestResult(200, "OK", list1.size(), collect);
}else {
//分页
int page = kshServicePojo.getPage();
int pageSize = kshServicePojo.getPageSize();
int total = list1.size();
if (total > pageSize) {
int toIndex = pageSize * page;
if (toIndex > total) {
toIndex = total;
}
list1 = list1.subList(pageSize * (page - 1), toIndex);
}
//根据时间降序
list1.sort((t1, t2) -> t2.getCjsj().compareTo(t1.getCjsj()));
return new MapRestResult(200, "OK", list1.size(), list1);
}
} }
@PostMapping("kshlbExport") @PostMapping("kshlbExport")
@ApiOperation(value = "算例可视化服务列表导出") @ApiOperation(value = "算例可视化服务列表导出")
@OperLog(message = "可视化服务列表导出", operation = OperationType.QUERY) @OperLog(message = "可视化服务列表导出", operation = OperationType.QUERY)
public void kshlbExport(HttpServletResponse response, @RequestBody KshServicePojo kshServicePojo) throws Exception { public void kshlbExport(HttpServletResponse response,@RequestBody KshServicePojo kshServicePojo) throws Exception {
//分页 //分页
Page page = new Page(kshServicePojo.getPage(), kshServicePojo.getPageSize()); Page page = new Page(kshServicePojo.getPage(), kshServicePojo.getPageSize());
QueryWrapper queryWrapper = new QueryWrapper(); QueryWrapper queryWrapper = new QueryWrapper();
...@@ -183,7 +312,7 @@ public class KshServiceController extends ApiController { ...@@ -183,7 +312,7 @@ public class KshServiceController extends ApiController {
@OperLog(message = "可视化数据结构验证", operation = OperationType.QUERY) @OperLog(message = "可视化数据结构验证", operation = OperationType.QUERY)
public MapRestResult check(@RequestBody JSONObject jsonObject) { public MapRestResult check(@RequestBody JSONObject jsonObject) {
try{ try{
KsjResultCheck ksjResultCheck = JSON.parseObject(jsonObject.toJSONString(),KsjResultCheck.class); KsjResultCheck ksjResultCheck = JSON.parseObject(jsonObject.toJSONString(), KsjResultCheck.class);
if(null != ksjResultCheck){ // 反射验证 if(null != ksjResultCheck){ // 反射验证
String text = ""; String text = "";
//拿到对象的所有字段 //拿到对象的所有字段
...@@ -192,16 +321,16 @@ public class KshServiceController extends ApiController { ...@@ -192,16 +321,16 @@ public class KshServiceController extends ApiController {
boolean flag = true; boolean flag = true;
//遍历所有字段 //遍历所有字段
for (Field field : fields) { for (Field field : fields) {
//开启权限 //开启权限
field.setAccessible(true); field.setAccessible(true);
//判断是否有值 //判断是否有值
if (StringUtils.isEmpty(field.get(ksjResultCheck))&&null==field.get(ksjResultCheck)){ if (StringUtils.isEmpty(field.get(ksjResultCheck))&&null==field.get(ksjResultCheck)){
flag=false; flag=false;
text = "字段错误或空值:"+field.getName(); text = "字段错误或空值:"+field.getName();
break; break;
} }
//关闭权限 //关闭权限
field.setAccessible(false); field.setAccessible(false);
} }
//验证dataSumup //验证dataSumup
String name = ksjResultCheck.getData().getDataSumup().getName(); String name = ksjResultCheck.getData().getDataSumup().getName();
...@@ -321,6 +450,19 @@ public class KshServiceController extends ApiController { ...@@ -321,6 +450,19 @@ public class KshServiceController extends ApiController {
} }
} }
@PostMapping("detailKshCache")
@ApiOperation(value = "多维情报_详情")
@OperLog(message = "多维情报_详情", operation = OperationType.DELETE)
public MapRestResult detailKshCache(String xxzjbh) {
KshServiceCache byId = kshCacheService.getById(xxzjbh);
if (byId == null) {
return new MapRestResult().error("不存在该数据");
} else {
KshTreeResultPojo ksjResultPojo = JSONObject.parseObject(byId.getKshdataString(), KshTreeResultPojo.class);
return new MapRestResult(ksjResultPojo);
}
}
@PostMapping("deleteKshCache") @PostMapping("deleteKshCache")
@ApiOperation(value = "多维情报_删除可视化服务信息") @ApiOperation(value = "多维情报_删除可视化服务信息")
@OperLog(message = "多维情报_删除可视化服务信息", operation = OperationType.DELETE) @OperLog(message = "多维情报_删除可视化服务信息", operation = OperationType.DELETE)
...@@ -346,8 +488,9 @@ public class KshServiceController extends ApiController { ...@@ -346,8 +488,9 @@ public class KshServiceController extends ApiController {
IPage page1 = kshCacheService.page(page, queryWrapper); IPage page1 = kshCacheService.page(page, queryWrapper);
List<KshServiceCache> listResult = page1.getRecords(); List<KshServiceCache> listResult = page1.getRecords();
listResult.stream().forEach(q->{ listResult.stream().forEach(q->{
q.setKshdata(JSON.parseObject(q.getKshdataString(), KshTreeResultPojo.class));
q.setByzd1(String.valueOf(q.getKshdata().getNodes().size()));
q.setKshdata(JSON.parseObject(q.getKshdataString(),KsjResultPojo.class));
}); });
return new MapRestResult(200, "OK", page1.getTotal(), page1.getRecords()); return new MapRestResult(200, "OK", page1.getTotal(), page1.getRecords());
} }
...@@ -364,10 +507,19 @@ public class KshServiceController extends ApiController { ...@@ -364,10 +507,19 @@ public class KshServiceController extends ApiController {
queryWrapper.orderByDesc("cjsj"); queryWrapper.orderByDesc("cjsj");
IPage page1 = kshCacheService.page(page, queryWrapper); IPage page1 = kshCacheService.page(page, queryWrapper);
List<KshServiceCache> listResult = page1.getRecords(); List<KshServiceCache> listResult = page1.getRecords();
for (KshServiceCache serviceCache : listResult) {
//对任务时间进行格式修改
if (serviceCache.getCjsj()!=null ){
Date djsj = serviceCache.getCjsj();
SimpleDateFormat sdf = new SimpleDateFormat("yyyy年MM月dd日 HH:mm:ss");
String format = sdf.format(djsj);
serviceCache.setByzd1(format);
}
}
ExportExcelUtil<KshServiceCache> exportExcelUtil = new ExportExcelUtil<>(); ExportExcelUtil<KshServiceCache> exportExcelUtil = new ExportExcelUtil<>();
String[] headersName = {"研判名称","标识号","标识号类型","研判时间","备注"}; String[] headersName = {"研判名称","标识号","标识号类型","研判时间","备注"};
String[] headersField = {"ypmc","bsh","bshtype","cjsj","bz"}; String[] headersField = {"ypmc","bsh","bshtype","byzd1","bz"};
exportExcelUtil.exportExcel("DataStatistics", headersName, headersField, listResult, response,"多维情报线索分析列表导出"); exportExcelUtil.exportExcel("DataStatistics", headersName, headersField, listResult, response,"多维情报线索分析列表导出");
} }
...@@ -383,5 +535,18 @@ public class KshServiceController extends ApiController { ...@@ -383,5 +535,18 @@ public class KshServiceController extends ApiController {
return new MapRestResult().error("更新失败"); return new MapRestResult().error("更新失败");
} }
} }
//筛选的时候前端传跟保存一样的内容就行
//后端封装数据 根节点不变
//查找对象 从nodes里筛选 重新构建links
//查找关系 从
@PostMapping("findKshCache")
@ApiOperation(value = "多维情报_条件查询可视化服务信息")
@OperLog(message = "多维情报_条件查询可视化服务信息", operation = OperationType.QUERY)
public MapRestResult findKshCache(@RequestBody KshServiceCache kshServiceCache) {
return kshCacheService.getfFindKshCache(kshServiceCache);
}
} }
package com.founder.servicebase.service; package com.founder.servicebase.service;
import com.baomidou.mybatisplus.extension.service.IService; import com.baomidou.mybatisplus.extension.service.IService;
import com.founder.commonutils.model.newPublicEntity.MapRestResult;
import com.founder.commonutils.model.newPublicEntity.kshEntity.KshServiceCache; import com.founder.commonutils.model.newPublicEntity.kshEntity.KshServiceCache;
/** /**
...@@ -11,5 +12,8 @@ import com.founder.commonutils.model.newPublicEntity.kshEntity.KshServiceCache; ...@@ -11,5 +12,8 @@ import com.founder.commonutils.model.newPublicEntity.kshEntity.KshServiceCache;
*/ */
public interface KshCacheService extends IService<KshServiceCache> { public interface KshCacheService extends IService<KshServiceCache> {
int deleteKshCacheById(String xxzjbh); int deleteKshCacheById(String xxzjbh);
//条件查询可视化服务信息
MapRestResult getfFindKshCache(KshServiceCache kshServiceCache);
} }
package com.founder.servicebase.service.serviceimpl; package com.founder.servicebase.service.serviceimpl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.founder.commonutils.model.newPublicEntity.MapRestResult;
import com.founder.commonutils.model.newPublicEntity.kshEntity.KshServiceCache; import com.founder.commonutils.model.newPublicEntity.kshEntity.KshServiceCache;
import com.founder.commonutils.model.newPublicEntity.kshResult.KshTreeResultPojo;
import com.founder.servicebase.mapper.mysqlMapper.KshCacheMapper; import com.founder.servicebase.mapper.mysqlMapper.KshCacheMapper;
import com.founder.servicebase.service.KshCacheService; import com.founder.servicebase.service.KshCacheService;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import java.util.*;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.stream.Collectors;
/** /**
* 服务列表(SkService)表服务实现类 * 服务列表(SkService)表服务实现类
* *
...@@ -23,5 +30,155 @@ public class KshCacheServiceImpl extends ServiceImpl<KshCacheMapper, KshServiceC ...@@ -23,5 +30,155 @@ public class KshCacheServiceImpl extends ServiceImpl<KshCacheMapper, KshServiceC
public int deleteKshCacheById(String xxzjbh) { public int deleteKshCacheById(String xxzjbh) {
return kshCacheMapper.deleteById(xxzjbh); return kshCacheMapper.deleteById(xxzjbh);
} }
//条件查询可视化服务信息
@Override
public MapRestResult getfFindKshCache(KshServiceCache kshServiceCache) {
KshTreeResultPojo ResultPojo = new KshTreeResultPojo();//定义要返回的可视化数据
List<KshTreeResultPojo.Nodes> ResultNodes = new ArrayList<KshTreeResultPojo.Nodes>();
List<KshTreeResultPojo.Links> ResultLinks = new ArrayList<KshTreeResultPojo.Links>();
//前端要查询的字段
String param = kshServiceCache.getParam();
//前端要查询的类型
String type = kshServiceCache.getParamType();
if (StringUtils.isEmpty(param) || StringUtils.isEmpty(type)){
return new MapRestResult(200, "请输入筛选条件", null);
}
String byzd1 = kshServiceCache.getByzd1(); //大于小于等于
//获取可视化数据
KshTreeResultPojo kshdata = kshServiceCache.getKshdata();
List<KshTreeResultPojo.Nodes> nodes = kshdata.getNodes(); //nodes
List<KshTreeResultPojo.Links> links = kshdata.getLinks(); //links
//获取所有的link中source并去重 就是根节点的id
Set<String> collect = kshdata.getLinks().stream()
.map(KshTreeResultPojo.Links::getSource)
.collect(Collectors.toSet());
if (collect.size() == 0) {
return new MapRestResult(200, "没找到对应的数据", null);
}
//在node中对应的id 就是根节点
//存放node的id 为了查询links
HashSet<String> ids = new HashSet<>();
// 过滤节点数组,找到每个根节点
nodes.forEach(node -> {
for (String s : collect) {
if (node.getId().equals(s)) {
//添加根节点
ResultNodes.add(node);
//存放根节点id
ids.add(node.getId());
}
}
});
// =========ResultNodes已经添加上根节点
if (type.equals("nodes")) { //查找对象
AtomicInteger i = new AtomicInteger(1);
nodes.forEach(node -> {
//添加筛选的节点 根nodes中的lable来模糊查
if (node.getLabel().contains(param)) {
i.getAndIncrement();
ResultNodes.add(node);
ids.add(node.getId());
}
});
if (i.get() == 1) {
return new MapRestResult(200, "没找到对应的数据", null);
}
//最后nodes根据id去重 避免根节点包含param
List<KshTreeResultPojo.Nodes> collect1 = ResultNodes
.stream().collect(
Collectors.collectingAndThen(
Collectors.toCollection(
() -> new TreeSet<>(
Comparator.comparing(tc -> tc.getId())
)), ArrayList::new));
// --------nodes结束---------
//在links的target中找对应的nodesid
links.forEach(link -> {
for (String id : ids) {
if (link.getTarget().equals(id)) {
//添加根节点
ResultLinks.add(link);
}
}
});
//---------links结束----------
ResultPojo.setNodes(collect1);
ResultPojo.setLinks(ResultLinks);
} else if (type.equals("links")) { //查找关系
//links中lable是关系数据
AtomicInteger i = new AtomicInteger(1);
links.forEach(link -> {
//添加符合关系的数据
if (link.getLabel().contains(param)) {
i.getAndIncrement();
ResultLinks.add(link);
}
});
if (i.get() == 1) {
return new MapRestResult(200, "没找到对应的数据", null);
}
//遍历ResultLinks 获取和target所有 nodes中对应id获取对应的数据 ---ResultNodes 已经有根节点
nodes.forEach(n -> {
ResultLinks.forEach(l -> {
if (n.getId().equals(l.getTarget())) {
ResultNodes.add(n);
}
});
});
ResultPojo.setNodes(ResultNodes);
ResultPojo.setLinks(ResultLinks);
} else if (type.equals("searchValue")) { //筛选关系个数节点
//根据source对links分组 来判断有关系节点
Map<String, List<KshTreeResultPojo.Links>> collect1 = links.stream()
.collect(Collectors.groupingBy(KshTreeResultPojo.Links::getSource));
//设置link
for (Map.Entry<String, List<KshTreeResultPojo.Links>> s : collect1.entrySet()) {
int size = s.getValue().size();
if (byzd1.equals("大于") && size > Integer.valueOf(param)) {
for (KshTreeResultPojo.Links links1 : s.getValue()) {
ResultLinks.add(links1);
}
} else if (byzd1.equals("小于") && size < Integer.valueOf(param)) {
for (KshTreeResultPojo.Links links1 : s.getValue()) {
ResultLinks.add(links1);
}
} else if (byzd1.equals("等于") && (size == Integer.valueOf(param))) {
for (KshTreeResultPojo.Links links1 : s.getValue()) {
ResultLinks.add(links1);
}
}
}
if (ResultLinks.size() == 0) {
return new MapRestResult(200, "没找到对应的数据", null);
}
//遍历ResultLinks获取target target= node。id
Set<String> targets = ResultLinks.stream()
.map(KshTreeResultPojo.Links::getTarget)
.collect(Collectors.toSet());
//遍历nodes去获取对应的node
nodes.forEach(node->{
targets.forEach(target->{
if (node.getId().equals(target)){
ResultNodes.add(node);
}
});
});
ResultPojo.setNodes(ResultNodes);
ResultPojo.setLinks(ResultLinks);
}
return new MapRestResult(ResultPojo);
}
} }
...@@ -2,10 +2,15 @@ package com.founder.publicapi.controller.ZtypService; ...@@ -2,10 +2,15 @@ package com.founder.publicapi.controller.ZtypService;
import com.alibaba.excel.EasyExcel; import com.alibaba.excel.EasyExcel;
import com.alibaba.excel.read.builder.ExcelReaderBuilder; import com.alibaba.excel.read.builder.ExcelReaderBuilder;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.founder.commonutils.model.newPublicEntity.MapRestResult; import com.founder.commonutils.model.newPublicEntity.MapRestResult;
import com.founder.commonutils.model.newPublicEntity.kshResult.KshTreeResultPojo;
import com.founder.commonutils.model.newPublicEntity.ztypEntity.*; import com.founder.commonutils.model.newPublicEntity.ztypEntity.*;
import com.founder.commonutils.model.newPublicEntity.ztypEntity.R;
import com.founder.commonutils.util.JwtUser; import com.founder.commonutils.util.JwtUser;
import com.founder.commonutils.util.KeyUtil; import com.founder.commonutils.util.KeyUtil;
import com.founder.commonutils.util.StringUtil;
import com.founder.publicapi.service.KshHdImportListener; import com.founder.publicapi.service.KshHdImportListener;
import com.founder.publicapi.service.KshYhkImportListener; import com.founder.publicapi.service.KshYhkImportListener;
import com.founder.publicapi.service.ZtypService; import com.founder.publicapi.service.ZtypService;
...@@ -22,10 +27,12 @@ import javax.servlet.http.HttpServletRequest; ...@@ -22,10 +27,12 @@ import javax.servlet.http.HttpServletRequest;
import java.io.BufferedInputStream; import java.io.BufferedInputStream;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.lang.reflect.Field;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.stream.Collectors;
@Api(tags = "主题研判管理") @Api(tags = "主题研判管理")
@RestController @RestController
...@@ -37,7 +44,7 @@ public class ZtypController { ...@@ -37,7 +44,7 @@ public class ZtypController {
@PostMapping("/selectDxzpAj") @PostMapping("/selectDxzpAj")
@OperLog(message = "主题研判_新型手段特点研判",operation = OperationType.QUERY) @OperLog(message = "主题研判_新型手段特点研判",operation = OperationType.QUERY)
@ApiOperation(value = "主题研判_新型手段特点研判") @ApiOperation(value = "主题研判_新型手段特点研判")
public R selectFraudCases(ZpajxxModel model) { public com.founder.commonutils.model.newPublicEntity.ztypEntity.R selectFraudCases(ZpajxxModel model) {
model.setPage((model.getPage() - 1) * model.getLimit()); model.setPage((model.getPage() - 1) * model.getLimit());
model.setLimit(model.getLimit()); model.setLimit(model.getLimit());
int total = ztypService.getZpajxxTotal(model); int total = ztypService.getZpajxxTotal(model);
...@@ -45,87 +52,103 @@ public class ZtypController { ...@@ -45,87 +52,103 @@ public class ZtypController {
if(total>0){ if(total>0){
list = ztypService.getZpajxx(model); list = ztypService.getZpajxx(model);
} }
return R.ok().total(total).rows(list); return com.founder.commonutils.model.newPublicEntity.ztypEntity.R.ok().total(total).rows(list);
} }
@OperLog(message = "主题研判_人员研判新增",operation = OperationType.QUERY) @OperLog(message = "主题研判_人员研判新增",operation = OperationType.QUERY)
@PostMapping("/save") @PostMapping("/save")
@ApiOperation(value = "主题研判_人员研判新增") @ApiOperation(value = "主题研判_人员研判新增")
public R saveNewFwbshYp(TbStZtypFwbsh fwbsh,HttpServletRequest request){ public com.founder.commonutils.model.newPublicEntity.ztypEntity.R saveNewFwbshYp(TbStZtypFwbsh fwbsh, HttpServletRequest request){
try { try {
String xxzjbh = KeyUtil.getUUIDKey("BSH"); String xxzjbh = KeyUtil.getUUIDKey("BSH");
fwbsh.setDjUser(JwtUser.getUser(request)); fwbsh.setDjUser(JwtUser.getUser(request));
fwbsh.setXxzjbh(xxzjbh); fwbsh.setXxzjbh(xxzjbh);
ztypService.saveNewFwbshYp(fwbsh); ztypService.saveNewFwbshYp(fwbsh);
return R.ok().data("xxzjbh", xxzjbh); return com.founder.commonutils.model.newPublicEntity.ztypEntity.R.ok().data("xxzjbh", xxzjbh);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
return R.error(e.getMessage()); return com.founder.commonutils.model.newPublicEntity.ztypEntity.R.error(e.getMessage());
} }
} }
@OperLog(message = "主题研判_人员研判列表",operation = OperationType.QUERY) @OperLog(message = "主题研判_人员研判列表",operation = OperationType.QUERY)
@PostMapping("/list") @PostMapping("/list")
@ApiOperation(value = "主题研判_人员研判列表") @ApiOperation(value = "主题研判_人员研判列表")
public R listFwbshYp(TbStZtypFwbsh fwbsh,HttpServletRequest request){ public com.founder.commonutils.model.newPublicEntity.ztypEntity.R listFwbshYp(TbStZtypFwbsh fwbsh, HttpServletRequest request){
try { try {
fwbsh.setXxdjryGmsfhm(JwtUser.getUser(request).getIdentitycard()); fwbsh.setXxdjryGmsfhm(JwtUser.getUser(request).getIdentitycard());
Map<String, Object> resultMap = ztypService.listFwbshYp(fwbsh); Map<String, Object> resultMap = ztypService.listFwbshYp(fwbsh);
return R.ok().data(resultMap); return com.founder.commonutils.model.newPublicEntity.ztypEntity.R.ok().data(resultMap);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
return R.error(e.getMessage()); return com.founder.commonutils.model.newPublicEntity.ztypEntity.R.error(e.getMessage());
} }
} }
@OperLog(message = "主题研判_人员研判修改",operation = OperationType.QUERY) @OperLog(message = "主题研判_人员研判修改",operation = OperationType.QUERY)
@PostMapping("/update") @PostMapping("/update")
@ApiOperation(value = "主题研判_人员研判修改") @ApiOperation(value = "主题研判_人员研判修改")
public R updateFwbshYp(TbStZtypFwbsh fwbsh,HttpServletRequest request){ public com.founder.commonutils.model.newPublicEntity.ztypEntity.R updateFwbshYp(TbStZtypFwbsh fwbsh, HttpServletRequest request){
try { try {
fwbsh.setUpUser(JwtUser.getUser(request)); fwbsh.setUpUser(JwtUser.getUser(request));
ztypService.updateFwbshYp(fwbsh); ztypService.updateFwbshYp(fwbsh);
return R.ok().data("xxzjbh", fwbsh.getXxzjbh()); return com.founder.commonutils.model.newPublicEntity.ztypEntity.R.ok().data("xxzjbh", fwbsh.getXxzjbh());
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
return R.error(e.getMessage()); return com.founder.commonutils.model.newPublicEntity.ztypEntity.R.error(e.getMessage());
} }
} }
@OperLog(message = "主题研判_人员研判删除",operation = OperationType.QUERY) @OperLog(message = "主题研判_人员研判删除",operation = OperationType.QUERY)
@PostMapping("/delete") @PostMapping("/delete")
@ApiOperation(value = "主题研判_人员研判删除") @ApiOperation(value = "主题研判_人员研判删除")
public R deleteFwbshYp(TbStZtypFwbsh fwbsh,HttpServletRequest request){ public com.founder.commonutils.model.newPublicEntity.ztypEntity.R deleteFwbshYp(TbStZtypFwbsh fwbsh, HttpServletRequest request){
try { try {
fwbsh.setUpUser(JwtUser.getUser(request)); fwbsh.setUpUser(JwtUser.getUser(request));
fwbsh.setXxscPdbz("1"); fwbsh.setXxscPdbz("1");
ztypService.updateFwbshYp(fwbsh); ztypService.updateFwbshYp(fwbsh);
return R.ok().data("xxzjbh", fwbsh.getXxzjbh()); return com.founder.commonutils.model.newPublicEntity.ztypEntity.R.ok().data("xxzjbh", fwbsh.getXxzjbh());
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
return R.error(e.getMessage()); return com.founder.commonutils.model.newPublicEntity.ztypEntity.R.error(e.getMessage());
} }
} }
@OperLog(message = "群体研判列表",operation = OperationType.QUERY) @OperLog(message = "群体研判列表",operation = OperationType.QUERY)
@PostMapping("/queryAjypfx") @PostMapping("/queryAjypfx")
@ApiOperation(value = "群体研判列表") @ApiOperation(value = "群体研判列表")
public R queryAjypfx(AjQueryParam requestParam) { public com.founder.commonutils.model.newPublicEntity.ztypEntity.R queryAjypfx(AjQueryParam requestParam) {
requestParam.setPage((requestParam.getPage()-1) * requestParam.getLimit()); Integer count = 0;
requestParam.setLimit(requestParam.getLimit());
Integer count = ztypService.queryAjypfxCount(requestParam);
List<AjypFxPojo> records = new ArrayList<>(); List<AjypFxPojo> records = new ArrayList<>();
if (count != null && count > 0) { if("0".equals(requestParam.getSfdj())){
records = ztypService.queryAjypfxData(requestParam); requestParam.setPage((requestParam.getPage()-1) * requestParam.getLimit());
requestParam.setLimit(requestParam.getLimit());
count = ztypService.queryAjypfxCount(requestParam);
if (count != null && count > 0) {
records = ztypService.queryAjypfxData(requestParam);
}
}else if("1".equals(requestParam.getSfdj())){
requestParam.setPage((requestParam.getPage()-1) * requestParam.getLimit());
requestParam.setLimit(requestParam.getLimit());
count = ztypService.queryAjypfxCountDj(requestParam);
if (count != null && count > 0) {
records = ztypService.queryAjypfxDataDj(requestParam);
}
} }
return R.ok().total(count).rows(records); return com.founder.commonutils.model.newPublicEntity.ztypEntity.R.ok().total(count).rows(records);
} }
@OperLog(message = "案件团伙分析可视化接口",operation = OperationType.QUERY) @OperLog(message = "案件团伙分析可视化接口",operation = OperationType.QUERY)
@PostMapping("/getThfxAccompliceBythId") @PostMapping("/getThfxAccompliceBythId")
@ApiOperation(value = "案件团伙分析可视化接口") @ApiOperation(value = "案件团伙分析可视化接口")
public MapRestResult getThfxAccompliceBythId(@RequestBody AjQueryParam requestParam) { public MapRestResult getThfxAccompliceBythId(@RequestBody AjQueryParam requestParam) {
return ztypService.getThfxAccompliceBythId(requestParam.getThbh(), requestParam.getFxwd(),requestParam.getCommonRelationshipNum()); if("0".equals(requestParam.getSfdj())){
return ztypService.getThfxAccompliceBythId(requestParam.getThbh(), requestParam.getFxwd(),requestParam.getCommonRelationshipNum());
}else if("1".equals(requestParam.getSfdj())){
return ztypService.getThfxAccompliceBythIdDj(requestParam.getThbh(), requestParam.getFxwd(),requestParam.getCommonRelationshipNum());
}
return null;
} }
@OperLog(message = "可视化",operation = OperationType.QUERY) @OperLog(message = "可视化",operation = OperationType.QUERY)
...@@ -149,231 +172,273 @@ public class ZtypController { ...@@ -149,231 +172,273 @@ public class ZtypController {
@OperLog(message = "查询团伙关联案件信息",operation = OperationType.QUERY) @OperLog(message = "查询团伙关联案件信息",operation = OperationType.QUERY)
@PostMapping("/getThgaByThbh") @PostMapping("/getThgaByThbh")
@ApiOperation(value = "查询团伙关联案件信息") @ApiOperation(value = "查询团伙关联案件信息")
public R getThgaByThbh(TbYwShseTh tbYwShseTh) { public com.founder.commonutils.model.newPublicEntity.ztypEntity.R getThgaByThbh(TbYwShseTh tbYwShseTh) {
try { try {
List<TbStAsj> ajlist = ztypService.getThgaByThbh(tbYwShseTh); List<TbStAsj> ajlist = ztypService.getThgaByThbh(tbYwShseTh);
int count = ztypService.getThgaByThbhCount(tbYwShseTh); int count = ztypService.getThgaByThbhCount(tbYwShseTh);
return R.ok().data("rows", ajlist).data("total", count); return com.founder.commonutils.model.newPublicEntity.ztypEntity.R.ok().data("rows", ajlist).data("total", count);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
return R.error(e.getMessage()); return com.founder.commonutils.model.newPublicEntity.ztypEntity.R.error(e.getMessage());
} }
} }
@OperLog(message = "查询团伙关联嫌疑人信息",operation = OperationType.QUERY) @OperLog(message = "查询团伙关联嫌疑人信息",operation = OperationType.QUERY)
@PostMapping("/getThxyrByThbh") @PostMapping("/getThxyrByThbh")
@ApiOperation(value = "查询团伙关联嫌疑人信息") @ApiOperation(value = "查询团伙关联嫌疑人信息")
public R getThxyrByThbh(TbYwShseTh tbYwShseTh) { public com.founder.commonutils.model.newPublicEntity.ztypEntity.R getThxyrByThbh(TbYwShseTh tbYwShseTh) {
try { try {
List<TbXwZbfzxyr> xyrlist = ztypService.getThxyrByThbh(tbYwShseTh); List<TbXwZbfzxyr> xyrlist = ztypService.getThxyrByThbh(tbYwShseTh);
int count = ztypService.getThxyrByThbhCount(tbYwShseTh); int count = ztypService.getThxyrByThbhCount(tbYwShseTh);
return R.ok().data("rows", xyrlist).data("total", count); return com.founder.commonutils.model.newPublicEntity.ztypEntity.R.ok().data("rows", xyrlist).data("total", count);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
return R.error(e.getMessage()); return com.founder.commonutils.model.newPublicEntity.ztypEntity.R.error(e.getMessage());
} }
} }
@OperLog(message = "查询可视化案件信息",operation = OperationType.QUERY) @OperLog(message = "根据推荐团伙添加犯罪团伙",operation = OperationType.QUERY)
@PostMapping("/getThgaByKsh") @PostMapping("/addFzthaj")
@ApiOperation(value = "查询可视化案件信息") @ApiOperation(value = "根据推荐团伙添加犯罪团伙")
public R getThgaByKsh(TbYwShseTh tbYwShseTh) { public com.founder.commonutils.model.newPublicEntity.ztypEntity.R addFzthaj(TbYwCchshzztjb cchshzztjb, HttpServletRequest request){
try { try {
List<TbStAsj> ajlist = ztypService.getThgaByThbh(tbYwShseTh); cchshzztjb.setDjUser(JwtUser.getUser(request));
int count = ztypService.getThgaByThbhCount(tbYwShseTh); String xxzjbh = ztypService.addFzthaj(cchshzztjb,request);
return R.ok().data("rows", ajlist).data("total", count); return com.founder.commonutils.model.newPublicEntity.ztypEntity.R.ok().data("xxzjbh",xxzjbh);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
return R.error(e.getMessage()); return com.founder.commonutils.model.newPublicEntity.ztypEntity.R.error(e.getMessage());
} }
} }
@OperLog(message = "查询可视化嫌疑人信息",operation = OperationType.QUERY) @OperLog(message = "根据可视化登记为犯罪团伙",operation = OperationType.QUERY)
@PostMapping("/getThxyrByKsh") @PostMapping("/addFzthajKsh")
@ApiOperation(value = "查询可视化嫌疑人信息") @ApiOperation(value = "根据可视化登记为犯罪团伙")
public R getThxyrByKsh(TbYwShseTh tbYwShseTh) { public com.founder.commonutils.model.newPublicEntity.ztypEntity.R addFzthajKsh(TbYwCchshzztjb cchshzztjb, HttpServletRequest request){
try { try {
List<TbXwZbfzxyr> xyrlist = ztypService.getThxyrByThbh(tbYwShseTh); cchshzztjb.setDjUser(JwtUser.getUser(request));
int count = ztypService.getThxyrByThbhCount(tbYwShseTh); String xxzjbh = ztypService.addFzthajKsh(cchshzztjb,request);
return R.ok().data("rows", xyrlist).data("total", count); return com.founder.commonutils.model.newPublicEntity.ztypEntity.R.ok().data("xxzjbh",xxzjbh);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
return R.error(e.getMessage()); return com.founder.commonutils.model.newPublicEntity.ztypEntity.R.error(e.getMessage());
} }
} }
@OperLog(message = "根据推荐团伙添加犯罪团伙",operation = OperationType.QUERY) @PostMapping("getThgaByKsh")
@PostMapping("/addFzthaj") @ApiOperation(value = "查询可视化关联案件信息")
@ApiOperation(value = "根据推荐团伙添加犯罪团伙") @OperLog(message = "查询可视化关联案件信息", operation = OperationType.QUERY)
public R addFzthaj(TbYwCchshzztjb cchshzztjb,HttpServletRequest request){ public com.founder.commonutils.model.newPublicEntity.ztypEntity.R getThgaByKsh(@RequestBody KshTreeResultPojo ksjResultParams) {
try { try {
cchshzztjb.setDjUser(JwtUser.getUser(request)); List<TbStAsj> ajlist = new ArrayList<>();
String xxzjbh = ztypService.addFzthaj(cchshzztjb,request); int count = 0;
return R.ok().data("xxzjbh",xxzjbh); if(null!=ksjResultParams.getNodes()){
List<KshTreeResultPojo.Nodes> listNodes = ksjResultParams.getNodes();
List<String> ListBhs= listNodes.stream().map(KshTreeResultPojo.Nodes::getId).collect(Collectors.toList());
TbYwShseTh tbYwShseTh = new TbYwShseTh();
tbYwShseTh.setListBhs(ListBhs);
ajlist = ztypService.getThgaByKsh(tbYwShseTh);
}
return com.founder.commonutils.model.newPublicEntity.ztypEntity.R.ok().data("rows", ajlist).data("total", ajlist.size());
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
return R.error(e.getMessage()); return com.founder.commonutils.model.newPublicEntity.ztypEntity.R.error(e.getMessage());
} }
} }
@PostMapping("getThxyrByKsh")
@ApiOperation(value = "查询可视化关联人员信息")
@OperLog(message = "查询可视化关联人员信息", operation = OperationType.QUERY)
public com.founder.commonutils.model.newPublicEntity.ztypEntity.R getThxyrByKsh(@RequestBody KshTreeResultPojo ksjResultParams) {
try {
List<TbXwZbfzxyr> xyrlist = new ArrayList<>();
int count = 0;
if(null!=ksjResultParams.getNodes()){
List<KshTreeResultPojo.Nodes> listNodes = ksjResultParams.getNodes();
List<String> ListBhs= listNodes.stream().map(KshTreeResultPojo.Nodes::getId).collect(Collectors.toList());
TbYwShseTh tbYwShseTh = new TbYwShseTh();
tbYwShseTh.setListBhs(ListBhs);
xyrlist = ztypService.getThxyrByKsh(tbYwShseTh);
}
return com.founder.commonutils.model.newPublicEntity.ztypEntity.R.ok().data("rows", xyrlist).data("total", xyrlist.size());
} catch (Exception e) {
e.printStackTrace();
return com.founder.commonutils.model.newPublicEntity.ztypEntity.R.error(e.getMessage());
}
}
@OperLog(message = "获取手机号机主信息",operation = OperationType.QUERY) @OperLog(message = "获取手机号机主信息",operation = OperationType.QUERY)
@ApiOperation(value = "获取手机号机主信息") @ApiOperation(value = "获取手机号机主信息")
@PostMapping("/txxx/getSjhJzxx") @PostMapping("/txxx/getSjhJzxx")
public R getSjhJzxx(String phoneNum) { public com.founder.commonutils.model.newPublicEntity.ztypEntity.R getSjhJzxx(String phoneNum) {
Map resultMap = new HashMap(); Map resultMap = new HashMap();
try { try {
resultMap = ztypService.getSjhJzxx(phoneNum); resultMap = ztypService.getSjhJzxx(phoneNum);
return R.ok().data("result",resultMap); return com.founder.commonutils.model.newPublicEntity.ztypEntity.R.ok().data("result",resultMap);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
return R.error(e.getMessage()); return com.founder.commonutils.model.newPublicEntity.ztypEntity.R.error(e.getMessage());
} }
} }
@OperLog(message = "获取手机号各种数据",operation = OperationType.QUERY) @OperLog(message = "获取手机号各种数据",operation = OperationType.QUERY)
@ApiOperation(value = "获取手机号各种数据(包括话单列表、24小时规律分析折线图、通话时长前5、通话次数前5)") @ApiOperation(value = "获取手机号各种数据(包括话单列表、24小时规律分析折线图、通话时长前5、通话次数前5)")
@PostMapping("/txxx/getSjInfo") @PostMapping("/txxx/getSjInfo")
public R getSjInfo(TxxxParam txxxParam) { public com.founder.commonutils.model.newPublicEntity.ztypEntity.R getSjInfo(TxxxParam txxxParam) {
Map resultMap = new HashMap(); Map resultMap = new HashMap();
try { try {
resultMap = ztypService.getSjInfo(txxxParam); resultMap = ztypService.getSjInfo(txxxParam);
return R.ok().data("result",resultMap); return com.founder.commonutils.model.newPublicEntity.ztypEntity.R.ok().data("result",resultMap);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
return R.error(e.getMessage()); return com.founder.commonutils.model.newPublicEntity.ztypEntity.R.error(e.getMessage());
} }
} }
@OperLog(message = "根据手机号获取案件信息",operation = OperationType.QUERY) @OperLog(message = "根据手机号获取案件信息",operation = OperationType.QUERY)
@ApiOperation(value = "根据手机号获取案件信息") @ApiOperation(value = "根据手机号获取案件信息")
@PostMapping("/txxx/getAsjxxByPhoneNum") @PostMapping("/txxx/getAsjxxByPhoneNum")
public R getAsjxxByPhoneNum(TxxxParam txxxParam) { public com.founder.commonutils.model.newPublicEntity.ztypEntity.R getAsjxxByPhoneNum(TxxxParam txxxParam) {
Map resultMap = new HashMap(); Map resultMap = new HashMap();
try { try {
resultMap = ztypService.getAsjxxByPhoneNum(txxxParam); resultMap = ztypService.getAsjxxByPhoneNum(txxxParam);
return R.ok().data("result",resultMap); return com.founder.commonutils.model.newPublicEntity.ztypEntity.R.ok().data("result",resultMap);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
return R.error(e.getMessage()); return com.founder.commonutils.model.newPublicEntity.ztypEntity.R.error(e.getMessage());
} }
} }
@OperLog(message = "可视化测试",operation = OperationType.QUERY) @OperLog(message = "可视化测试",operation = OperationType.QUERY)
@PostMapping("/kshdatatest") @PostMapping("/kshdatatest")
@ApiOperation(value = "可视化测试") @ApiOperation(value = "可视化测试")
public String kshdatatest(){ public String kshdatatest(String name){
return "{\n" + return "{\n" +
"\t\"status\": 200,\n" + "\t\"status\": 200,\n" +
"\t\"msg\": \"可视化结果获取成功\",\n" + "\t\"msg\": \"可视化结果获取成功\",\n" +
"\t\"data\": {\n" + "\t\"data\": {\n" +
"\t\t\"nodes\": [\n" + "\t\t\"kshdata\": {\n" +
"\t\t\t{\n" + "\t\t\t\"nodes\": [\n" +
"\t\t\t\t\"id\": \"430123196510265891\",\n" + "\t\t\t\t{\n" +
"\t\t\t\t\"label\": \"证件号码:430123196510265891\",\n" +
"\t\t\t\t\"properties\": {\n" +
"\t\t\t\t\t\"id\": \"430123196510265891\",\n" + "\t\t\t\t\t\"id\": \"430123196510265891\",\n" +
"\t\t\t\t\t\"label\": \"证件号码:430123196510265891\",\n" + "\t\t\t\t\t\"label\": \"证件号码:430123196510265891\",\n" +
"\t\t\t\t\t\"imgType\": \"idcard\"\n" + "\t\t\t\t\t\"properties\": {\n" +
"\t\t\t\t}\n" + "\t\t\t\t\t\t\"id\": \"430123196510265891\",\n" +
"\t\t\t},\n" + "\t\t\t\t\t\t\"label\": \"证件号码:430123196510265891\",\n" +
"\t\t\t{\n" + "\t\t\t\t\t\t\"imgType\": \"idcard\"\n" +
"\t\t\t\t\"id\": \"15754879533\",\n" + "\t\t\t\t\t}\n" +
"\t\t\t\t\"label\": \"15754879533\",\n" + "\t\t\t\t},\n" +
"\t\t\t\t\"properties\": {\n" + "\t\t\t\t{\n" +
"\t\t\t\t\t\"id\": \"15754879533\",\n" + "\t\t\t\t\t\"id\": \"15754879533\",\n" +
"\t\t\t\t\t\"label\": \"15754879533\",\n" + "\t\t\t\t\t\"label\": \"15754879533\",\n" +
"\t\t\t\t\t\"imgType\": \"sjk\"\n" + "\t\t\t\t\t\"properties\": {\n" +
"\t\t\t\t}\n" + "\t\t\t\t\t\t\"id\": \"15754879533\",\n" +
"\t\t\t},\n" + "\t\t\t\t\t\t\"label\": \"15754879533\",\n" +
"\t\t\t{\n" + "\t\t\t\t\t\t\"imgType\": \"sjk\"\n" +
"\t\t\t\t\"id\": \"蒙AKH824\",\n" + "\t\t\t\t\t}\n" +
"\t\t\t\t\"label\": \"蒙AKH824\",\n" + "\t\t\t\t},\n" +
"\t\t\t\t\"properties\": {\n" + "\t\t\t\t{\n" +
"\t\t\t\t\t\"id\": \"蒙AKH824\",\n" + "\t\t\t\t\t\"id\": \"蒙AKH824\",\n" +
"\t\t\t\t\t\"label\": \"蒙AKH824\",\n" + "\t\t\t\t\t\"label\": \"蒙AKH824\",\n" +
"\t\t\t\t\t\"imgType\": \"cph\"\n" + "\t\t\t\t\t\"properties\": {\n" +
"\t\t\t\t}\n" + "\t\t\t\t\t\t\"id\": \"蒙AKH824\",\n" +
"\t\t\t},\n" + "\t\t\t\t\t\t\"label\": \"蒙AKH824\",\n" +
"\t\t\t{\n" + "\t\t\t\t\t\t\"imgType\": \"cph\"\n" +
"\t\t\t\t\"id\": \"6216625552447663148522\",\n" + "\t\t\t\t\t}\n" +
"\t\t\t\t\"label\": \"6216625552447663148522\",\n" + "\t\t\t\t},\n" +
"\t\t\t\t\"properties\": {\n" + "\t\t\t\t{\n" +
"\t\t\t\t\t\"id\": \"6216625552447663148522\",\n" + "\t\t\t\t\t\"id\": \"6216625552447663148522\",\n" +
"\t\t\t\t\t\"label\": \"6216625552447663148522\",\n" + "\t\t\t\t\t\"label\": \"6216625552447663148522\",\n" +
"\t\t\t\t\t\"imgType\": \"yhk\"\n" + "\t\t\t\t\t\"properties\": {\n" +
"\t\t\t\t}\n" + "\t\t\t\t\t\t\"id\": \"6216625552447663148522\",\n" +
"\t\t\t},\n" + "\t\t\t\t\t\t\"label\": \"6216625552447663148522\",\n" +
"\t\t\t{\n" + "\t\t\t\t\t\t\"imgType\": \"yhk\"\n" +
"\t\t\t\t\"id\": \"A4690035100002025050074\",\n" + "\t\t\t\t\t}\n" +
"\t\t\t\t\"label\": \"A4690035100002025050074\",\n" + "\t\t\t\t},\n" +
"\t\t\t\t\"properties\": {\n" + "\t\t\t\t{\n" +
"\t\t\t\t\t\"id\": \"A4690035100002025050074\",\n" + "\t\t\t\t\t\"id\": \"A4690035100002025050074\",\n" +
"\t\t\t\t\t\"label\": \"A4690035100002025050074\",\n" + "\t\t\t\t\t\"label\": \"A4690035100002025050074\",\n" +
"\t\t\t\t\t\"imgType\": \"aj\"\n" + "\t\t\t\t\t\"properties\": {\n" +
"\t\t\t\t}\n" + "\t\t\t\t\t\t\"id\": \"A4690035100002025050074\",\n" +
"\t\t\t},\n" + "\t\t\t\t\t\t\"label\": \"A4690035100002025050074\",\n" +
"\t\t\t{\n" + "\t\t\t\t\t\t\"imgType\": \"aj\"\n" +
"\t\t\t\t\"id\": \"A4301025100002022020012\",\n" + "\t\t\t\t\t}\n" +
"\t\t\t\t\"label\": \"A4301025100002022020012\",\n" + "\t\t\t\t},\n" +
"\t\t\t\t\"properties\": {\n" + "\t\t\t\t{\n" +
"\t\t\t\t\t\"id\": \"A4301025100002022020012\",\n" + "\t\t\t\t\t\"id\": \"A4301025100002022020012\",\n" +
"\t\t\t\t\t\"label\": \"A4301025100002022020012\",\n" + "\t\t\t\t\t\"label\": \"A4301025100002022020012\",\n" +
"\t\t\t\t\t\"imgType\": \"aj\"\n" + "\t\t\t\t\t\"properties\": {\n" +
"\t\t\t\t\t\t\"id\": \"A4301025100002022020012\",\n" +
"\t\t\t\t\t\t\"label\": \"A4301025100002022020012\",\n" +
"\t\t\t\t\t\t\"imgType\": \"aj\"\n" +
"\t\t\t\t\t}\n" +
"\t\t\t\t}\n" + "\t\t\t\t}\n" +
"\t\t\t}\n" + "\t\t\t],\n" +
"\t\t],\n" + "\t\t\t\"links\": [\n" +
"\t\t\"links\": [\n" + "\t\t\t\t{\n" +
"\t\t\t{\n" + "\t\t\t\t\t\"source\": \"430123196510265891\",\n" +
"\t\t\t\t\"source\": \"430123196510265891\",\n" + "\t\t\t\t\t\"target\": \"15754879533\",\n" +
"\t\t\t\t\"target\": \"15754879533\",\n" +
"\t\t\t\t\"label\": \"机主\",\n" +
"\t\t\t\t\"properties\": {\n" +
"\t\t\t\t\t\"label\": \"机主\",\n" + "\t\t\t\t\t\"label\": \"机主\",\n" +
"\t\t\t\t\t\"properties\": {\n" +
"\t\t\t\t\t\t\"time\": \"2022-09-16 09:59:11\",\n" +
"\t\t\t\t\t\t\"label\": \"机主\",\n" +
"\t\t\t\t\t\t\"source\": \"430123196510265891\",\n" +
"\t\t\t\t\t\t\"target\": \"15754879533\"\n" +
"\t\t\t\t\t}\n" +
"\t\t\t\t},\n" +
"\t\t\t\t{\n" +
"\t\t\t\t\t\"source\": \"430123196510265891\",\n" + "\t\t\t\t\t\"source\": \"430123196510265891\",\n" +
"\t\t\t\t\t\"target\": \"15754879533\"\n" + "\t\t\t\t\t\"target\": \"蒙AKH824\",\n" +
"\t\t\t\t}\n" +
"\t\t\t},\n" +
"\t\t\t{\n" +
"\t\t\t\t\"source\": \"430123196510265891\",\n" +
"\t\t\t\t\"target\": \"蒙AKH824\",\n" +
"\t\t\t\t\"label\": \"车主\",\n" +
"\t\t\t\t\"properties\": {\n" +
"\t\t\t\t\t\"label\": \"车主\",\n" + "\t\t\t\t\t\"label\": \"车主\",\n" +
"\t\t\t\t\t\"properties\": {\n" +
"\t\t\t\t\t\t\"time\": \"2022-09-16 09:59:11\",\n" +
"\t\t\t\t\t\t\"label\": \"车主\",\n" +
"\t\t\t\t\t\t\"source\": \"430123196510265891\",\n" +
"\t\t\t\t\t\t\"target\": \"蒙AKH824\"\n" +
"\t\t\t\t\t}\n" +
"\t\t\t\t},\n" +
"\t\t\t\t{\n" +
"\t\t\t\t\t\"source\": \"430123196510265891\",\n" + "\t\t\t\t\t\"source\": \"430123196510265891\",\n" +
"\t\t\t\t\t\"target\": \"蒙AKH824\"\n" + "\t\t\t\t\t\"target\": \"6216625552447663148522\",\n" +
"\t\t\t\t}\n" +
"\t\t\t},\n" +
"\t\t\t{\n" +
"\t\t\t\t\"source\": \"430123196510265891\",\n" +
"\t\t\t\t\"target\": \"6216625552447663148522\",\n" +
"\t\t\t\t\"label\": \"卡号\",\n" +
"\t\t\t\t\"properties\": {\n" +
"\t\t\t\t\t\"label\": \"卡号\",\n" + "\t\t\t\t\t\"label\": \"卡号\",\n" +
"\t\t\t\t\t\"properties\": {\n" +
"\t\t\t\t\t\t\"time\": \"2022-09-16 09:59:11\",\n" +
"\t\t\t\t\t\t\"label\": \"卡号\",\n" +
"\t\t\t\t\t\t\"source\": \"430123196510265891\",\n" +
"\t\t\t\t\t\t\"target\": \"6216625552447663148522\"\n" +
"\t\t\t\t\t}\n" +
"\t\t\t\t},\n" +
"\t\t\t\t{\n" +
"\t\t\t\t\t\"source\": \"430123196510265891\",\n" + "\t\t\t\t\t\"source\": \"430123196510265891\",\n" +
"\t\t\t\t\t\"target\": \"6216625552447663148522\"\n" + "\t\t\t\t\t\"target\": \"A4690035100002025050074\",\n" +
"\t\t\t\t}\n" +
"\t\t\t},\n" +
"\t\t\t{\n" +
"\t\t\t\t\"source\": \"430123196510265891\",\n" +
"\t\t\t\t\"target\": \"A4690035100002025050074\",\n" +
"\t\t\t\t\"label\": \"人案\",\n" +
"\t\t\t\t\"properties\": {\n" +
"\t\t\t\t\t\"label\": \"人案\",\n" + "\t\t\t\t\t\"label\": \"人案\",\n" +
"\t\t\t\t\t\"properties\": {\n" +
"\t\t\t\t\t\t\"time\": \"2022-09-16 09:59:11\",\n" +
"\t\t\t\t\t\t\"label\": \"人案\",\n" +
"\t\t\t\t\t\t\"source\": \"430123196510265891\",\n" +
"\t\t\t\t\t\t\"target\": \"A4690035100002025050074\"\n" +
"\t\t\t\t\t}\n" +
"\t\t\t\t},\n" +
"\t\t\t\t{\n" +
"\t\t\t\t\t\"source\": \"430123196510265891\",\n" + "\t\t\t\t\t\"source\": \"430123196510265891\",\n" +
"\t\t\t\t\t\"target\": \"A4690035100002025050074\"\n" + "\t\t\t\t\t\"target\": \"A4301025100002022020012\",\n" +
"\t\t\t\t}\n" +
"\t\t\t},\n" +
"\t\t\t{\n" +
"\t\t\t\t\"source\": \"430123196510265891\",\n" +
"\t\t\t\t\"target\": \"A4301025100002022020012\",\n" +
"\t\t\t\t\"label\": \"人案\",\n" +
"\t\t\t\t\"properties\": {\n" +
"\t\t\t\t\t\"label\": \"人案\",\n" + "\t\t\t\t\t\"label\": \"人案\",\n" +
"\t\t\t\t\t\"source\": \"430123196510265891\",\n" + "\t\t\t\t\t\"properties\": {\n" +
"\t\t\t\t\t\"target\": \"A4301025100002022020012\"\n" + "\t\t\t\t\t\t\"time\": \"2022-09-16 09:59:11\",\n" +
"\t\t\t\t\t\t\"label\": \"人案\",\n" +
"\t\t\t\t\t\t\"source\": \"430123196510265891\",\n" +
"\t\t\t\t\t\t\"target\": \"A4301025100002022020012\"\n" +
"\t\t\t\t\t}\n" +
"\t\t\t\t}\n" + "\t\t\t\t}\n" +
"\t\t\t}\n" + "\t\t\t]\n" +
"\t\t]\n" + "\t\t},\n" +
"\t\t\"dataSumup\": {\n" +
"\t\t\t\"name\": \"" + name +"\",\n" +
"\t\t\t\"list\": [\n" +
"\t\t\t\t\"430123196510265891\",\"15754879533\",\"蒙AKH824\",\"6216625552447663148522\",\"A4690035100002025050074\",\"A4301025100002022020012\"\n" +
"\t\t\t]\n" +
"\t\t}\n" +
"\t}\n" + "\t}\n" +
"}"; "}";
} }
...@@ -433,10 +498,10 @@ public class ZtypController { ...@@ -433,10 +498,10 @@ public class ZtypController {
@OperLog(message = "判断该手机号是否可以查询信息",operation = OperationType.QUERY) @OperLog(message = "判断该手机号是否可以查询信息",operation = OperationType.QUERY)
@PostMapping("/txxx/judgePhone") @PostMapping("/txxx/judgePhone")
@ApiOperation(value = "判断该手机号是否可以查询信息", notes = "判断该手机号是否可以查询信息") @ApiOperation(value = "判断该手机号是否可以查询信息", notes = "判断该手机号是否可以查询信息")
public R judgePhone(String phoneNum){ public com.founder.commonutils.model.newPublicEntity.ztypEntity.R judgePhone(String phoneNum){
try { try {
Integer count = ztypService.judgePhone(phoneNum); Integer count = ztypService.judgePhone(phoneNum);
return R.ok().data("count",count); return com.founder.commonutils.model.newPublicEntity.ztypEntity.R.ok().data("count",count);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
return R.error(e.getMessage()); return R.error(e.getMessage());
......
...@@ -27,8 +27,8 @@ public interface TbStZtypFwbshMapper extends BaseMapper<TbStZtypFwbsh> { ...@@ -27,8 +27,8 @@ public interface TbStZtypFwbshMapper extends BaseMapper<TbStZtypFwbsh> {
* @author yangyang * @author yangyang
* 2022/4/24 10:07 * 2022/4/24 10:07
*/ */
IPage<TbStZtypFwbsh> selectPageByFwbsh(Page<TbStZtypFwbsh> page, @Param("fwbsh") TbStZtypFwbsh fwbsh); List<TbStZtypFwbsh> selectPageByFwbsh(@Param("fwbsh") TbStZtypFwbsh fwbsh);
int selectPageByFwbshCount(@Param("fwbsh") TbStZtypFwbsh fwbsh);
/** /**
* selectSfzPageByFwbsh 根据号码分页查询(身份证号码) * selectSfzPageByFwbsh 根据号码分页查询(身份证号码)
* @return com.baomidou.mybatisplus.core.metadata.IPage<org.springblade.founder.ztyp.entity.TbStZtypFwbsh> * @return com.baomidou.mybatisplus.core.metadata.IPage<org.springblade.founder.ztyp.entity.TbStZtypFwbsh>
......
...@@ -27,6 +27,12 @@ public interface ZtypMapper{ ...@@ -27,6 +27,12 @@ public interface ZtypMapper{
//案件团伙分析count //案件团伙分析count
Integer queryAjypfxCount(AjQueryParam requestParam); Integer queryAjypfxCount(AjQueryParam requestParam);
//案件团伙分析登记主数据
List<AjypFxPojo> queryAjypfxDataDj(AjQueryParam requestParam);
//案件团伙分析登记count
Integer queryAjypfxCountDj(AjQueryParam requestParam);
//获取团伙的通话记录 //获取团伙的通话记录
List<Map<String, String>> getThConnectPhoneList(String thbh); List<Map<String, String>> getThConnectPhoneList(String thbh);
...@@ -42,9 +48,15 @@ public interface ZtypMapper{ ...@@ -42,9 +48,15 @@ public interface ZtypMapper{
//查询团伙关联案件信息数量 //查询团伙关联案件信息数量
int getThgaByThbhCount(TbYwShseTh tbYwShseTh); int getThgaByThbhCount(TbYwShseTh tbYwShseTh);
//查询团伙关联案件信息
List<TbStAsj> getThgaByKsh(TbYwShseTh tbYwShseTh);
//查询团伙关联嫌疑人信息 //查询团伙关联嫌疑人信息
List<TbXwZbfzxyr> getThxyrByThbh(TbYwShseTh tbYwShseTh); List<TbXwZbfzxyr> getThxyrByThbh(TbYwShseTh tbYwShseTh);
//查询团伙关联嫌疑人信息
List<TbXwZbfzxyr> getThxyrByKsh(TbYwShseTh tbYwShseTh);
//查询团伙关联嫌疑人信息数量 //查询团伙关联嫌疑人信息数量
int getThxyrByThbhCount(TbYwShseTh tbYwShseTh); int getThxyrByThbhCount(TbYwShseTh tbYwShseTh);
...@@ -67,6 +79,10 @@ public interface ZtypMapper{ ...@@ -67,6 +79,10 @@ public interface ZtypMapper{
List<AjThKshfxPojo> getGroupAsjList(@Param("fzXyrList") List<String> fzXyrList); List<AjThKshfxPojo> getGroupAsjList(@Param("fzXyrList") List<String> fzXyrList);
List<AjThKshfxPojo> getGroupXyrListByThbhDj(String thbh);
List<AjThKshfxPojo> getGroupAsjListDj(@Param("fzXyrList") List<String> fzXyrList);
List<AjThKshfxPojo> getKshConnectPhoneList(String thbh); List<AjThKshfxPojo> getKshConnectPhoneList(String thbh);
List<AjThKshfxPojo> getkshConnectIpList(String thbh); List<AjThKshfxPojo> getkshConnectIpList(String thbh);
...@@ -75,4 +91,26 @@ public interface ZtypMapper{ ...@@ -75,4 +91,26 @@ public interface ZtypMapper{
int getXsbkOrCbBshByPhoneNum(@Value("phoneNum") String phoneNum); int getXsbkOrCbBshByPhoneNum(@Value("phoneNum") String phoneNum);
/**
* insertThGlXYR 在团伙关联嫌疑人中间表中插入数据
*
* @param xyr: 嫌疑人信息
*/
void insertThGlXYRDj(AjXyrResult xyr);
/**
* insertThGlASJ 在团伙关联案件中间表中插入数据
*
* @param aj: 案件信息
*/
void insertThGlASJDj(AjQueryResult aj);
/**
* insertTh 插入团伙信息
*
* @param accomplicee: 团伙信息
*/
void insertThDj(Accomplicee accomplicee);
Integer findZdmzyrByZjhm(String zjhm);
} }
...@@ -2,13 +2,75 @@ ...@@ -2,13 +2,75 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.founder.publicapi.mapper.mysqlMapper.TbStZtypFwbshMapper"> <mapper namespace="com.founder.publicapi.mapper.mysqlMapper.TbStZtypFwbshMapper">
<select id="selectPageByFwbsh" resultType="com.founder.commonutils.model.newPublicEntity.ztypEntity.TbStZtypFwbsh"> <select id="selectPageByFwbsh" resultType="com.founder.commonutils.model.newPublicEntity.ztypEntity.TbStZtypFwbsh">
select SELECT xxzjbh,
(SELECT count(1) FROM tb_xsz_cbyp_qgaj WHERE CBXGFWBZH = fwbsh_hm) as qgajCount, fwbsh_lb as fwbshLb,
<include refid="fwbsh-queryColumn"/> (SELECT count(*) FROM tb_xsz_cbyp_qgaj WHERE CBXGFWBZH = fwbsh_hm) as qgajCount,
from tb_st_ztyp_fwbsh (select name from sys_dictitem where GROUPID = 'CODE_CBYP_BSHLX' and code = fwbsh_lb) as fwbshLbStr,
fwbsh_hm as fwbshHm,
fwbsh_ms as fwbshMs,
djsj as djsj,
xxdjdw_gajgjgdm as xxdjdwGajgjgdm,
xxdjdw_gajgmc as xxdjdwGajgmc,
xxdjry_xm as xxdjryxm,
xxdjry_gmsfhm as xxdjryGmsfhm,
xxdjry_lxdh as xxdjryLxdh
FROM tb_st_ztyp_fwbsh
where XXSC_PDBZ = '0' where XXSC_PDBZ = '0'
<include refid="fwbsh-queryParam"/> <include refid="fwbsh-queryParam"/>
UNION ALL
SELECT xxzjbh as xxzjbh ,
ASJXGFWBZH_FWBZH_FWBZHLBDM as fwbshLb,
(SELECT count(*) FROM tb_xsz_cbyp_qgaj WHERE CBXGFWBZH = asjxgfwbzh_fwbzh) as qgajCount,
(select name from sys_dictitem where groupid = 'CODE_FWBSH' and code = ASJXGFWBZH_FWBZH_FWBZHLBDM) as fwbshLbStr,
asjxgfwbzh_fwbzh as fwbshHm,
'系统自动提取' as fwbshMs,
djsj as djsj ,
'系统' as xxdjdwGajgjgdm,
'系统' as xxdjdwGajgmc,
'系统' as xxdjryxm,
'系统' as xxdjryGmsfhm,
'系统' as xxdjryLxdh
FROM tb_xw_asjxgfwbzh
where xxsc_pdbz=0
and ASJXGFWBZH_FWBZH_FWBZHLBDM in
<foreach collection="fwbsh.bshlb" item="bsh" open="(" separator="," close=")">
#{bsh,jdbcType=VARCHAR}
</foreach>
<if test="fwbsh.fwbshHm != null and fwbsh.fwbshHm != ''">
and instr(asjxgfwbzh_fwbzh, #{fwbsh.fwbshHm,jdbcType=VARCHAR}) > 0
</if>
<if test="fwbsh.xxdjryXm != null and fwbsh.xxdjryXm != ''">
and '系统' like concat('%',#{fwbsh.xxdjryXm,jdbcType=VARCHAR},'%')
</if>
order by djsj desc order by djsj desc
limit #{fwbsh.page},#{fwbsh.limit}
</select>
<select id="selectPageByFwbshCount" resultType="java.lang.Integer">
select sum(a.x) from (
SELECT count(*) as x
FROM tb_st_ztyp_fwbsh
where XXSC_PDBZ = '0'
<include refid="fwbsh-queryParam"/>
UNION ALL
SELECT count(*) as x
FROM tb_xw_asjxgfwbzh
where xxsc_pdbz=0
and ASJXGFWBZH_FWBZH_FWBZHLBDM in
<foreach collection="fwbsh.bshlb" item="bsh" open="(" separator="," close=")">
#{bsh,jdbcType=VARCHAR}
</foreach>
<if test="fwbsh.fwbshHm != null and fwbsh.fwbshHm != ''">
and instr(asjxgfwbzh_fwbzh, #{fwbsh.fwbshHm,jdbcType=VARCHAR}) > 0
</if>
<if test="fwbsh.xxdjryXm != null and fwbsh.xxdjryXm != ''">
and '系统' like concat('%',#{fwbsh.xxdjryXm,jdbcType=VARCHAR},'%')
</if>
) as a
</select> </select>
<select id="selectSfzPageByFwbsh" resultType="com.founder.commonutils.model.newPublicEntity.ztypEntity.TbStZtypFwbsh"> <select id="selectSfzPageByFwbsh" resultType="com.founder.commonutils.model.newPublicEntity.ztypEntity.TbStZtypFwbsh">
select select
......
...@@ -121,7 +121,8 @@ ...@@ -121,7 +121,8 @@
th.THGLAJSL as ajCount, th.THGLAJSL as ajCount,
ifnull(th.THGLJLAJSL,0) as jlajCount, ifnull(th.THGLJLAJSL,0) as jlajCount,
th.THGLXYRSL as xyrCount, th.THGLXYRSL as xyrCount,
th.THGLZDGZYRSL as zdgzyrCount th.THGLZDGZYRSL as zdgzyrCount,
'0' as sfdj
from tb_yw_shse_th th from tb_yw_shse_th th
<where> <where>
1 = 1 1 = 1
...@@ -251,6 +252,142 @@ ...@@ -251,6 +252,142 @@
</if> </if>
</where> </where>
</select> </select>
<select id="queryAjypfxDataDj" resultType="com.founder.commonutils.model.newPublicEntity.ztypEntity.AjypFxPojo">
select th.THBH as thbh,
th.THGLAJSL as ajCount,
ifnull(th.THGLJLAJSL,0) as jlajCount,
th.THGLXYRSL as xyrCount,
th.THGLZDGZYRSL as zdgzyrCount,
'1' as sfdj
from tb_yw_shse_thdj th
<where>
1 = 1
<if test="ajlx == '00'">
and th.THGLXYRSL <![CDATA[>=]]> 3
and th.THGLAJSL <![CDATA[>=]]> 3
</if>
<if test="ajlx == '01'">
and th.THGLXYRSL <![CDATA[>=]]> 3
and th.THGLAJSL = 2
</if>
<if test="ajlx == '10'">
and th.THGLXYRSL = 2
and th.THGLAJSL <![CDATA[>=]]> 3
</if>
<if test="ajlx == '11'">
and th.THGLXYRSL = 2
and th.THGLAJSL = 2
</if>
<if test="(ryxm != null and ryxm != '') or (hjd != null and hjd != '')">
and th.thbh in (select thxyr.thbh from tb_yw_shse_thglxyrdj thxyr
<where>
1 = 1
<if test="ryxm != null and ryxm != ''">
and thxyr.XM = #{ryxm}
</if>
<if test="hjd != null and hjd != ''">
and thxyr.HJDDM = #{hjd}
</if>
</where>
)
</if>
<if test="(ladwdm != null and ladwdm != '') or (ajlbdm != null and ajlbdm != '') or (ajmc != null and ajmc != '')
or startDate != null or endDate != null">
and th.thbh in (
select thbh
from tb_yw_shse_thglasjdj thaj
<where>
1 = 1
<if test="ajlbdm != null and ajlbdm != ''">
and thaj.AJLBDM = #{ajlbdm}
</if>
<if test="ajmc != null and ajmc != ''">
thaj.AJMC like '%${ajmc}%'
</if>
<if test="startDate != null">
and thaj.LARQ >= #{startDate, jdbcType=DATE}
</if>
<if test="endDate != null">
and thaj.LARQ <![CDATA[<=]]> #{endDate, jdbcType=DATE}
</if>
<if test="ladwdm != null and ladwdm != ''">
and thaj.LADWDM in (SELECT code FROM sys_dictitem_xz WHERE CODE_LEV1
=#{ladwdm, jdbcType=VARCHAR}
or CODE_LEV2 =#{ladwdm, jdbcType=VARCHAR} or CODE_LEV3 =#{ladwdm, jdbcType=VARCHAR}
or CODE_LEV4 =#{ladwdm, jdbcType=VARCHAR} or CODE_LEV5 =#{ladwdm, jdbcType=VARCHAR}
)
</if>
</where>
)
</if>
</where>
limit #{page},#{limit}
</select>
<select id="queryAjypfxCountDj" resultType="java.lang.Integer">
select count(th.THBH)
from tb_yw_shse_thdj th
<where>
1 = 1
<if test="ajlx == '00'">
and th.THGLXYRSL <![CDATA[>=]]> 3
and th.THGLAJSL <![CDATA[>=]]> 3
</if>
<if test="ajlx == '01'">
and th.THGLXYRSL <![CDATA[>=]]> 3
and th.THGLAJSL = 2
</if>
<if test="ajlx == '10'">
and th.THGLXYRSL = 2
and th.THGLAJSL <![CDATA[>=]]> 3
</if>
<if test="ajlx == '11'">
and th.THGLXYRSL = 2
and th.THGLAJSL = 2
</if>
<if test="(ryxm != null and ryxm != '') or (hjd != null and hjd != '')">
and th.thbh in (select thxyr.thbh from tb_yw_shse_thglxyrdj thxyr
<where>
1 = 1
<if test="ryxm != null and ryxm != ''">
and thxyr.XM = #{ryxm}
</if>
<if test="hjd != null and hjd != ''">
and thxyr.HJDDM = #{hjd}
</if>
</where>
)
</if>
<if test="(ladwdm != null and ladwdm != '') or (ajlbdm != null and ajlbdm != '') or (ajmc != null and ajmc != '')
or startDate != null or endDate != null">
and th.thbh in (
select thbh
from tb_yw_shse_thglasjdj thaj
<where>
1 = 1
<if test="ajlbdm != null and ajlbdm != ''">
and thaj.AJLBDM = #{ajlbdm}
</if>
<if test="ajmc != null and ajmc != ''">
thaj.AJMC like '%${ajmc}%'
</if>
<if test="startDate != null">
and thaj.LARQ >= #{startDate, jdbcType=DATE}
</if>
<if test="endDate != null">
and thaj.LARQ <![CDATA[<=]]> #{endDate, jdbcType=DATE}
</if>
<if test="ladwdm != null and ladwdm != ''">
and thaj.LADWDM in (SELECT code FROM sys_dictitem_xz WHERE CODE_LEV1
=#{ladwdm, jdbcType=VARCHAR}
or CODE_LEV2 =#{ladwdm, jdbcType=VARCHAR} or CODE_LEV3 =#{ladwdm, jdbcType=VARCHAR}
or CODE_LEV4 =#{ladwdm, jdbcType=VARCHAR} or CODE_LEV5 =#{ladwdm, jdbcType=VARCHAR}
)
</if>
</where>
)
</if>
</where>
</select>
<select id="getThConnectPhoneList" resultType="java.util.Map"> <select id="getThConnectPhoneList" resultType="java.util.Map">
select thxyr.ZJHM as "xyrZjhm", callInfo.DFHM as "dfhm" select thxyr.ZJHM as "xyrZjhm", callInfo.DFHM as "dfhm"
from tb_yw_shse_thglxyr thxyr from tb_yw_shse_thglxyr thxyr
...@@ -558,6 +695,218 @@ ...@@ -558,6 +695,218 @@
and xxsc_pdbz = '0' and xxsc_pdbz = '0'
</select> </select>
<select id="getThgaByKsh" resultType="com.founder.commonutils.model.newPublicEntity.ztypEntity.TbStAsj"
parameterType="com.founder.commonutils.model.newPublicEntity.ztypEntity.TbYwShseTh">
SELECT
ASJBH as asjbh,
JJBH as jjbh,
XCKYBH as xckybh,
ASJLYDM as asjlydm,
XSJQLBDM as xsjqlbdm,
ZCJDDM as zcjddm,
XSAJLASCJGDM as xsajlascjgdm,
(select name from sys_dictitem where GROUPID='CODE_AJLB' and CODE=AJLBDM) as ajlbdmStr,
AJLBDM as ajlbdm,
ZATZ_JYQK as zatzJyqk,
TSSDDM as tssddm,
ZATZZDFL_JYQK as zatzzdflJyqk,
ZATZBCMS_JYQK as zatzbcmsJyqk,
ZATZ_AJZATZJHBD as zatzAjzatzjhbd,
AJMC as ajmc,
DATE_FORMAT(FXASJSJ,'%Y-%m-%d %H:%i:%S') as fxasjsj,
FXASJDD_XZQHDM as fxasjddXzqhdm,
(select name from sys_dictitem where GROUPID='CODE_UNIT' and CODE=FXASJDD_XZQHDM) as afd,
FXASJDD_DZMC as fxasjddDzmc,
DATE_FORMAT(ASJFSSJ_ASJFSKSSJ,'%Y-%m-%d %H:%i:%S') as asjfssjAsjfskssj,
DATE_FORMAT(ASJFSSJ_ASJFSJSSJ,'%Y-%m-%d %H:%i:%S') as asjfssjAsjfsjssj,
ASJFSSJ_RSDDM as asjfssjRsddm,
ASJFSSJ_ZASJ_ZASJLBDM as asjfssjZasjZasjlbdm,
ASJFSSJ_ZASJ_DMBCMS as asjfssjZasjDmbcms,
ASJFSDD_XZQHDM as asjfsddXzqhdm,
ASJFSDD_DZMC as asjfsddDzmc,
ASJFSDD_DQJD as asjfsddDqjd,
ASJFSDD_DQWD as asjfsddDqwd,
ASJFSDD_DYLBDM as asjfsddDylbdm,
ASJFSDD_SACS_SACSLBDM as asjfsddSacsSacslbdm,
ASJFSDD_SACS_DMBCMS as asjfsddSacsDmbcms,
ASJFSDD_KJBW_KJBWLBDM as asjfsddKjbwKjbwlbdm,
ASJFSDD_KJBW_DMBCMS as asjfsddKjbwDmbcms,
ASJFSDD_SFJZWN_PDBZ as asjfsddSfjzwnPdbz,
ASJFSDD_JZWCS as asjfsddJzwcs,
ASJFSDD_ASJFSLC as asjfsddAsjfslc,
ASJFSDD_SFZLZZ_PDBZ as asjfsddSfzlzzPdbz,
SFSQ_PDBZ as sfsqPdbz,
SFSB_PDBZ as sfsbPdbz,
SFMA_PDBZ as sfmaPdbz,
SFSH_PDBZ as sfshPdbz,
SFSJDQPCL_PDBZ as sfsjdqpclPdbz,
SFSW_PDBZ as sfswPdbz,
SFGM_PDBZ as sfgmPdbz,
SWASJSWQK as swasjswqk,
ASJDBJBDM as asjdbjbdm,
LLFS_LLFSDM as llfsLlfsdm,
LLFS_DMBCMS as llfsDmbcms,
DATE_FORMAT(LLSJ,'%Y-%m-%d %H:%i:%S') as llsj,
SY_JYQK as syJyqk,
FZXYRTSXW_FZXYRTSXWDM as fzxyrtsxwFzxyrtsxwdm,
FZXYRTSXW_DMBCMS as fzxyrtsxwDmbcms,
FZXYRSXZAHJQK as fzxyrsxzahjqk,
QTSDTD_JYQK as qtsdtdJyqk,
DATE_FORMAT(ASJFSSJFX_ASJFSKSSJ,'%Y-%m-%d %H:%i:%S') as asjfssjfxAsjfskssj,
DATE_FORMAT(ASJFSSJFX_ASJFSJSSJ,'%Y-%m-%d %H:%i:%S') as asjfssjfxAsjfsjssj,
ZARFX_RSXX as zarfxRsxx,
ZARFX_RSSX as zarfxRssx,
FZXYRTZ_JYQK as fzxyrtzJyqk,
FZXYRTSZC_FZXYRTSZCDM as fzxyrtszcFzxyrtszcdm,
FZXYRTSZC_DMBCMS as fzxyrtszcDmbcms,
ZAGJ_SAWPDM as zagjSawpdm,
ZAGJ_JYQK as zagjJyqk,
ZADJMS as zadjms,
ZAMDMS as zamdms,
KJFWDM as kjfwdm,
LCZA_JYQK as lczaJyqk,
JHZA_JYQK as jhzaJyqk,
GTFZFZXYRZHXSDM as gtfzfzxyrzhxsdm,
GTFZFZXYRGC_GTFZFZXYRGCDM as gtfzfzxyrgcGtfzfzxyrgcdm,
GTFZFZXYRGC_DMBCMS as gtfzfzxyrgcDmbcms,
XZWPFX_SAWP_SAWPDM as xzwpfxSawpSawpdm,
XZWPFX_SAWP_DMBCMS as xzwpfxSawpDmbcms,
SSWPQX_JYQK as sswpqxJyqk,
FZXYRYLWP_JYQK as fzxyrylwpJyqk,
XCKYWP_JYQK as xckywpJyqk,
FXXS_JYQK as fxxsJyqk,
ASJSWRY_RS as asjswryRs,
ASJSSRY_RS as asjssryRs,
ASJSSCW_JYQK as asjsscwJyqk,
SSJZRMBY as ssjzrmby,
KYZSQZ_WPSL as kyzsqzWpsl,
KYMYQZ_WPSL as kymyqzWpsl,
KYZZQZ_WPSL as kyzzqzWpsl,
KYFZQZ_WPSL as kyfzqzWpsl,
KYQTQZ_WPSL as kyqtqzWpsl,
DATE_FORMAT(SLSJ,'%Y-%m-%d %H:%i:%S') as slsj,
SLDW_GAJGJGDM as sldwGajgjgdm,
SLDW_GAJGMC as sldwGajgmc,
DATE_FORMAT(LARQ,'%Y-%m-%d %H:%i:%S') as larq,
LADW_GAJGJGDM as ladwGajgjgdm,
(select name from sys_dictitem where GROUPID='CODE_UNIT' and CODE=LADW_GAJGJGDM) as ladwStr,
LADW_GAJGMC as ladwGajgmc,
ZARY_RS as zaryRs,
SJCWJZRMBY as sjcwjzrmby,
ZCZJ_ZCXWYJMS as zczjZcxwyjms,
DATE_FORMAT(ZCZJ_ZXSJ01,'%Y-%m-%d %H:%i:%S') as zczjZxsj01,
ZCZJDW_GAJGJGDM as zczjdwGajgjgdm,
ZCZJDW_GAJGMC as zczjdwGajgmc,
DATE_FORMAT(YSSCQSRQ,'%Y-%m-%d %H:%i:%S') as ysscqsrq,
YSSCQSAJSCFHJDDM as ysscqsajscfhjddm,
SFCXAJ_PDBZ as sfcxajPdbz,
CXAJYYDM as cxajyydm,
CXAJDW_GAJGJGDM as cxajdwGajgjgdm,
CXAJDW_GAJGMC as cxajdwGajgmc,
DATE_FORMAT(CXAJRQ,'%Y-%m-%d %H:%i:%S') as cxajrq,
XSAJXSGZJGDM as xsajxsgzjgdm,
XBR_XM as xbrXm,
XBR_GMSFHM as xbrGmsfhm,
XBR_LXDH as xbrLxdh,
XSJSFZR_XM as xsjsfzrXm,
XSJSFZR_GMSFHM as xsjsfzrGmsfhm,
XSJSFZR_LXDH as xsjsfzrLxdh,
GAJGFZR_XM as gajgfzrXm,
GAJGFZR_GMSFHM as gajgfzrGmsfhm,
GAJGFZR_LXDH as gajgfzrLxdh,
XXDJRY_XM as xxdjryXm,
XXCZRY_GMSFHM as xxczryGmsfhm,
XXDJRY_GMSFHM as xxdjryGmsfhm,
XXCZRY_XM as xxczryXm,
XXCZDW_GAJGJGDM as xxczdwGajgjgdm,
XXCZDW_GAJGMC as xxczdwGajgmc,
XXDJRY_LXDH as xxdjryLxdh,
XXDJDW_GAJGMC as xxdjdwGajgmc,
XXLYMS as xxlyms,
XXSC_PDBZ as xxscPdbz,
XXDJDW_GAJGJGDM as xxdjdwGajgjgdm,
DATE_FORMAT(DJSJ,'%Y-%m-%d %H:%i:%S') as djsj,
JJSD_JJSDDM as jjsdJjsddm,
XPSD_DMBCMS as xpsdDmbcms,
QQSD_QQSDDM as qqsdQqsddm,
JSSD_DMBCMS as jssdDmbcms,
YBSDDM as ybsddm,
SBSD_SBSDDM as sbsdSbsddm,
XTKJTPSD_JSSD_JSSDDM as xtkjtpsdJssdJssddm,
ZPSD_ZPSDDM as zpsdZpsddm,
WLZASD_WLZASDDM as wlzasdWlzasddm,
XTKJTPSD_JSSD_DMBCMS as xtkjtpsdJssdDmbcms,
LKJZKJFS_DMBCMS as lkjzkjfsDmbcms,
JRJZKJFSJSD_DMBCMS as jrjzkjfsjsdDmbcms,
XTKJTPSD_XTKJTPSDDM as xtkjtpsdXtkjtpsddm,
WLZASD_DMBCMS as wlzasdDmbcms,
SBSD_DMBCMS as sbsdDmbcms,
GRZCSD_GRZCSDDM as grzcsdGrzcsddm,
MCSF_DMBCMS as mcsfDmbcms,
XPSYWP_SAWPDM as xpsywpSawpdm,
XPSD_XPSDDM as xpsdXpsddm,
MYDWMY_MCDWMYDM as mydwmyMcdwmydm,
MCSF_MCSFDM as mcsfMcsfdm,
MCGXR_DMBCMS as mcgxrDmbcms,
JJSD_DMBCMS as jjsdDmbcms,
QQSD_DMBCMS as qqsdDmbcms,
LKJZKJFS_LKJZKJFSDM as lkjzkjfsLkjzkjfsdm,
MCMYSD_MCMYSDDM as mcmysdMcmysddm,
ZAZBSD_ZAZBSDDM as zazbsdZazbsddm,
DATE_FORMAT(GXSJ,'%Y-%m-%d %H:%i:%S') as gxsj,
MYDWMY_DMBCMS as mydwmyDmbcms,
XCWPFDCD_XCWPFDCDDM as xcwpfdcdXcwpfdcddm,
GRZCSD_DMBCMS as grzcsdDmbcms,
XCWPFDCD_DMBCMS as xcwpfdcdDmbcms,
MCMYSD_DMBCMS as mcmysdDmbcms,
JRJZKJFSJSD_JRJZKJFSJSDDM as jrjzkjfsjsdJrjzkjfsjsddm,
XTKJTPSD_DMBCMS as xtkjtpsdDmbcms,
XPSYWP_DMBCMS as xpsywpDmbcms,
ZPSD_DMBCMS as zpsdDmbcms,
MCGXR_MCGXRDM as mcgxrMcgxrdm,
ZAZBSD_DMBCMS as zazbsdDmbcms,
JSSD_JSSDDM as jssdJssddm,
ZUZDW_GAJGJGDM as zuzdwGajgjgdm,
ZUZDW_GAJGMC as zuzdwGajgmc,
ZZDWFZR_XM as zzdwfzrXm,
ZZDWFZR_GMSFHM as zzdwfzrGmsfhm,
ZZDWFZR_LXDH as zzdwfzrLxdh,
ZUZDW_ZBR_XM as zuzdwZbrXm,
ZUZDW_ZBR_LXDH as zuzdwZbrLxdh,
ZUZDW_ZBR_GMSFHM as zuzdwZbrGmsfhm,
ZUZDW_XBR_XM1 as zuzdwXbrXm1,
ZUZDW_XBR_GMSFHM1 as zuzdwXbrGmsfhm1,
ZUZDW_XBR_LXDH1 as zuzdwXbrLxdh1,
ZUZDW_XBR_XM2 as zuzdwXbrXm2,
ZUZDW_XBR_GMSFHM2 as zuzdwXbrGmsfhm2,
ZUZDW_XBR_LXDH2 as zuzdwXbrLxdh2,
ZBR_XM as zbrXm,
ZBR_LXDH as zbrLxdh,
ZBR_GMSFHM as zbrGmsfhm,
JZAJBH as jzajbh,
JYAQ as jyaq,
GABXF as gabxf,
XXRBK_PDBZ as xxrbkPdbz,
XXRSK_PDBZ as xxrskPdbz,
DATE_FORMAT(XXRBKSJ,'%Y-%m-%d %H:%i:%S') as xxrbksj,
DATE_FORMAT(XXRSKSJ,'%Y-%m-%d %H:%i:%S') as xxrsksj,
ZADJDM as zadjdm,
AJSFXCKY_PDBZ as ajsfxckyPdbz,
ASJ_XC_QRR_GMSFHM as asjXcQrrGmsfhm,
ASJ_XC_QRR_XM as asjXcQrrXm,
DATE_FORMAT(ASJ_XC_QRSJ,'%Y-%m-%d %H:%i:%S') as asjXcQrsj,
SFWWFZ_PDBZ as sfwwfzPdbz,
SFLSJA_PDBZ as sflsjaPdbz,
PART as part,
AJYWZTDM as ajywztdm
FROM tb_st_asj
where asjbh in
<foreach collection="ListBhs" item="asjbh" open="(" separator="," close=")">
#{asjbh}
</foreach>
order by gxsj desc
</select>
<select id="getThxyrByThbh" resultType="com.founder.commonutils.model.newPublicEntity.ztypEntity.TbXwZbfzxyr" <select id="getThxyrByThbh" resultType="com.founder.commonutils.model.newPublicEntity.ztypEntity.TbXwZbfzxyr"
parameterType="com.founder.commonutils.model.newPublicEntity.ztypEntity.TbYwShseTh"> parameterType="com.founder.commonutils.model.newPublicEntity.ztypEntity.TbYwShseTh">
SELECT SELECT
...@@ -690,6 +1039,138 @@ ...@@ -690,6 +1039,138 @@
</if> </if>
</select> </select>
<select id="getThxyrByKsh" resultType="com.founder.commonutils.model.newPublicEntity.ztypEntity.TbXwZbfzxyr"
parameterType="com.founder.commonutils.model.newPublicEntity.ztypEntity.TbYwShseTh">
SELECT
XXZJBH as xxzjbh,
ASJBH as asjbh,
XXFC_PDBZ as xxfcPdbz,
ZCXSHQFS_ZCXSHQFSDM as zcxshqfsZcxshqfsdm,
ZCXSHQFS_DMBCMS as zcxshqfsDmbcms,
ZBGZCS_ZBGZCSDM as zbgzcsZbgzcsdm,
ZBGZCS_DMBCMS as zbgzcsDmbcms,
ZHFS_ZHFSDM as zhfsZhfsdm,
ZHFS_DMBCMS as zhfsDmbcms,
RSQDJHSFS_RSQDJHSFSDM as rsqdjhsfsRsqdjhsfsdm,
RSQDJHSFS_DMBCMS as rsqdjhsfsDmbcms,
DATE_FORMAT(ZHRQ,'%Y-%m-%d %H:%i:%S') as zhrq,
ZHDD_XZQHDM as zhddXzqhdm,
ZHDD_DZMC as zhddDzmc,
ZHDW_GAJGJGDM as zhdwGajgjgdm,
ZHDW_GAJGMC as zhdwGajgmc,
ZHFZXYR_ASJXGRYBH as zhfzxyrAsjxgrybh,
ZHFZXYR_FZXYRDAZTDM as zhfzxyrFzxyrdaztdm,
ZHFZXYR_RSQZCSDM as zhfzxyrRsqzcsdm,
ZHFZXYR_GTFZFZXYRSADWZYDM as zhfzxyrGtfzfzxyrsadwzydm,
(select name from sys_dictitem where GROUPID='CODE_GTFZFZXYRSADWZY_SHSE' and CODE=ZHFZXYR_GTFZFZXYRSADWZYDM) as
dwzy,
ZHFZXYR_ZTRYBH as zhfzxyrZtrybh,
ZHFZXYR_SFSZRY_PDBZ as zhfzxyrSfszryPdbz,
ZHFZXYR_SFTAZS_PDBZ as zhfzxyrSftazsPdbz,
ZHFZXYR_SFSWZT_PDBZ as zhfzxyrSfswztPdbz,
ZHFZXYR_XM as zhfzxyrXm,
ZHFZXYR_CYM as zhfzxyrCym,
ZHFZXYR_BMCH as zhfzxyrBmch,
ZHFZXYR_CYZJ_CYZJDM as zhfzxyrCyzjCyzjdm,
ZHFZXYR_CYZJ_DMBCMS as zhfzxyrCyzjDmbcms,
ZHFZXYR_CYZJ_ZJHM as zhfzxyrCyzjZjhm,
DATE_FORMAT(ZHFZXYR_CSRQ_RQGZXX,'%Y-%m-%d %H:%i:%S') as zhfzxyrCsrqRqgzxx,
DATE_FORMAT(RQGZXX_CSRQ_RQGZSX,'%Y-%m-%d %H:%i:%S') as rqgzxxCsrqRqgzsx,
ZHFZXYR_XBDM as zhfzxyrXbdm,
(select name from sys_dictitem where GROUPID='CODE_XB' and CODE=ZHFZXYR_XBDM) as xb,
ZHFZXYR_GJDM as zhfzxyrGjdm,
ZHFZXYR_JGDM as zhfzxyrJgdm,
ZHFZXYR_MZDM as zhfzxyrMzdm,
ZHFZXYR_CSD_GJHDQDM as zhfzxyrCsdGjhdqdm,
ZHFZXYR_CSD_XZQHDM as zhfzxyrCsdXzqhdm,
ZHFZXYR_CSD_DZMC as zhfzxyrCsdDzmc,
ZHFZXYR_HJDZ_XZQHDM as zhfzxyrHjdzXzqhdm,
(select name from sys_dictitem where GROUPID='CODE_XZQH' and CODE=ZHFZXYR_HJDZ_XZQHDM) as hjd,
ZHFZXYR_HJDZ_DZMC as zhfzxyrHjdzDzmc,
ZHFZXYR_XZZ_XZQHDM as zhfzxyrXzzXzqhdm,
ZHFZXYR_XZZ_DZMC as zhfzxyrXzzDzmc,
ZHFZXYR_JWZZ_GJHDQDM as zhfzxyrJwzzGjhdqdm,
ZHFZXYR_JWZZ_DZMC as zhfzxyrJwzzDzmc,
ZHFZXYR_SG as zhfzxyrSg,
ZHFZXYR_TZ as zhfzxyrTz,
ZHFZXYR_ZC as zhfzxyrZc,
ZHFZXYR_TMTZMS as zhfzxyrTmtzms,
ZHFZXYR_TBBJMS as zhfzxyrTbbjms,
ZHFZXYR_RQTTZ_JYQK as zhfzxyrRqttzJyqk,
ZHFZXYR_GZDW as zhfzxyrGzdw,
ZHFZXYR_ZJXYDM as zhfzxyrZjxydm,
ZHFZXYR_ZZMMDM as zhfzxyrZzmmdm,
ZHFZXYR_XLDM as zhfzxyrXldm,
ZHFZXYR_JYZKDM as zhfzxyrJyzkdm,
ZHFZXYR_BYZKDM as zhfzxyrByzkdm,
ZHFZXYR_ZY_ZYLBDM as zhfzxyrZyZylbdm,
ZHFZXYR_ZY_DMBCMS as zhfzxyrZyDmbcms,
ZHFZXYR_ASJXGRYSF_ASJXGRYSFDM as zhfzxyrAsjxgrysfAsjxgrysfdm,
ZHFZXYR_ASJXGRYSF_DMBCMS as zhfzxyrAsjxgrysfDmbcms,
ZHFZXYR_FZXYRTSZC_FZXYRTSZCDM as zhfzxyrFzxyrtszcFzxyrtszcdm,
ZHFZXYR_FZXYRTSZC_DMBCMS as zhfzxyrFzxyrtszcDmbcms,
ZHFZXYR_JL as zhfzxyrJl,
ZHFZXYR_GRAHJHDTD_JYQK as zhfzxyrGrahjhdtdJyqk,
ZHFZXYR_WFFZJLMS as zhfzxyrWffzjlms,
ZHFZXYR_SFYXDS_PDBZ as zhfzxyrSfyxdsPdbz,
ZHFZXYR_LYDP_SAWPDM as zhfzxyrLydpSawpdm,
ZHFZXYR_LYDP_DMBCMS as zhfzxyrLydpDmbcms,
ZHFZXYR_SFHY_PDBZ as zhfzxyrSfhyPdbz,
ZHFZXYR_DPNJSFYX_PDBZ as zhfzxyrDpnjsfyxPdbz,
ZHFZXYR_SFAZBBDXDZ_PDBZ as zhfzxyrSfazbbdxdzPdbz,
ZHFZXYR_SFZDJBHZ_PDBZ as zhfzxyrSfzdjbhzPdbz,
ZHFZXYR_SFJSBR_PDBZ as zhfzxyrSfjsbrPdbz,
ZHFZXYR_XDWP_JYQK as zhfzxyrXdwpJyqk,
ZHFZXYR_SZZWBH as zhfzxyrSzzwbh,
ZHFZXYR_RYDNABH as zhfzxyrRydnabh,
ZHFZXYR_RDFZSS_PDBZ as zhfzxyrRdfzssPdbz,
ZHFZXYR_RDFZSS_ZCXWYJMS as zhfzxyrRdfzssZcxwyjms,
ZHFZXYR_PCFZXY_PDBZ as zhfzxyrPcfzxyPdbz,
ZHFZXYR_PCFZXY_ZCXWYJMS as zhfzxyrPcfzxyZcxwyjms,
ZHFZXYR_BZ as zhfzxyrBz,
BLDW_GAJGJGDM as bldwGajgjgdm,
BLDW_GAJGMC as bldwGajgmc,
ZBR_XM as zbrXm,
ZBR_GMSFHM as zbrGmsfhm,
ZBR_LXDH as zbrLxdh,
XBR_XM as xbrXm,
XBR_GMSFHM as xbrGmsfhm,
XBR_LXDH as xbrLxdh,
DATE_FORMAT(BLSJ,'%Y-%m-%d %H:%i:%S') as blsj,
XXSC_PDBZ as xxscPdbz,
XXDJDW_GAJGJGDM as xxdjdwGajgjgdm,
XXDJDW_GAJGMC as xxdjdwGajgmc,
XXDJRY_XM as xxdjryXm,
XXDJRY_GMSFHM as xxdjryGmsfhm,
XXDJRY_LXDH as xxdjryLxdh,
DATE_FORMAT(DJSJ,'%Y-%m-%d %H:%i:%S') as djsj,
XXCZDW_GAJGJGDM as xxczdwGajgjgdm,
XXCZDW_GAJGMC as xxczdwGajgmc,
XXCZRY_XM as xxczryXm,
XXCZRY_GMSFHM as xxczryGmsfhm,
DATE_FORMAT(GXSJ,'%Y-%m-%d %H:%i:%S') as gxsj,
XXLYMS as xxlyms,
DATE_FORMAT(XXRSKSJ,'%Y-%m-%d %H:%i:%S') as xxrsksj,
DATE_FORMAT(XXRBKSJ,'%Y-%m-%d %H:%i:%S') as xxrbksj,
XXRSK_PDBZ as xxrskPdbz,
XXRBK_PDBZ as xxrbkPdbz,
GABXF as gabxf,
IF_COLLECT as ifCollect,
ZHFZXYR_LXDH as zhfzxyrLxdh,
DATE_FORMAT(ZHFZXYR_FXSJ,'%Y-%m-%d %H:%i:%S') as zhfzxyrFxsj,
ZHFZXYR_JZRYBH as zhfzxyrJzrybh,
ZHFZXYR_NLD as zhfzxyrNld,
ZHFZXYR_ZHSLXDH as zhfzxyrZhslxdh
FROM tb_xw_zbfzxyr
where zhfzxyr_cyzj_zjhm in
<foreach collection="ListBhs" item="zjhm" open="(" separator="," close=")">
#{zjhm}
</foreach>
and xxsc_pdbz = '0'
order by gxsj desc
</select>
<select id="getThxyrByThbhCount" resultType="java.lang.Integer" <select id="getThxyrByThbhCount" resultType="java.lang.Integer"
parameterType="com.founder.commonutils.model.newPublicEntity.ztypEntity.TbYwShseTh"> parameterType="com.founder.commonutils.model.newPublicEntity.ztypEntity.TbYwShseTh">
SELECT count(*) SELECT count(*)
...@@ -1655,6 +2136,16 @@ ...@@ -1655,6 +2136,16 @@
FROM tb_yw_shse_thglxyr FROM tb_yw_shse_thglxyr
where THBH = #{ thbh , jdbcType=VARCHAR } where THBH = #{ thbh , jdbcType=VARCHAR }
</select> </select>
<select id="getGroupXyrListByThbhDj"
resultType="com.founder.commonutils.model.newPublicEntity.ztypEntity.AjThKshfxPojo">
SELECT ZJHM as id,
concat('嫌疑人身份证号:',ZJHM) as name,
'person' as Type,
'group' as parentType,
#{thbh} as parentId
FROM tb_yw_shse_thglxyrdj
where THBH = #{ thbh , jdbcType=VARCHAR }
</select>
<select id="getKshConnectPhoneList" <select id="getKshConnectPhoneList"
resultType="com.founder.commonutils.model.newPublicEntity.ztypEntity.AjThKshfxPojo"> resultType="com.founder.commonutils.model.newPublicEntity.ztypEntity.AjThKshfxPojo">
select thxyr.ZJHM as parentId, select thxyr.ZJHM as parentId,
...@@ -1710,6 +2201,27 @@ ...@@ -1710,6 +2201,27 @@
</foreach> </foreach>
group by thxyr.ZJHM, asj.ASJBH, asj.AJLBDM group by thxyr.ZJHM, asj.ASJBH, asj.AJLBDM
</select> </select>
<select id="getGroupAsjListDj" resultType="com.founder.commonutils.model.newPublicEntity.ztypEntity.AjThKshfxPojo">
select thxyr.ZJHM as parentId,
'person' as parentType,
asj.ASJBH as id,
CONCAT(asj.ASJBH,(select a.name
from sys_dictitem a
where a.GROUPID = 'CODE_AJLB'
and a.CODE = asj.AJLBDM)) as name,
'asjbh' as type
from tb_yw_shse_thglxyrdj thxyr
join tb_xw_zbfzxyr zbxyr on thxyr.ZJHM = zbxyr.ZHFZXYR_CYZJ_ZJHM
join tb_st_asj asj on zbxyr.ASJBH = asj.ASJBH and asj.LARQ between DATE_FORMAT('2015-1-1','%Y-%m-%d %H:%i:%S')
and now()
where zbxyr.XXSC_PDBZ = '0' and asj.XXSC_PDBZ = '0'
and thxyr.ZJHM in
<foreach collection="fzXyrList" separator="," close=")" open="(" item="item" index="index">
#{item}
</foreach>
group by thxyr.ZJHM, asj.ASJBH, asj.AJLBDM
</select>
<select id="getkshCashAccountList" <select id="getkshCashAccountList"
resultType="com.founder.commonutils.model.newPublicEntity.ztypEntity.AjThKshfxPojo"> resultType="com.founder.commonutils.model.newPublicEntity.ztypEntity.AjThKshfxPojo">
select thxyr.ZJHM as parentId, select thxyr.ZJHM as parentId,
...@@ -1729,4 +2241,44 @@ ...@@ -1729,4 +2241,44 @@
) + ( ) + (
SELECT count( 1 ) FROM tb_yw_xsz_cbaj WHERE XXSC_PDBZ = '0' AND CBXGFWBZH = #{phoneNum})total SELECT count( 1 ) FROM tb_yw_xsz_cbaj WHERE XXSC_PDBZ = '0' AND CBXGFWBZH = #{phoneNum})total
</select> </select>
<insert id="insertThGlXYRDj" parameterType="com.founder.commonutils.model.newPublicEntity.ztypEntity.AjXyrResult">
insert into tb_yw_shse_thglxyrdj(xxzjbh, thbh, zjhm, sfzdgzyr_pdbz, hjddm, xm)
values (#{xxzjbh, jdbcType=VARCHAR},
#{thbh, jdbcType=VARCHAR},
#{zjhm, jdbcType=VARCHAR},
#{isZdgzyr, jdbcType=VARCHAR},
#{hjd, jdbcType=VARCHAR},
#{xm, jdbcType=VARCHAR})
</insert>
<insert id="insertThGlASJDj" parameterType="com.founder.commonutils.model.newPublicEntity.ztypEntity.AjQueryResult">
insert into tb_yw_shse_thglasjdj(xxzjbh, thbh, asjbh, sfjlaj_pdbz, sfxsaj_pdbz, ajmc, ladwdm, ajlbdm, larq)
VALUES (#{xxzjbh, jdbcType=VARCHAR},
#{thbh, jdbcType=VARCHAR},
#{asjbh, jdbcType=VARCHAR},
#{isNine, jdbcType=VARCHAR},
#{isXsAj, jdbcType=VARCHAR},
#{ajmc, jdbcType=VARCHAR},
#{ladwdm, jdbcType=VARCHAR},
#{ajlbdm, jdbcType=VARCHAR},
#{larq, jdbcType=DATE})
</insert>
<insert id="insertThDj" parameterType="com.founder.commonutils.model.newPublicEntity.ztypEntity.Accomplicee">
insert into tb_yw_shse_thdj(thbh, thglxyrsl, thglzdgzyrsl, thglajsl, thgljlajsl, sfsc_pdbz)
VALUES (#{thbh, jdbcType=VARCHAR},
#{xyrCount, jdbcType=DOUBLE},
#{zdgzyrCount, jdbcType=DOUBLE},
#{ajCount, jdbcType=DOUBLE},
#{jlajCount, jdbcType=DOUBLE},
'0')
</insert>
<select id="findZdmzyrByZjhm" resultType="java.lang.Integer">
select count(1)
from tb_st_rybz
where zjhm = #{zjhm,jdbcType=VARCHAR}
and xxsc_pdbz = 0
</select>
</mapper> </mapper>
...@@ -3,10 +3,6 @@ package com.founder.publicapi.service; ...@@ -3,10 +3,6 @@ package com.founder.publicapi.service;
import com.founder.commonutils.model.newPublicEntity.*; import com.founder.commonutils.model.newPublicEntity.*;
import com.founder.commonutils.model.newPublicEntity.ztypEntity.*; import com.founder.commonutils.model.newPublicEntity.ztypEntity.*;
import com.founder.commonutils.model.newPublicEntity.ztypEntity.AjQueryParam;
import com.founder.commonutils.model.newPublicEntity.ztypEntity.TbStZtypFwbsh;
import com.founder.commonutils.model.newPublicEntity.ztypEntity.ZpajxxEntity;
import com.founder.commonutils.model.newPublicEntity.ztypEntity.ZpajxxModel;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
import java.util.List; import java.util.List;
...@@ -44,6 +40,8 @@ public interface ZtypService{ ...@@ -44,6 +40,8 @@ public interface ZtypService{
void updateFwbshYp(TbStZtypFwbsh fwbsh); void updateFwbshYp(TbStZtypFwbsh fwbsh);
List<AjypFxPojo> queryAjypfxData(AjQueryParam requestParam); List<AjypFxPojo> queryAjypfxData(AjQueryParam requestParam);
Integer queryAjypfxCount(AjQueryParam requestParam); Integer queryAjypfxCount(AjQueryParam requestParam);
List<AjypFxPojo> queryAjypfxDataDj(AjQueryParam requestParam);
Integer queryAjypfxCountDj(AjQueryParam requestParam);
/** /**
* kshdata 标识号可视化 * kshdata 标识号可视化
* @param fwbsh: 标识号 * @param fwbsh: 标识号
...@@ -58,15 +56,24 @@ public interface ZtypService{ ...@@ -58,15 +56,24 @@ public interface ZtypService{
//查询团伙关联案件信息数量 //查询团伙关联案件信息数量
int getThgaByThbhCount(TbYwShseTh tbYwShseTh); int getThgaByThbhCount(TbYwShseTh tbYwShseTh);
//查询团伙关联案件信息
List<TbStAsj> getThgaByKsh(TbYwShseTh tbYwShseTh);
//查询团伙关联嫌疑人信息 //查询团伙关联嫌疑人信息
List<TbXwZbfzxyr> getThxyrByThbh(TbYwShseTh tbYwShseTh); List<TbXwZbfzxyr> getThxyrByThbh(TbYwShseTh tbYwShseTh);
//查询团伙关联嫌疑人信息
List<TbXwZbfzxyr> getThxyrByKsh(TbYwShseTh tbYwShseTh);
//查询团伙关联嫌疑人信息数量 //查询团伙关联嫌疑人信息数量
int getThxyrByThbhCount(TbYwShseTh tbYwShseTh); int getThxyrByThbhCount(TbYwShseTh tbYwShseTh);
//根据推荐的团伙信息添加犯罪团伙 //根据推荐的团伙信息添加犯罪团伙
String addFzthaj(TbYwCchshzztjb cchshzztjb, HttpServletRequest request); String addFzthaj(TbYwCchshzztjb cchshzztjb, HttpServletRequest request);
//根据可视化团伙信息添加犯罪团伙
String addFzthajKsh(TbYwCchshzztjb cchshzztjb, HttpServletRequest request);
Map<String, Object> getSjhJzxx(String phoneNum) throws Exception; Map<String, Object> getSjhJzxx(String phoneNum) throws Exception;
Map<String, Object> getSjInfo(TxxxParam txxxParam) throws Exception; Map<String, Object> getSjInfo(TxxxParam txxxParam) throws Exception;
...@@ -75,5 +82,7 @@ public interface ZtypService{ ...@@ -75,5 +82,7 @@ public interface ZtypService{
MapRestResult getThfxAccompliceBythId(String thbh, String fxwd, String commonRelationshipNum); MapRestResult getThfxAccompliceBythId(String thbh, String fxwd, String commonRelationshipNum);
MapRestResult getThfxAccompliceBythIdDj(String thbh, String fxwd, String commonRelationshipNum);
Integer judgePhone(String phoneNum); Integer judgePhone(String phoneNum);
} }
...@@ -4,13 +4,7 @@ import com.alibaba.fastjson.JSONArray; ...@@ -4,13 +4,7 @@ import com.alibaba.fastjson.JSONArray;
import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.founder.commonutils.model.newPublicEntity.*; import com.founder.commonutils.model.newPublicEntity.*;
import com.founder.commonutils.model.newPublicEntity.hnkshEntity.HnTbStRygxDTO;
import com.founder.commonutils.model.newPublicEntity.hnkshEntity.kshlinks;
import com.founder.commonutils.model.newPublicEntity.ztypEntity.*; import com.founder.commonutils.model.newPublicEntity.ztypEntity.*;
import com.founder.commonutils.model.newPublicEntity.ztypEntity.AjQueryParam;
import com.founder.commonutils.model.newPublicEntity.ztypEntity.TbStZtypFwbsh;
import com.founder.commonutils.model.newPublicEntity.ztypEntity.ZpajxxEntity;
import com.founder.commonutils.model.newPublicEntity.ztypEntity.ZpajxxModel;
import com.founder.commonutils.util.JsonUtils; import com.founder.commonutils.util.JsonUtils;
import com.founder.commonutils.util.JwtUser; import com.founder.commonutils.util.JwtUser;
import com.founder.commonutils.util.KeyUtil; import com.founder.commonutils.util.KeyUtil;
...@@ -21,11 +15,8 @@ import com.founder.publicapi.mapper.mysqlMapper.ZtypMapper; ...@@ -21,11 +15,8 @@ import com.founder.publicapi.mapper.mysqlMapper.ZtypMapper;
import com.founder.publicapi.service.ZtypService; import com.founder.publicapi.service.ZtypService;
import org.springframework.beans.BeanUtils; import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.data.mongodb.core.MongoTemplate;
import org.springframework.data.mongodb.core.query.Criteria;
import org.springframework.data.mongodb.core.query.Query;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.util.StringUtils; import org.springframework.util.StringUtils;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
...@@ -44,13 +35,7 @@ public class ZtypServiceImpl implements ZtypService { ...@@ -44,13 +35,7 @@ public class ZtypServiceImpl implements ZtypService {
TbStZtypFwbshMapper tbStZtypFwbshMapper; TbStZtypFwbshMapper tbStZtypFwbshMapper;
@Autowired @Autowired
private TbStAsjMapper tbStAsjMapper; private TbStAsjMapper tbStAsjMapper;
@Qualifier("primaryMongoTemplate")
@Autowired
MongoTemplate primaryMongoTemplate;
@Qualifier("secondMongoTemplate")
@Autowired
MongoTemplate secondMongoTemplate;
@Override @Override
public List<ZpajxxEntity> getZpajxx(ZpajxxModel model) { public List<ZpajxxEntity> getZpajxx(ZpajxxModel model) {
...@@ -102,12 +87,16 @@ public class ZtypServiceImpl implements ZtypService { ...@@ -102,12 +87,16 @@ public class ZtypServiceImpl implements ZtypService {
@Override @Override
public Map<String, Object> listFwbshYp(TbStZtypFwbsh fwbsh) { public Map<String, Object> listFwbshYp(TbStZtypFwbsh fwbsh) {
HashMap<String, Object> resultMap = new HashMap<>(); HashMap<String, Object> resultMap = new HashMap<>();
IPage<TbStZtypFwbsh> iPage; fwbsh.setPage((fwbsh.getPage()-1)*fwbsh.getLimit());
List<TbStZtypFwbsh> rows; List<TbStZtypFwbsh> iPage;
int count = 0;
List<String> fwbshlb = new ArrayList<>();
if ("personid".equals(fwbsh.getFwbshLb())) { if ("personid".equals(fwbsh.getFwbshLb())) {
iPage = tbStZtypFwbshMapper.selectSfzPageByFwbsh(new Page<>(fwbsh.getPage(), fwbsh.getLimit()), fwbsh); fwbshlb.add("16");
rows = iPage.getRecords(); fwbsh.setBshlb(fwbshlb);
rows.stream().parallel().forEach(item -> { iPage = tbStZtypFwbshMapper.selectPageByFwbsh(fwbsh);
count = tbStZtypFwbshMapper.selectPageByFwbshCount(fwbsh);
iPage.stream().parallel().forEach(item -> {
//查询全国涉案数量 TODO @author: lystar //查询全国涉案数量 TODO @author: lystar
item.setQgajCount(0); item.setQgajCount(0);
//查询全省涉案数量 //查询全省涉案数量
...@@ -117,17 +106,28 @@ public class ZtypServiceImpl implements ZtypService { ...@@ -117,17 +106,28 @@ public class ZtypServiceImpl implements ZtypService {
}); });
} else { } else {
//查询QQ、微信、手机号、车牌号、银行卡 //查询QQ、微信、手机号、车牌号、银行卡
iPage = tbStZtypFwbshMapper.selectPageByFwbsh(new Page<>(fwbsh.getPage(), fwbsh.getLimit()), fwbsh); if("mobile".equals(fwbsh.getFwbshLb())){
rows = iPage.getRecords(); fwbshlb.add("01");
rows.stream().parallel().forEach(item -> { }else if("yhkh".equals(fwbsh.getFwbshLb())){
fwbshlb.add("04");
}else if("carid".equals(fwbsh.getFwbshLb())){
fwbshlb.add("22");
}else if("99".equals(fwbsh.getFwbshLb())){
fwbshlb.add("12");
fwbshlb.add("13");
}
fwbsh.setBshlb(fwbshlb);
iPage = tbStZtypFwbshMapper.selectPageByFwbsh(fwbsh);
count = tbStZtypFwbshMapper.selectPageByFwbshCount(fwbsh);
iPage.stream().parallel().forEach(item -> {
//查询全省涉案数量 //查询全省涉案数量
item.setQsajCount(tbStZtypFwbshMapper.selectAjCountByHm(item.getFwbshHm(), null)); item.setQsajCount(tbStZtypFwbshMapper.selectAjCountByHm(item.getFwbshHm(), null));
//查询相关线索数量 //查询相关线索数量
item.setGlxsCount(tbStZtypFwbshMapper.selectXgxsCountByHm(item.getFwbshHm())); item.setGlxsCount(tbStZtypFwbshMapper.selectXgxsCountByHm(item.getFwbshHm()));
}); });
} }
resultMap.put("rows", rows); resultMap.put("rows", iPage);
resultMap.put("total", iPage.getTotal()); resultMap.put("total", count);
return resultMap; return resultMap;
} }
...@@ -151,10 +151,29 @@ public class ZtypServiceImpl implements ZtypService { ...@@ -151,10 +151,29 @@ public class ZtypServiceImpl implements ZtypService {
} }
@Override @Override
public List<AjypFxPojo> queryAjypfxDataDj(AjQueryParam requestParam) {
List<AjypFxPojo> records = ztypMapper.queryAjypfxDataDj(requestParam);
if (records.size() > 0) {
setThNames(records);
String fxwd = requestParam.getFxwd();
if (org.springframework.util.StringUtils.hasText(fxwd)) {
int commonRelationshipNum = Integer.valueOf(requestParam.getCommonRelationshipNum());
setThPhoneAndIpAndCashNum(records, fxwd, commonRelationshipNum);
}
}
return records;
}
@Override
public Integer queryAjypfxCount(AjQueryParam requestParam) { public Integer queryAjypfxCount(AjQueryParam requestParam) {
return ztypMapper.queryAjypfxCount(requestParam); return ztypMapper.queryAjypfxCount(requestParam);
} }
@Override
public Integer queryAjypfxCountDj(AjQueryParam requestParam) {
return ztypMapper.queryAjypfxCountDj(requestParam);
}
private void setThNames(List<AjypFxPojo> records) { private void setThNames(List<AjypFxPojo> records) {
int startNum = 1; int startNum = 1;
Set<String> thSetList = new HashSet<>(); Set<String> thSetList = new HashSet<>();
...@@ -326,7 +345,7 @@ public class ZtypServiceImpl implements ZtypService { ...@@ -326,7 +345,7 @@ public class ZtypServiceImpl implements ZtypService {
} }
// 查询人员手机和相关信息线程 // 查询人员手机和相关信息线程
class Phone extends Thread { /* class Phone extends Thread {
String value; String value;
void setValue(String zjbh) { void setValue(String zjbh) {
...@@ -337,21 +356,8 @@ public class ZtypServiceImpl implements ZtypService { ...@@ -337,21 +356,8 @@ public class ZtypServiceImpl implements ZtypService {
public void run() { public void run() {
List<String> listResult = new ArrayList<>(); List<String> listResult = new ArrayList<>();
try { try {
//身份证号查询出来车牌号还有手机号 String phone = "15754879533";// 模拟接口
Query queryPhone = new Query(); listResult.add(phone);
// 身份证查询手机号码
queryPhone.addCriteria(Criteria.where("cecoS").is(value));
Integer page=1;
// 设置分页
queryPhone.skip((page - 1) * 200).limit(200);
// 列表查询
ArrayList<PeopleInfo> peopleInfos = new ArrayList<>();
List<Mobilereg> mobileregList = secondMongoTemplate.find(queryPhone, Mobilereg.class,"wb0017mobilereg");
if (mobileregList != null && mobileregList.size() > 0) {
for (Mobilereg mobilereg : mobileregList) {
listResult.add(mobilereg.getMsis());
}
}
if (listResult == null) { if (listResult == null) {
listResult = new ArrayList<>(); listResult = new ArrayList<>();
} }
...@@ -398,21 +404,8 @@ public class ZtypServiceImpl implements ZtypService { ...@@ -398,21 +404,8 @@ public class ZtypServiceImpl implements ZtypService {
public void run() { public void run() {
List<String> listResult = new ArrayList<>(); List<String> listResult = new ArrayList<>();
try { try {
// 身份证查车 String phone = "蒙AKH824";// 模拟接口
Query queryCar = new Query(); listResult.add(phone);
List<Carowner> CarownerList = new ArrayList<>();
queryCar.addCriteria(Criteria.where("ceco").is(value));
Integer page=1;
// 设置分页
queryCar.skip((page - 1) * 200).limit(200);
// 列表查询
CarownerList = primaryMongoTemplate.find(queryCar, Carowner.class,"wb0099carowner");
if (CarownerList != null && CarownerList.size() > 0) {
for (Carowner carowner : CarownerList) {
listResult.add(carowner.getVeco());
}
}
if (listResult == null) { if (listResult == null) {
listResult = new ArrayList<>(); listResult = new ArrayList<>();
} }
...@@ -446,7 +439,7 @@ public class ZtypServiceImpl implements ZtypService { ...@@ -446,7 +439,7 @@ public class ZtypServiceImpl implements ZtypService {
} }
} }
} }*/
// 查询人员银行卡号 // 查询人员银行卡号
class Yhkh extends Thread { class Yhkh extends Thread {
...@@ -516,7 +509,7 @@ public class ZtypServiceImpl implements ZtypService { ...@@ -516,7 +509,7 @@ public class ZtypServiceImpl implements ZtypService {
} }
// 查询人员同户关系 // 查询人员同户关系
class Thgx extends Thread { /*class Thgx extends Thread {
String value; String value;
void setValue(String zjbh) { void setValue(String zjbh) {
...@@ -561,7 +554,7 @@ public class ZtypServiceImpl implements ZtypService { ...@@ -561,7 +554,7 @@ public class ZtypServiceImpl implements ZtypService {
e.printStackTrace(); e.printStackTrace();
} }
} }
} }*/
// 查询人员同案关系 // 查询人员同案关系
class Tagx extends Thread { class Tagx extends Thread {
...@@ -612,13 +605,13 @@ public class ZtypServiceImpl implements ZtypService { ...@@ -612,13 +605,13 @@ public class ZtypServiceImpl implements ZtypService {
ra.setValue(zjhm); ra.setValue(zjhm);
cachedThreadPool.execute(ra); cachedThreadPool.execute(ra);
Phone phone = new Phone(); /* Phone phone = new Phone();
phone.setValue(zjhm); phone.setValue(zjhm);
cachedThreadPool.execute(phone); cachedThreadPool.execute(phone);*/
Car car = new Car(); /* Car car = new Car();
car.setValue(zjhm); car.setValue(zjhm);
cachedThreadPool.execute(car); cachedThreadPool.execute(car);*/
Yhkh yhkh = new Yhkh(); Yhkh yhkh = new Yhkh();
yhkh.setValue(zjhm); yhkh.setValue(zjhm);
...@@ -966,6 +959,11 @@ public class ZtypServiceImpl implements ZtypService { ...@@ -966,6 +959,11 @@ public class ZtypServiceImpl implements ZtypService {
} }
@Override @Override
public List<TbStAsj> getThgaByKsh(TbYwShseTh tbYwShseTh) {
return ztypMapper.getThgaByKsh(tbYwShseTh);
}
@Override
public List<TbXwZbfzxyr> getThxyrByThbh(TbYwShseTh tbYwShseTh) { public List<TbXwZbfzxyr> getThxyrByThbh(TbYwShseTh tbYwShseTh) {
tbYwShseTh.setPage((tbYwShseTh.getPage()-1)*tbYwShseTh.getLimit()); tbYwShseTh.setPage((tbYwShseTh.getPage()-1)*tbYwShseTh.getLimit());
tbYwShseTh.setLimit(tbYwShseTh.getLimit()); tbYwShseTh.setLimit(tbYwShseTh.getLimit());
...@@ -973,110 +971,130 @@ public class ZtypServiceImpl implements ZtypService { ...@@ -973,110 +971,130 @@ public class ZtypServiceImpl implements ZtypService {
} }
@Override @Override
public List<TbXwZbfzxyr> getThxyrByKsh(TbYwShseTh tbYwShseTh) {
return ztypMapper.getThxyrByKsh(tbYwShseTh);
}
@Override
public int getThxyrByThbhCount(TbYwShseTh tbYwShseTh) { public int getThxyrByThbhCount(TbYwShseTh tbYwShseTh) {
return ztypMapper.getThxyrByThbhCount(tbYwShseTh); return ztypMapper.getThxyrByThbhCount(tbYwShseTh);
} }
@Override @Override
public String addFzthaj(TbYwCchshzztjb cchshzztjb, HttpServletRequest request) { public String addFzthaj(TbYwCchshzztjb cchshzztjb, HttpServletRequest request) {
String xxzjbh = KeyUtil.getUUIDKey("th"); String thbh = KeyUtil.getUUIDKey("th");
cchshzztjb.setXxzjbh(xxzjbh);
String laAjlbdm = cchshzztjb.getLaAjlbdm();
if (!StringUtils.isEmpty(laAjlbdm)) {
if ("06012500".equals(laAjlbdm)||"06012600".equals(laAjlbdm)||"06012700".equals(laAjlbdm)) {
cchshzztjb.setShsedm("0");
}else if ("00000000".equals(laAjlbdm)){
cchshzztjb.setShsedm("1");
}else if ("11111111".equals(laAjlbdm)){
cchshzztjb.setShsedm("3");
}
}
ztypMapper.addCchshzztjb(cchshzztjb);
TbYwShseTh shseTh = new TbYwShseTh(); TbYwShseTh shseTh = new TbYwShseTh();
shseTh.setThbh(cchshzztjb.getThbh()); shseTh.setThbh(cchshzztjb.getThbh());
List<TbStAsj> asj = ztypMapper.getThgaByThbh(shseTh); List<TbStAsj> asjbhList = ztypMapper.getThgaByThbh(shseTh);
List<TbXwLaShse> laShseList = new ArrayList<>(); List<TbXwLaShse> laShseList = new ArrayList<>();
if (asj != null && asj.size()>0) { List<TbXwZbfzxyr> zjhmList = ztypMapper.getThxyrByThbh(shseTh);
for (TbStAsj tbStAsj : asj) {
String laxxzjbh = KeyUtil.getUUIDKey("la");
TbXwLaShse laShse = new TbXwLaShse();
laShse.setXxzjbh(laxxzjbh);
laShse.setAsjbh(tbStAsj.getAsjbh());
laShse.setXckybh(tbStAsj.getXckybh());
laShse.setGlxxXxzjbh(xxzjbh);
laShse.setLaAjmc(tbStAsj.getAjmc());
laShse.setSfxsaj("1");
laShse.setLaAjlbdm(tbStAsj.getAjlbdm());
laShse.setLaZatzJyqk(tbStAsj.getAjxz());
laShse.setTssddm(tbStAsj.getTssddm());
laShse.setLaAsjfssjAsjfskssj(getDateString(tbStAsj.getAsjfssjfxAsjfskssj()));
laShse.setLaAsjfssjAsjfsjssj(getDateString(tbStAsj.getAsjfssjfxAsjfsjssj()));
laShse.setLaAsjfsddXzqhdm(tbStAsj.getAsjfsddXzqhdm());
laShse.setLaAsjfsddDzmc(tbStAsj.getAsjfsddXzqhmc());
laShse.setLarq(getDateString(tbStAsj.getLarq()));
laShse.setLadwGajgjgdm(tbStAsj.getLadwGajgjgdm());
laShse.setLaJyaq(tbStAsj.getJyaq());
laShse.setGajgfzrXm(tbStAsj.getGajgfzrXm());
laShse.setGajgfzrGmsfhm(tbStAsj.getGajgfzrGmsfhm());
laShse.setGajgfzrLxdh(tbStAsj.getGajgfzrLxdh());
laShse.setXbrXm(tbStAsj.getXbrXm());
laShse.setXbrGmsfhm(tbStAsj.getXbrGmsfhm());
laShse.setXbrLxdh(tbStAsj.getXbrLxdh());
laShse.setDjUser(JwtUser.getUser(request));
laShseList.add(laShse);
}
}
List<TbXwZbfzxyr> xyr = ztypMapper.getThxyrByThbh(shseTh);
List<TbXwZbfzxyrShse> xyrList = new ArrayList<>(); List<TbXwZbfzxyrShse> xyrList = new ArrayList<>();
if (xyr != null && xyr.size()>0) { int jlajCount = 0;
for (TbXwZbfzxyr tbXwZbfzxyr : xyr) { int zdgzyrCount = 0;
TbXwZbfzxyrShse zbxyrShse = new TbXwZbfzxyrShse(); // 团伙案件登记表新增
BeanUtils.copyProperties(tbXwZbfzxyr, zbxyrShse); asjbhList.stream().forEach(aj->{
zbxyrShse.setDjUser(JwtUser.getUser(request)); String xxzjbh = KeyUtil.getUUIDKey("xx");
zbxyrShse.setGlxxXxzjbh(xxzjbh); AjQueryResult ajQueryResult = new AjQueryResult();
xyrList.add(zbxyrShse); ajQueryResult.setXxzjbh(xxzjbh);
ajQueryResult.setThbh(thbh);
ajQueryResult.setAsjbh(aj.getAsjbh());
ajQueryResult.setAjlbdm(aj.getAjlbdm());
ajQueryResult.setAjmc(aj.getAjmc());
ajQueryResult.setLadwdm(aj.getLadwGajgjgdm());
ajQueryResult.setLarq(aj.getLarq());
ajQueryResult.setIsXsAj("1");
if(Arrays.asList("03080700","04000900","05001000","05001100","05001100","06012300","06012400","06013900","06080100","06080200").contains(aj.getAjlbdm())){
ajQueryResult.setIsNine("1");
}else{
ajQueryResult.setIsNine("0");
} }
} ztypMapper.insertThGlASJDj(ajQueryResult);
//线索关联嫌疑人 });
TbYwXshbXsglxyr xshbXsglxyr = new TbYwXshbXsglxyr(); // 团伙嫌疑人登记表新增
xshbXsglxyr.setXsbh(cchshzztjb.getThbh()); zjhmList.stream().forEach(zj->{
List<TbYwXshbXsglxyr> xsglxyrList = ztypMapper.getXyrListPage(xshbXsglxyr); String xxzjbh = KeyUtil.getUUIDKey("xx");
if (xsglxyrList != null && xsglxyrList.size()>0) { AjXyrResult ajXyrResultt = new AjXyrResult();
for (TbYwXshbXsglxyr xsglxyr : xsglxyrList) { Integer zdryCount = ztypMapper.findZdmzyrByZjhm(zj.getZhfzxyrCyzjZjhm());
TbXwZbfzxyrShse zbxyrShse = new TbXwZbfzxyrShse(); if (zdryCount != null && zdryCount > 0) {
zbxyrShse.setZhfzxyrXm(xsglxyr.getXm()); ajXyrResultt.setIsZdgzyr("1");
zbxyrShse.setZhfzxyrXbdm(xsglxyr.getXbdm());
zbxyrShse.setRqgzxxCsrqRqgzsx(xsglxyr.getCsrq());
zbxyrShse.setZhfzxyrCsrqRqgzxx(xsglxyr.getCsrq());
zbxyrShse.setZhfzxyrCyzjZjhm(xsglxyr.getGmsfzh());
zbxyrShse.setZhfzxyrXzzXzqhdm(xsglxyr.getXzzXzqhdm());
zbxyrShse.setZhfzxyrXzzDzmc(xsglxyr.getXzzDzmc());
zbxyrShse.setZhfzxyrHjdzXzqhdm(xsglxyr.getHjdzXzqhdm());
zbxyrShse.setZhfzxyrHjdzDzmc(xsglxyr.getHjdzDzmc());
zbxyrShse.setAsjbh(xsglxyr.getXsbh());
zbxyrShse.setXxzjbh(xsglxyr.getXxzjbh());
zbxyrShse.setDjUser(JwtUser.getUser(request));
zbxyrShse.setGlxxXxzjbh(xxzjbh);
xyrList.add(zbxyrShse);
} }
} ajXyrResultt.setThbh(thbh);
ajXyrResultt.setXxzjbh(xxzjbh);
ajXyrResultt.setHjd(zj.getHjd());
ajXyrResultt.setXm(zj.getZhfzxyrXm());
ajXyrResultt.setZjhm(zj.getZhfzxyrCyzjZjhm());
ztypMapper.insertThGlXYRDj(ajXyrResultt);
});
// 团伙登记表新增
Accomplicee accomplicee = new Accomplicee();
accomplicee.setThbh(thbh);
accomplicee.setAjCount(asjbhList.size());
accomplicee.setXyrCount(zjhmList.size());
accomplicee.setJlajCount(jlajCount);
accomplicee.setZdgzyrCount(zdgzyrCount);
ztypMapper.insertThDj(accomplicee);
return thbh;
}
new Thread(new Runnable() { @Transactional
@Override @Override
public void run() { public String addFzthajKsh(TbYwCchshzztjb cchshzztjb, HttpServletRequest request) {
if (laShseList != null && laShseList.size()>0){ String thbh = KeyUtil.getUUIDKey("th");
for (TbXwLaShse laShse:laShseList) { // 案件集合
ztypMapper.addLaShse(laShse); List<String> listAsjbhs = cchshzztjb.getAsjbhList();
} TbYwShseTh tbYwShseTh = new TbYwShseTh();
} tbYwShseTh.setListBhs(listAsjbhs);
if (xyrList != null && xyrList.size()>0){ List<TbStAsj> asjbhList = ztypMapper.getThgaByKsh(tbYwShseTh);
for (TbXwZbfzxyrShse zbfzxyrShse:xyrList) { // 嫌疑人集合
ztypMapper.addZbfzxyrShse(zbfzxyrShse); List<String> listZjbhs = cchshzztjb.getZjhmList();
} TbYwShseTh tbYwShseThXyr = new TbYwShseTh();
} tbYwShseThXyr.setListBhs(listZjbhs);
List<TbXwZbfzxyr> zjhmList = ztypMapper.getThxyrByKsh(tbYwShseThXyr);
int jlajCount = 0;
int zdgzyrCount = 0;
// 团伙案件登记表新增
asjbhList.stream().forEach(aj->{
String xxzjbh = KeyUtil.getUUIDKey("xx");
AjQueryResult ajQueryResult = new AjQueryResult();
ajQueryResult.setXxzjbh(xxzjbh);
ajQueryResult.setThbh(thbh);
ajQueryResult.setAsjbh(aj.getAsjbh());
ajQueryResult.setAjlbdm(aj.getAjlbdm());
ajQueryResult.setAjmc(aj.getAjmc());
ajQueryResult.setLadwdm(aj.getLadwGajgjgdm());
ajQueryResult.setLarq(aj.getLarq());
ajQueryResult.setIsXsAj("1");
if(Arrays.asList("03080700","04000900","05001000","05001100","05001100","06012300","06012400","06013900","06080100","06080200").contains(aj.getAjlbdm())){
ajQueryResult.setIsNine("1");
}else{
ajQueryResult.setIsNine("0");
}
ztypMapper.insertThGlASJDj(ajQueryResult);
});
// 团伙嫌疑人登记表新增
zjhmList.stream().forEach(zj->{
String xxzjbh = KeyUtil.getUUIDKey("xx");
AjXyrResult ajXyrResultt = new AjXyrResult();
Integer zdryCount = ztypMapper.findZdmzyrByZjhm(zj.getZhfzxyrCyzjZjhm());
if (zdryCount != null && zdryCount > 0) {
ajXyrResultt.setIsZdgzyr("1");
} }
}).start(); ajXyrResultt.setThbh(thbh);
return xxzjbh; ajXyrResultt.setXxzjbh(xxzjbh);
ajXyrResultt.setHjd(zj.getHjd());
ajXyrResultt.setXm(zj.getZhfzxyrXm());
ajXyrResultt.setZjhm(zj.getZhfzxyrCyzjZjhm());
ztypMapper.insertThGlXYRDj(ajXyrResultt);
});
// 团伙登记表新增
Accomplicee accomplicee = new Accomplicee();
accomplicee.setThbh(thbh);
accomplicee.setAjCount(asjbhList.size());
accomplicee.setXyrCount(zjhmList.size());
accomplicee.setJlajCount(jlajCount);
accomplicee.setZdgzyrCount(zdgzyrCount);
ztypMapper.insertThDj(accomplicee);
return thbh;
} }
@Override @Override
...@@ -1594,6 +1612,166 @@ public class ZtypServiceImpl implements ZtypService { ...@@ -1594,6 +1612,166 @@ public class ZtypServiceImpl implements ZtypService {
ksjResultPojo.setLinks(links); ksjResultPojo.setLinks(links);
return new MapRestResult(200, "可视化结果获取成功", 1, ksjResultPojo); return new MapRestResult(200, "可视化结果获取成功", 1, ksjResultPojo);
} }
@Override
public MapRestResult getThfxAccompliceBythIdDj(String thbh, String fxwd, String commonRelationshipNum) {
KsjResultPojo ksjResultPojo = new KsjResultPojo();// 最终对象数据
List<KsjResultPojo.Nodes> nodes = new ArrayList<>();// 存储所有节点去重后数据
List<KsjResultPojo.Links> links = new ArrayList<>();// 存储所有节点关系
StringBuilder sb = new StringBuilder();
String thName = sb.append("团伙代号:").append(thbh).toString();
sb.delete(0, sb.length());
// 团伙编号加入节点
KsjResultPojo.Nodes node = new KsjResultPojo.Nodes();
node.setId(thbh);
node.setLabel(thName);
KsjResultPojo.Nodes.Properties properties = new KsjResultPojo.Nodes.Properties();
BeanUtils.copyProperties(node, properties);
properties.setBoderColor("#FA0505");// 高亮
properties.setImgType("idcard");// 图标
node.setProperties(properties);
nodes.add(node);
List<AjThKshfxPojo> groupXyrList = ztypMapper.getGroupXyrListByThbhDj(thbh);
if (groupXyrList != null && groupXyrList.size() > 0) {
List<String> fzxyrStrList = new ArrayList<>();
for (AjThKshfxPojo xyrItem : groupXyrList) {
fzxyrStrList.add(xyrItem.getId());
List<AjThKshfxPojo> childList = new ArrayList<>();
xyrItem.setChildren(childList);
}
List<AjThKshfxPojo> groupAsjList = ztypMapper.getGroupAsjListDj(fzxyrStrList);
for (AjThKshfxPojo xyrItem : groupXyrList) {
for (AjThKshfxPojo asjItem : groupAsjList) {
if (asjItem.getParentId().equals(xyrItem.getId())) {
// 组装去重数据
KsjResultPojo.Nodes nodeXyr = new KsjResultPojo.Nodes();
nodeXyr.setId(xyrItem.getId());
nodeXyr.setLabel(xyrItem.getName());
KsjResultPojo.Nodes.Properties propertiesXyr = new KsjResultPojo.Nodes.Properties();
BeanUtils.copyProperties(nodeXyr, propertiesXyr);
propertiesXyr.setBoderColor("");// 高亮
propertiesXyr.setImgType("idcard");// 图标
nodeXyr.setProperties(propertiesXyr);
nodes.add(nodeXyr);
// 组装去重数据
KsjResultPojo.Nodes nodeAj = new KsjResultPojo.Nodes();
nodeAj.setId(asjItem.getId());
nodeAj.setLabel(asjItem.getName());
KsjResultPojo.Nodes.Properties propertiesAj = new KsjResultPojo.Nodes.Properties();
BeanUtils.copyProperties(nodeAj, propertiesAj);
propertiesAj.setBoderColor("");// 高亮
propertiesAj.setImgType("aj");// 图标
nodeAj.setProperties(propertiesAj);
nodes.add(nodeAj);
// 组装关系数据
KsjResultPojo.Links linkTh = new KsjResultPojo.Links();
linkTh.setSource(thbh);
linkTh.setTarget(xyrItem.getId());
linkTh.setLabel("团伙");
KsjResultPojo.Links.Properties propertiesTh = new KsjResultPojo.Links.Properties();
BeanUtils.copyProperties(linkTh, propertiesTh);
linkTh.setProperties(propertiesTh);
links.add(linkTh);
// 组装关系数据
KsjResultPojo.Links linkAj = new KsjResultPojo.Links();
linkAj.setSource(xyrItem.getId());
linkAj.setTarget(asjItem.getId());
linkAj.setLabel("人案");
KsjResultPojo.Links.Properties propertiesAjs = new KsjResultPojo.Links.Properties();
BeanUtils.copyProperties(linkAj, propertiesAjs);
linkAj.setProperties(propertiesAjs);
links.add(linkAj);
}
}
}
List<AjThKshfxPojo> kshConnectAll = new ArrayList<>();
if (fxwd.contains("01")) {
kshConnectAll = ztypMapper.getKshConnectPhoneList(thbh);
}
if (fxwd.contains("02")) {
kshConnectAll = ztypMapper.getkshConnectIpList(thbh);
}
if (fxwd.contains("03")) {
kshConnectAll = ztypMapper.getkshCashAccountList(thbh);
}
if(kshConnectAll.size()>0){
Map<String, Integer> commonChildMap = new HashMap<>(256);
for (AjThKshfxPojo commonChild : kshConnectAll) {
if (org.springframework.util.StringUtils.hasText(commonChild.getId())) {
String childNodeId = commonChild.getId();
if (commonChildMap.get(childNodeId) != null && commonChildMap.get(childNodeId) > 0) {
commonChildMap.put(childNodeId, commonChildMap.get(childNodeId) + 1);
} else {
commonChildMap.put(childNodeId, 1);
}
}
}
List<String> validDataList = new ArrayList<>();
for (Map.Entry<String, Integer> entry : commonChildMap.entrySet()) {
if (org.springframework.util.StringUtils.hasText(entry.getKey()) && entry.getValue() >= Integer.valueOf(commonRelationshipNum)) {
validDataList.add(entry.getKey());
}
}
if (validDataList.size() > 0) {
List<AjThKshfxPojo> validDataPojoList = new ArrayList<>();
for (String validPhone : validDataList) {
for (AjThKshfxPojo kshPhone : kshConnectAll) {
if (validPhone.equals(kshPhone.getId())) {
validDataPojoList.add(kshPhone);
}
}
}
if (validDataPojoList.size() > 0) {
for (AjThKshfxPojo kshPhone : validDataPojoList) {
for (AjThKshfxPojo perItem : groupXyrList) {
if (kshPhone.getParentId().equals(perItem.getId())) {
// 组装去重数据
KsjResultPojo.Nodes nodePhone = new KsjResultPojo.Nodes();
nodePhone.setId(kshPhone.getId());
nodePhone.setLabel(kshPhone.getName());
KsjResultPojo.Nodes.Properties propertiesPhone = new KsjResultPojo.Nodes.Properties();
BeanUtils.copyProperties(nodePhone, propertiesPhone);
propertiesPhone.setBoderColor("");// 高亮
propertiesPhone.setImgType("sjk");// 图标
nodePhone.setProperties(propertiesPhone);
nodes.add(nodePhone);
// 组装去重数据
KsjResultPojo.Nodes nodeZjhm = new KsjResultPojo.Nodes();
nodeZjhm.setId(perItem.getId());
nodeZjhm.setLabel(perItem.getName());
KsjResultPojo.Nodes.Properties propertiesZjhm = new KsjResultPojo.Nodes.Properties();
BeanUtils.copyProperties(nodeZjhm, propertiesZjhm);
propertiesZjhm.setBoderColor("");// 高亮
propertiesZjhm.setImgType("idcard");// 图标
nodeZjhm.setProperties(propertiesZjhm);
nodes.add(nodeZjhm);
// 组装关系数据
KsjResultPojo.Links linkAj = new KsjResultPojo.Links();
linkAj.setSource(perItem.getId());
linkAj.setTarget(kshPhone.getId());
linkAj.setLabel("关联");
KsjResultPojo.Links.Properties propertiesAjs = new KsjResultPojo.Links.Properties();
BeanUtils.copyProperties(linkAj, propertiesAjs);
linkAj.setProperties(propertiesAjs);
links.add(linkAj);
}
}
}
}
}
}
}
List<KsjResultPojo.Nodes> nodesDistinct = nodes.stream()
.collect(Collectors.collectingAndThen(Collectors.toCollection(
() -> new TreeSet<>(Comparator.comparing(KsjResultPojo.Nodes::getId))), ArrayList::new));
ksjResultPojo.setNodes(nodesDistinct);
ksjResultPojo.setLinks(links);
return new MapRestResult(200, "可视化结果获取成功", 1, ksjResultPojo);
}
private int getAsjxxListCount(String phoneNum){ private int getAsjxxListCount(String phoneNum){
return ztypMapper.getAsjxxListCount(phoneNum); return ztypMapper.getAsjxxListCount(phoneNum);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment