Commit fea4dbe6 by yangyang

湖南相关(湖南)

parent 475241af
......@@ -52,7 +52,7 @@ public class ZtypController {
if(total>0){
list = ztypService.getZpajxx(model);
}
return com.founder.commonutils.model.newPublicEntity.ztypEntity.R.ok().total(total).rows(list);
return R.ok().total(total).rows(list);
}
@OperLog(message = "主题研判_人员研判新增",operation = OperationType.QUERY)
......
......@@ -110,4 +110,6 @@ public interface ZtypMapper {
void insertThDj(Accomplicee accomplicee);
Integer findZdmzyrByZjhm(String zjhm);
ZpajxxEntity getZpAsjBshxx(String asjbh);
}
......@@ -44,7 +44,6 @@
<if test="fwbsh.xxdjryXm != null and fwbsh.xxdjryXm != ''">
and '系统' like concat('%',#{fwbsh.xxdjryXm,jdbcType=VARCHAR},'%')
</if>
order by djsj desc
limit #{fwbsh.page},#{fwbsh.limit}
</select>
......@@ -78,7 +77,6 @@
from tb_st_ztyp_fwbsh
where XXSC_PDBZ = '0'
<include refid="fwbsh-queryParam"/>
order by djsj desc
</select>
<select id="selectAjCountByHm" resultType="java.lang.Integer">
select count(1)
......@@ -282,22 +280,6 @@
</foreach>
</if>
group by ZHFZXYR_CYZJ_ZJHM
union
select KYXSRY_ZJHM as id,
'可疑人员:' || KYXSRY_ZJHM as name,
'person' as type,
'可疑人员' as value,
#{asjbh,jdbcType=VARCHAR} as parentId
from tb_xw_kyxs_ry
where XXSC_PDBZ = '0'
and asjbh = #{asjbh,jdbcType=VARCHAR}
<if test="zjhms != null">
and KYXSRY_ZJHM not in
<foreach collection="zjhms" item="zjhm" open="(" separator="," close=")">
#{zjhm,jdbcType=VARCHAR}
</foreach>
</if>
group by KYXSRY_ZJHM
</select>
<select id="getTarByZjhm" resultType="java.util.Map">
select distinct ZHFZXYR_CYZJ_ZJHM as ZJHM,
......
......@@ -12,14 +12,9 @@
resultType="com.founder.commonutils.model.newPublicEntity.ztypEntity.ZpajxxEntity">
select a.asjbh asjbh,
a.ajmc ajmc,
(select name from sys_dictitem where groupid = 'CODE_AJXZ' and code = a.ZATZ_JYQK) zatzJyqk,
group_concat(case ASJXGFWBZH_FWBZH_FWBZHLBDM when '01' then h.ASJXGFWBZH_FWBZH end) mobile,
group_concat(case ASJXGFWBZH_FWBZH_FWBZHLBDM when '04' then h.ASJXGFWBZH_FWBZH end) yhkh,
group_concat(case ASJXGFWBZH_FWBZH_FWBZHLBDM when '13' then h.ASJXGFWBZH_FWBZH end) wx,
group_concat(case ASJXGFWBZH_FWBZH_FWBZHLBDM when '16' then h.ASJXGFWBZH_FWBZH end) personid
from tb_st_asj a ,tb_xw_asjxgfwbzh h
where a.asjbh = h.asjbh
and a.AJLBDM = '05000300'
(select name from sys_dictitem where groupid = 'CODE_AJXZ' and code = a.ZATZ_JYQK) zatzJyqk
from tb_st_asj a
where a.AJLBDM = '05000300'
and a.ZATZ_JYQK not like '0500030002%'
and a.XXSC_PDBZ = 0
<if test="asjbh != null and asjbh != '' ">
......@@ -28,16 +23,14 @@
<if test="ajmc != null and ajmc != '' ">
and a.ajmc like concat('%', #{ajmc} ,'%')
</if>
group by a.asjbh, a.ajmc, a.ZATZ_JYQK
limit #{page}, #{limit}
</select>
<select id="getZpajxxTotal" parameterType="com.founder.commonutils.model.newPublicEntity.ztypEntity.ZpajxxModel"
resultType="java.lang.Integer">
select count(distinct a.asjbh)
from tb_st_asj a ,tb_xw_asjxgfwbzh h
where a.asjbh = h.asjbh
and a.AJLBDM = '05000300' and a.ZATZ_JYQK not like '0500030002%' and a.XXSC_PDBZ = 0
select count(*)
from tb_st_asj a
where a.AJLBDM = '05000300' and a.ZATZ_JYQK not like '0500030002%' and a.XXSC_PDBZ = 0
<if test="asjbh != null and asjbh != '' ">
and a.asjbh like concat('%', #{asjbh} ,'%')
</if>
......@@ -52,7 +45,6 @@
from tb_st_ztyp_fwbsh
where XXSC_PDBZ = '0'
<include refid="fwbsh-queryParam"/>
order by djsj desc
</select>
<select id="selectSfzPageByFwbsh"
resultType="com.founder.commonutils.model.newPublicEntity.ztypEntity.TbStZtypFwbsh">
......@@ -61,7 +53,6 @@
from tb_st_ztyp_fwbsh
where XXSC_PDBZ = '0'
<include refid="fwbsh-queryParam"/>
order by djsj desc
</select>
<select id="selectAjCountByHm" resultType="java.lang.Integer">
select count(1)
......@@ -2278,4 +2269,14 @@
where zjhm = #{zjhm,jdbcType=VARCHAR}
and xxsc_pdbz = 0
</select>
<select id="getZpAsjBshxx" parameterType="java.lang.String"
resultType="com.founder.commonutils.model.newPublicEntity.ztypEntity.ZpajxxEntity">
select
group_concat(case ASJXGFWBZH_FWBZH_FWBZHLBDM when '01' then h.ASJXGFWBZH_FWBZH end) mobile,
group_concat(case ASJXGFWBZH_FWBZH_FWBZHLBDM when '04' then h.ASJXGFWBZH_FWBZH end) yhkh,
group_concat(case ASJXGFWBZH_FWBZH_FWBZHLBDM when '13' then h.ASJXGFWBZH_FWBZH end) wx,
group_concat(case ASJXGFWBZH_FWBZH_FWBZHLBDM when '16' then h.ASJXGFWBZH_FWBZH end) personid
from tb_xw_asjxgfwbzh h
where h.asjbh = #{ asjbh,jdbcType= VARCHAR }
</select>
</mapper>
......@@ -64,7 +64,33 @@ public class ZtypServiceImpl implements ZtypService {
List<ZpajxxEntity> getZpajxx = ztypMapper.getZpajxx(model);
getZpajxx.stream().forEach(p->{
String ajxlb = ztypMapper.getZpAsjbzxx(p.getAsjbh());
p.setAjxlb(ajxlb);
if(null!=ajxlb){
p.setAjxlb(ajxlb);
}
ZpajxxEntity zpajxxEntity = ztypMapper.getZpAsjBshxx(p.getAsjbh());
if(null!=zpajxxEntity){
String mobile = zpajxxEntity.getMobile();
String yhkh = zpajxxEntity.getYhkh();
String wx = zpajxxEntity.getWx();
String personid = zpajxxEntity.getPersonid();
if(null != mobile){
p.setMobile(mobile);
}
if(null != yhkh){
p.setYhkh(yhkh);
}
if(null != wx){
p.setWx(wx);
}
if(null != personid){
p.setPersonid(personid);
}
}
});
return getZpajxx;
}
......@@ -876,7 +902,7 @@ public class ZtypServiceImpl implements ZtypService {
" \"app_header\": {},\n" +
" \"app_body\": {}}";
// 根据标识号查看是否为演示数据 演示数据直接走数据库
if (skTextUtilServiceImpl.queryText(txxxParam.getPhoneNum()).size() > 0) {
if (txxxParam.getPhoneNum().equals("17347345949")) {
JSONArray jsonArray = JsonUtils.readJsonFromClassPath("data/getHdfx.json", JSONArray.class);
hdList = jsonArray.toJavaList(NaoTuHdXx.class);
}else{
......@@ -891,7 +917,6 @@ public class ZtypServiceImpl implements ZtypService {
logUtil.insertGNSYRZOPENAPI("01", "网技-话单信息", LogsUtil.getNotEmptyFiled(xyrParam).toString(), "", "", "430000000000", "湖南刑专平台", "", NetworkUtil.getIpAddr(request));
if (resultToken != null && !"".equals(resultToken)) {
JSONObject jsonObject = xmltoJson(resultToken);
System.out.println(jsonObject.toJSONString());
JSONObject results = jsonObject.getJSONObject("Result");
JSONObject datas = results.getJSONObject("Datas");
int total = 0;
......
[
{
"yhsjhm": "13900757030",
"yhsjhm": "17347345949",
"dfsjhm": "13548618794",
"hjsj": "2022-07-09 09:24:49",
"thsc": "30",
......@@ -10,7 +10,7 @@
"dfjzbh": ""
},
{
"yhsjhm": "13900757030",
"yhsjhm": "17347345949",
"dfsjhm": "13548618794",
"hjsj": "2022-07-01 10:56:25",
"thsc": "20",
......@@ -20,7 +20,7 @@
"dfjzbh": ""
},
{
"yhsjhm": "13900757030",
"yhsjhm": "17347345949",
"dfsjhm": "13548618794",
"hjsj": "2022-07-01 10:56:25",
"thsc": "40",
......@@ -30,7 +30,7 @@
"dfjzbh": ""
},
{
"yhsjhm": "13900757030",
"yhsjhm": "17347345949",
"dfsjhm": "13548618794",
"hjsj": "2022-07-01 10:56:25",
"thsc": "55",
......@@ -40,7 +40,7 @@
"dfjzbh": ""
},
{
"yhsjhm": "13900757030",
"yhsjhm": "17347345949",
"dfsjhm": "13548618794",
"hjsj": "2022-07-01 12:00:00",
"thsc": "25",
......
......@@ -5,11 +5,11 @@
"kshdata": {
"nodes": [
{
"id": "18199625540",
"label": "18199625540",
"id": "17347345949",
"label": "17347345949",
"properties": {
"id": "18199625540",
"label": "18199625540",
"id": "17347345949",
"label": "17347345949",
"imgType": "sjk",
"imagePhoto": null,
"boderColor": null
......@@ -40,17 +40,17 @@
],
"links": [
{
"source": "18199625540",
"source": "17347345949",
"target": "430123196510265892",
"label": "imsi",
"properties": {
"time": null,
"source": "18199625540",
"source": "17347345949",
"target": "430123196510265892",
"label": "imsi",
"glgxData": [
{
"bsh": "18199625540",
"bsh": "17347345949",
"bshlx": "sjk",
"glbsh": "430123196510265892",
"glbshlx": "imsi",
......@@ -62,17 +62,17 @@
}
},
{
"source": "18199625540",
"source": "17347345949",
"target": "430123196510265891",
"label": "imei",
"properties": {
"time": null,
"source": "18199625540",
"source": "17347345949",
"target": "430123196510265891",
"label": "imei",
"glgxData": [
{
"bsh": "18199625540",
"bsh": "17347345949",
"bshlx": "sjk",
"glbsh": "430123196510265891",
"glbshlx": "imei",
......@@ -88,7 +88,7 @@
"dataSumup": {
"name": "四码关联",
"list": [
"18199625540",
"17347345949",
"430123196510265892",
"430123196510265891"
]
......
{
"kshdata": {
"nodes": [
{
"id": "17347345949",
"label": "17347345949",
"properties": {
"id": "17347345949",
"label": "17347345949",
"imgType": "sjk",
"imagePhoto": null,
"boderColor": null
}
},
{
"id": "521",
"label": "521",
"properties": {
"id": "521",
"label": "521",
"imgType": "sjk",
"imagePhoto": null,
"boderColor": null
}
},
{
"id": "18865417111",
"label": "18865417111",
"properties": {
"id": "18865417111",
"label": "18865417111",
"imgType": "sjk",
"imagePhoto": null,
"boderColor": null
}
}
],
"links": [
{
"source": "17347345949",
"target": "18865417111",
"label": "通话时长501分钟",
"properties": {
"time": null,
"source": "17347345949",
"target": "18865417111",
"label": "通话时长501分钟",
"glgxData": [
{
"bsh": "17347345949",
"bshlx": "sjk",
"glbsh": "18865417111",
"glbshlx": "sjk",
"sjly": "科信",
"glgx": "通联分析",
"glsj": null
}
]
}
},
{
"source": "17347345949",
"target": "521",
"label": "通话时长501分钟",
"properties": {
"time": null,
"source": "17347345949",
"target": "521",
"label": "通话时长501分钟",
"glgxData": [
{
"bsh": "17347345949",
"bshlx": "sjk",
"glbsh": "521",
"glbshlx": "sjk",
"sjly": "科信",
"glgx": "通联分析",
"glsj": null
}
]
}
}
]
},
"dataSumup": {
"name": "通联分析",
"list": [
"17347345949",
"521",
"18865417111"
]
}
}
{
"kshdata": {
"nodes": [
{
"id": "10086",
"label": "10086",
"properties": {
"id": "10086",
"label": "10086",
"imgType": "sjk",
"imagePhoto": null,
"boderColor": null
}
},
{
"id": "13861644333",
"label": "何乐/13861644333",
"properties": {
"id": "13861644333",
"label": "何乐/13861644333",
"imgType": "sjk",
"imagePhoto": null,
"boderColor": null
}
},
{
"id": "17347345949",
"label": "17347345949",
"properties": {
"id": "15148091516",
"label": "17347345949",
"imgType": "sjk",
"imagePhoto": null,
"boderColor": null
}
},
{
"id": "18865417111",
"label": "陈五/18865417111",
"properties": {
"id": "18865417111",
"label": "陈五/18865417111",
"imgType": "sjk",
"imagePhoto": null,
"boderColor": null
}
}
],
"links": [
{
"source": "17347345949",
"target": "10086",
"label": "通话次数3次",
"properties": {
"time": "2023-09-08",
"source": "17347345949",
"target": "10086",
"label": "通话次数3次",
"glgxData": [
{
"bsh": "17347345949",
"bshlx": "sjk",
"glbsh": "10086",
"glbshlx": "sjk",
"sjly": "科信",
"glgx": "通联关系",
"glsj": "2023-09-08"
}
]
}
},
{
"source": "17347345949",
"target": "13861644333",
"label": "通话次数1次",
"properties": {
"time": "2023-09-08",
"source": "17347345949",
"target": "13861644333",
"label": "通话次数1次",
"glgxData": [
{
"bsh": "17347345949",
"bshlx": "sjk",
"glbsh": "13861644333",
"glbshlx": "sjk",
"sjly": "科兴",
"glgx": "通联关系",
"glsj": "2023-09-08"
}
]
}
},
{
"source": "17347345949",
"target": "18865417111",
"label": "通话次数1次",
"properties": {
"time": "2023-09-09",
"source": "17347345949",
"target": "18865417111",
"label": "通话次数1次",
"glgxData": [
{
"bsh": "17347345949",
"bshlx": "sjk",
"glbsh": "18865417111",
"glbshlx": "sjk",
"sjly": "科兴",
"glgx": "通联关系",
"glsj": "2023-09-09"
}
]
}
}
]
},
"dataSumup": {
"name": "通联关系",
"list": [
"10086",
"13561644544",
"15148091516",
"17347345949"
]
}
}
\ No newline at end of file
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