Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
map-parent
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常超
map-parent
Commits
330bc703
Commit
330bc703
authored
Aug 02, 2022
by
yangyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
通信信息研判是否为案件相关号码判断(湖南)
parent
a02232a4
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
31 additions
and
1 deletions
+31
-1
service/publicapi/src/main/java/com/founder/publicapi/controller/ZtypService/ZtypController.java
+13
-0
service/publicapi/src/main/java/com/founder/publicapi/mapper/mysqlMapper/ZtypMapper.java
+2
-0
service/publicapi/src/main/java/com/founder/publicapi/mapper/mysqlMapper/xml/ZtypMapper.xml
+8
-1
service/publicapi/src/main/java/com/founder/publicapi/service/ZtypService.java
+2
-0
service/publicapi/src/main/java/com/founder/publicapi/service/serviceimpl/ZtypServiceImpl.java
+6
-0
No files found.
service/publicapi/src/main/java/com/founder/publicapi/controller/ZtypService/ZtypController.java
View file @
330bc703
...
...
@@ -401,4 +401,17 @@ public class ZtypController {
return
MapRestResult
.
error
(
"上传失败!"
+
e
);
}
}
@OperLog
(
message
=
"判断该手机号是否可以查询信息"
,
operation
=
OperationType
.
QUERY
)
@PostMapping
(
"/txxx/judgePhone"
)
@ApiOperation
(
value
=
"判断该手机号是否可以查询信息"
,
notes
=
"判断该手机号是否可以查询信息"
)
public
R
judgePhone
(
String
phoneNum
){
try
{
Integer
count
=
ztypService
.
judgePhone
(
phoneNum
);
return
R
.
ok
().
data
(
"count"
,
count
);
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
return
R
.
error
(
e
.
getMessage
());
}
}
}
service/publicapi/src/main/java/com/founder/publicapi/mapper/mysqlMapper/ZtypMapper.java
View file @
330bc703
...
...
@@ -72,4 +72,6 @@ public interface ZtypMapper{
List
<
AjThKshfxPojo
>
getkshConnectIpList
(
String
thbh
);
List
<
AjThKshfxPojo
>
getkshCashAccountList
(
String
thbh
);
int
getXsbkOrCbBshByPhoneNum
(
@Value
(
"phoneNum"
)
String
phoneNum
);
}
service/publicapi/src/main/java/com/founder/publicapi/mapper/mysqlMapper/xml/ZtypMapper.xml
View file @
330bc703
...
...
@@ -1694,7 +1694,7 @@
'asjbh' as type
from tb_yw_shse_thglxyr 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()
join tb_st_asj asj on zbxyr.ASJBH = asj.ASJBH and asj.LARQ between DATE_FORMAT('2015-1-1','%Y-%m-%d') 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"
>
...
...
@@ -1713,4 +1713,11 @@
where thxyr.THBH = #{ thbh,jdbcType= VARCHAR }
group by thxyr.ZJHM, bankTrans.SKR_YHKH;
</select>
<!-- 判断该手机号在串并信息表中是否存在 -->
<select
id=
"getXsbkOrCbBshByPhoneNum"
parameterType=
"string"
resultType=
"int"
>
SELECT
( SELECT count( 1 ) FROM tb_yw_xsbk_bkxx WHERE XXSC_PDBZ = '0' AND BKDX_HM = #{phoneNum}
) + (
SELECT count( 1 ) FROM tb_yw_xsz_cbaj WHERE XXSC_PDBZ = '0' AND CBXGFWBZH = #{phoneNum})total
</select>
</mapper>
service/publicapi/src/main/java/com/founder/publicapi/service/ZtypService.java
View file @
330bc703
...
...
@@ -70,4 +70,6 @@ public interface ZtypService{
Map
<
String
,
Object
>
getAsjxxByPhoneNum
(
TxxxParam
txxxParam
)
throws
Exception
;
MapRestResult
getThfxAccompliceBythId
(
String
thbh
,
String
fxwd
,
String
commonRelationshipNum
);
Integer
judgePhone
(
String
phoneNum
);
}
service/publicapi/src/main/java/com/founder/publicapi/service/serviceimpl/ZtypServiceImpl.java
View file @
330bc703
...
...
@@ -1865,4 +1865,10 @@ public class ZtypServiceImpl implements ZtypService {
}
return
thlx
;
}
@Override
public
Integer
judgePhone
(
String
phoneNum
)
{
//判断该手机号是否是串并案件中的手机号
int
count
=
ztypMapper
.
getXsbkOrCbBshByPhoneNum
(
phoneNum
);
return
count
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment