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
4a64daf8
Commit
4a64daf8
authored
Sep 26, 2023
by
yangyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
主题研判-新型手段特点研判提交
parent
5362bf1c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
45 deletions
+13
-45
service/publicapi/src/main/java/com/founder/publicapi/mapper/mysqlMapper/ZtypMapper.java
+0
-2
service/publicapi/src/main/java/com/founder/publicapi/mapper/mysqlMapper/xml/ZtypMapper.xml
+13
-16
service/publicapi/src/main/java/com/founder/publicapi/service/serviceimpl/ZtypServiceImpl.java
+0
-27
No files found.
service/publicapi/src/main/java/com/founder/publicapi/mapper/mysqlMapper/ZtypMapper.java
View file @
4a64daf8
...
...
@@ -13,8 +13,6 @@ import java.util.Map;
@Component
public
interface
ZtypMapper
{
ZpajxxEntity
getZpAsjBshxx
(
String
asjbh
);
String
getZpAsjbzxx
(
String
asjbh
);
List
<
ZpajxxEntity
>
getZpajxx
(
ZpajxxModel
model
);
...
...
service/publicapi/src/main/java/com/founder/publicapi/mapper/mysqlMapper/xml/ZtypMapper.xml
View file @
4a64daf8
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.founder.publicapi.mapper.mysqlMapper.ZtypMapper"
>
<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>
<select
id=
"getZpAsjbzxx"
parameterType=
"java.lang.String"
resultType=
"java.lang.String"
>
select
...
...
@@ -22,9 +12,14 @@
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
from tb_st_asj a
where a.AJLBDM = '05000300'
(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'
and a.ZATZ_JYQK not like '0500030002%'
and a.XXSC_PDBZ = 0
<if
test=
"asjbh != null and asjbh != '' "
>
...
...
@@ -33,14 +28,16 @@
<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(*)
from tb_st_asj a
where a.AJLBDM = '05000300' and a.ZATZ_JYQK not like '0500030002%' and a.XXSC_PDBZ = 0
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
<if
test=
"asjbh != null and asjbh != '' "
>
and a.asjbh like concat('%', #{asjbh} ,'%')
</if>
...
...
service/publicapi/src/main/java/com/founder/publicapi/service/serviceimpl/ZtypServiceImpl.java
View file @
4a64daf8
...
...
@@ -38,38 +38,11 @@ public class ZtypServiceImpl implements ZtypService {
@Override
public
List
<
ZpajxxEntity
>
getZpajxx
(
ZpajxxModel
model
)
{
// 取出分页的案件信息
List
<
ZpajxxEntity
>
getZpajxx
=
ztypMapper
.
getZpajxx
(
model
);
getZpajxx
.
stream
().
forEach
(
p
->{
String
ajxlb
=
ztypMapper
.
getZpAsjbzxx
(
p
.
getAsjbh
());
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
;
}
...
...
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