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
09e49de5
Commit
09e49de5
authored
Sep 20, 2023
by
yangyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
态势分析案件提交(湖南)
parent
4432a347
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
common/common_utils/src/main/java/com/founder/commonutils/model/vo/param/TbStAsjParm.java
+1
-1
service/publicapi/src/main/java/com/founder/publicapi/mapper/mysqlMapper/xml/TbStAsjMapper.xml
+2
-2
service/publicapi/src/main/java/com/founder/publicapi/service/serviceimpl/TbStAsjServiceImpl.java
+7
-7
No files found.
common/common_utils/src/main/java/com/founder/commonutils/model/vo/param/TbStAsjParm.java
View file @
09e49de5
...
...
@@ -57,7 +57,7 @@ public class TbStAsjParm implements Serializable {
private
String
ajxlb
;
@ApiModelProperty
(
value
=
"案件类别代码"
)
private
String
afd
X
zqhdm
;
private
String
afd
x
zqhdm
;
@ApiModelProperty
(
value
=
"案件名称"
)
private
int
ajmc
;
...
...
service/publicapi/src/main/java/com/founder/publicapi/mapper/mysqlMapper/xml/TbStAsjMapper.xml
View file @
09e49de5
...
...
@@ -78,8 +78,8 @@
<if
test=
"larqEnd!= null and larqEnd!=''"
>
AND T.LARQ
<![CDATA[<]]>
DATE_FORMAT(#{larqEnd,jdbcType=VARCHAR},'%Y-%m-%d %H:%i:%s')
</if>
<if
test=
"afd
Xzqhdm!= null and afdX
zqhdm!=''"
>
AND T.ASJFSDD_XZQHDM like concat(#{afd
X
zqhdm , jdbcType=VARCHAR }, '%')
<if
test=
"afd
xzqhdm!= null and afdx
zqhdm!=''"
>
AND T.ASJFSDD_XZQHDM like concat(#{afd
x
zqhdm , jdbcType=VARCHAR }, '%')
</if>
<if
test=
"zcjddm!= null and zcjddm!=''"
>
AND T.ZCJDDM= #{ zcjddm , jdbcType=VARCHAR }
...
...
service/publicapi/src/main/java/com/founder/publicapi/service/serviceimpl/TbStAsjServiceImpl.java
View file @
09e49de5
...
...
@@ -61,18 +61,18 @@ public class TbStAsjServiceImpl extends ServiceImpl<TbStAsjMapper, TbStAsj> impl
}
// 案发地区划代码模糊查询
if
(
StringUtils
.
isNotEmpty
(
tbStAsjParm
.
getAfd
X
zqhdm
()))
{
if
(
StringUtils
.
isNotEmpty
(
tbStAsjParm
.
getAfd
x
zqhdm
()))
{
// 根据规则截取前两位
String
xzqh
=
""
;
if
(
tbStAsjParm
.
getAfd
X
zqhdm
().
endsWith
(
"0000"
)){
xzqh
=
tbStAsjParm
.
getAfd
X
zqhdm
().
substring
(
0
,
2
);
}
else
if
(
tbStAsjParm
.
getAfd
X
zqhdm
().
endsWith
(
"00"
)){
xzqh
=
tbStAsjParm
.
getAfd
X
zqhdm
().
substring
(
0
,
4
);
if
(
tbStAsjParm
.
getAfd
x
zqhdm
().
endsWith
(
"0000"
)){
xzqh
=
tbStAsjParm
.
getAfd
x
zqhdm
().
substring
(
0
,
2
);
}
else
if
(
tbStAsjParm
.
getAfd
x
zqhdm
().
endsWith
(
"00"
)){
xzqh
=
tbStAsjParm
.
getAfd
x
zqhdm
().
substring
(
0
,
4
);
}
else
{
xzqh
=
tbStAsjParm
.
getAfd
X
zqhdm
();
xzqh
=
tbStAsjParm
.
getAfd
x
zqhdm
();
}
tbStAsjParm
.
setAfdX
zqhdm
(
xzqh
);
tbStAsjParm
.
getAfdx
zqhdm
(
xzqh
);
}
return
tbStAsjMapper
.
selectAsjxxByReceivingList
(
tbStAsjParm
);
}
...
...
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