Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xzxt-api-report
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
雷紫添
xzxt-api-report
Commits
c9d490eb
Commit
c9d490eb
authored
Feb 24, 2021
by
雷紫添
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'remotes/origin/master'
parents
7013ae0e
b87711ce
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
52 additions
and
4 deletions
+52
-4
src/main/java/com/founder/controller/XxcxController.java
+2
-2
src/main/java/com/founder/model/TbZhzxCjxx.java
+11
-0
src/main/java/com/founder/model/TbZhzxCjxxView.java
+10
-0
src/main/java/com/founder/model/TbZhzxJjxx.java
+11
-0
src/main/java/com/founder/model/TbZhzxJjxxView.java
+10
-0
src/main/java/com/founder/service/impl/XxcxServiceImpl.java
+2
-0
src/main/resources/mybatis/mapper/XxcxDaoMapper.xml
+6
-2
No files found.
src/main/java/com/founder/controller/XxcxController.java
View file @
c9d490eb
...
@@ -145,7 +145,7 @@ public class XxcxController {
...
@@ -145,7 +145,7 @@ public class XxcxController {
List
<
TbZhzxJjxxView
>
tbZhzxJjxxViews
=
new
ArrayList
<>();
List
<
TbZhzxJjxxView
>
tbZhzxJjxxViews
=
new
ArrayList
<>();
try
{
try
{
if
(
StringUtils
.
isEmpty
(
param
.
getJjdbh
())
&&
StringUtils
.
isEmpty
(
param
.
getBjrxm
())
&&
StringUtils
.
isEmpty
(
param
.
getJjyxm
())){
if
(
StringUtils
.
isEmpty
(
param
.
getJjdbh
())
&&
StringUtils
.
isEmpty
(
param
.
getBjrxm
())
&&
StringUtils
.
isEmpty
(
param
.
getJjyxm
())
&&
StringUtils
.
isEmpty
(
param
.
getAsjbh
())){
reslt
.
setData
(
new
ArrayList
<>());
reslt
.
setData
(
new
ArrayList
<>());
reslt
.
setMsg
(
"查询参数为空,不能查询!"
);
reslt
.
setMsg
(
"查询参数为空,不能查询!"
);
reslt
.
setStatus
(
"fail"
);
reslt
.
setStatus
(
"fail"
);
...
@@ -178,7 +178,7 @@ public class XxcxController {
...
@@ -178,7 +178,7 @@ public class XxcxController {
List
<
TbZhzxCjxxView
>
tbZhzxCjxxViews
=
new
ArrayList
<>();
List
<
TbZhzxCjxxView
>
tbZhzxCjxxViews
=
new
ArrayList
<>();
try
{
try
{
if
(
StringUtils
.
isEmpty
(
param
.
getJjdbh
())
&&
StringUtils
.
isEmpty
(
param
.
getPjdbh
())
&&
StringUtils
.
isEmpty
(
param
.
getPjyxm
())){
if
(
StringUtils
.
isEmpty
(
param
.
getJjdbh
())
&&
StringUtils
.
isEmpty
(
param
.
getPjdbh
())
&&
StringUtils
.
isEmpty
(
param
.
getPjyxm
())
&&
StringUtils
.
isEmpty
(
param
.
getAsjbh
())){
reslt
.
setData
(
new
ArrayList
<>());
reslt
.
setData
(
new
ArrayList
<>());
reslt
.
setMsg
(
"查询参数为空,不能查询!"
);
reslt
.
setMsg
(
"查询参数为空,不能查询!"
);
reslt
.
setStatus
(
"fail"
);
reslt
.
setStatus
(
"fail"
);
...
...
src/main/java/com/founder/model/TbZhzxCjxx.java
View file @
c9d490eb
...
@@ -162,6 +162,9 @@ public class TbZhzxCjxx implements Serializable {
...
@@ -162,6 +162,9 @@ public class TbZhzxCjxx implements Serializable {
//派警时间
//派警时间
private
String
formPjsj
;
private
String
formPjsj
;
//案事件编号
private
String
asjbh
;
public
String
getFormXfsj
()
{
public
String
getFormXfsj
()
{
return
formXfsj
;
return
formXfsj
;
}
}
...
@@ -585,4 +588,12 @@ public class TbZhzxCjxx implements Serializable {
...
@@ -585,4 +588,12 @@ public class TbZhzxCjxx implements Serializable {
public
void
setFormPjsj
(
String
formPjsj
)
{
public
void
setFormPjsj
(
String
formPjsj
)
{
this
.
formPjsj
=
formPjsj
;
this
.
formPjsj
=
formPjsj
;
}
}
public
String
getAsjbh
()
{
return
asjbh
;
}
public
void
setAsjbh
(
String
asjbh
)
{
this
.
asjbh
=
asjbh
;
}
}
}
src/main/java/com/founder/model/TbZhzxCjxxView.java
View file @
c9d490eb
...
@@ -32,6 +32,16 @@ public class TbZhzxCjxxView implements Serializable {
...
@@ -32,6 +32,16 @@ public class TbZhzxCjxxView implements Serializable {
private
String
zbqk
;
private
String
zbqk
;
//派警意见
//派警意见
private
String
pjyj
;
private
String
pjyj
;
//案事件编号
private
String
asjbh
;
public
String
getAsjbh
()
{
return
asjbh
;
}
public
void
setAsjbh
(
String
asjbh
)
{
this
.
asjbh
=
asjbh
;
}
public
String
getPjyj
()
{
public
String
getPjyj
()
{
return
pjyj
;
return
pjyj
;
...
...
src/main/java/com/founder/model/TbZhzxJjxx.java
View file @
c9d490eb
...
@@ -219,6 +219,9 @@ public class TbZhzxJjxx implements Serializable {
...
@@ -219,6 +219,9 @@ public class TbZhzxJjxx implements Serializable {
//接入时间
//接入时间
private
String
formJrsj
;
private
String
formJrsj
;
//案事件编号
private
String
asjbh
;
public
String
getJjdw
()
{
public
String
getJjdw
()
{
return
jjdw
;
return
jjdw
;
}
}
...
@@ -794,4 +797,12 @@ public class TbZhzxJjxx implements Serializable {
...
@@ -794,4 +797,12 @@ public class TbZhzxJjxx implements Serializable {
public
void
setFormJrsj
(
String
formJrsj
)
{
public
void
setFormJrsj
(
String
formJrsj
)
{
this
.
formJrsj
=
formJrsj
;
this
.
formJrsj
=
formJrsj
;
}
}
public
String
getAsjbh
()
{
return
asjbh
;
}
public
void
setAsjbh
(
String
asjbh
)
{
this
.
asjbh
=
asjbh
;
}
}
}
src/main/java/com/founder/model/TbZhzxJjxxView.java
View file @
c9d490eb
...
@@ -40,6 +40,8 @@ public class TbZhzxJjxxView implements Serializable {
...
@@ -40,6 +40,8 @@ public class TbZhzxJjxxView implements Serializable {
private
String
dicBjfsdm
;
private
String
dicBjfsdm
;
//受理单编号
//受理单编号
private
String
sldbh
;
private
String
sldbh
;
//案事件编号
private
String
asjbh
;
public
String
getBjdh
()
{
public
String
getBjdh
()
{
return
bjdh
;
return
bjdh
;
...
@@ -184,4 +186,12 @@ public class TbZhzxJjxxView implements Serializable {
...
@@ -184,4 +186,12 @@ public class TbZhzxJjxxView implements Serializable {
public
void
setSldbh
(
String
sldbh
)
{
public
void
setSldbh
(
String
sldbh
)
{
this
.
sldbh
=
sldbh
;
this
.
sldbh
=
sldbh
;
}
}
public
String
getAsjbh
()
{
return
asjbh
;
}
public
void
setAsjbh
(
String
asjbh
)
{
this
.
asjbh
=
asjbh
;
}
}
}
src/main/java/com/founder/service/impl/XxcxServiceImpl.java
View file @
c9d490eb
...
@@ -168,6 +168,7 @@ public class XxcxServiceImpl implements XxcxService {
...
@@ -168,6 +168,7 @@ public class XxcxServiceImpl implements XxcxService {
view
.
setLxdh
(
entity
.
getLxdh
());
view
.
setLxdh
(
entity
.
getLxdh
());
view
.
setSfdd
(
entity
.
getSfdd
());
view
.
setSfdd
(
entity
.
getSfdd
());
view
.
setYhdz
(
entity
.
getYhdz
());
view
.
setYhdz
(
entity
.
getYhdz
());
view
.
setAsjbh
(
entity
.
getAsjbh
());
result
.
add
(
view
);
result
.
add
(
view
);
}
}
}
}
...
@@ -192,6 +193,7 @@ public class XxcxServiceImpl implements XxcxService {
...
@@ -192,6 +193,7 @@ public class XxcxServiceImpl implements XxcxService {
view
.
setPjyj
(
entity
.
getPjyj
());
view
.
setPjyj
(
entity
.
getPjyj
());
view
.
setPjyxm
(
entity
.
getPjyxm
());
view
.
setPjyxm
(
entity
.
getPjyxm
());
view
.
setZbqk
(
entity
.
getZbqk
());
view
.
setZbqk
(
entity
.
getZbqk
());
view
.
setAsjbh
(
entity
.
getAsjbh
());
result
.
add
(
view
);
result
.
add
(
view
);
}
}
}
}
...
...
src/main/resources/mybatis/mapper/XxcxDaoMapper.xml
View file @
c9d490eb
...
@@ -152,7 +152,8 @@
...
@@ -152,7 +152,8 @@
FORM_RKSJ as formRksj,
FORM_RKSJ as formRksj,
FORM_CJSJ as formCjsj,
FORM_CJSJ as formCjsj,
FORM_ODS_RKSJ as formOdsRksj,
FORM_ODS_RKSJ as formOdsRksj,
FORM_JRSJ as formJrsj
FORM_JRSJ as formJrsj,
ASJBH as asjbh
from TB_M_ZHZX_JJXX
from TB_M_ZHZX_JJXX
where 1=1
where 1=1
<if
test=
"jjdw != null and jjdw != ''"
>
AND JJDW = #{jjdw , jdbcType=VARCHAR }
</if>
<if
test=
"jjdw != null and jjdw != ''"
>
AND JJDW = #{jjdw , jdbcType=VARCHAR }
</if>
...
@@ -170,6 +171,7 @@
...
@@ -170,6 +171,7 @@
<if
test=
"bjxldm != null and bjxldm != ''"
>
AND BJXLDM = #{bjxldm , jdbcType=VARCHAR }
</if>
<if
test=
"bjxldm != null and bjxldm != ''"
>
AND BJXLDM = #{bjxldm , jdbcType=VARCHAR }
</if>
<if
test=
"dicJjdw != null and dicJjdw != ''"
>
AND DIC_JJDW = #{dicJjdw , jdbcType=VARCHAR }
</if>
<if
test=
"dicJjdw != null and dicJjdw != ''"
>
AND DIC_JJDW = #{dicJjdw , jdbcType=VARCHAR }
</if>
<if
test=
"dicBjfsdm != null and dicBjfsdm != ''"
>
AND DIC_BJFSDM = #{dicBjfsdm , jdbcType=VARCHAR }
</if>
<if
test=
"dicBjfsdm != null and dicBjfsdm != ''"
>
AND DIC_BJFSDM = #{dicBjfsdm , jdbcType=VARCHAR }
</if>
<if
test=
"asjbh != null and asjbh != ''"
>
AND ASJBH = #{asjbh , jdbcType=VARCHAR }
</if>
</select>
</select>
<select
id=
"queryCjxx"
resultType=
"com.founder.model.TbZhzxCjxx"
parameterType=
"com.founder.model.TbZhzxCjxxView"
>
<select
id=
"queryCjxx"
resultType=
"com.founder.model.TbZhzxCjxx"
parameterType=
"com.founder.model.TbZhzxCjxxView"
>
...
@@ -225,7 +227,8 @@
...
@@ -225,7 +227,8 @@
ODS_RKSJ as odsRksj,
ODS_RKSJ as odsRksj,
JRSJ as jrsj,
JRSJ as jrsj,
DIC_XZQH as dicXzqh,
DIC_XZQH as dicXzqh,
FORM_PJSJ as formPjsj
FORM_PJSJ as formPjsj,
ASJBH as asjbh
from TB_M_ZHZX_CJXX
from TB_M_ZHZX_CJXX
where 1=1
where 1=1
<if
test=
"pjdbh != null and pjdbh != ''"
>
AND PJDBH = #{pjdbh , jdbcType=VARCHAR }
</if>
<if
test=
"pjdbh != null and pjdbh != ''"
>
AND PJDBH = #{pjdbh , jdbcType=VARCHAR }
</if>
...
@@ -233,5 +236,6 @@
...
@@ -233,5 +236,6 @@
<if
test=
"pjyxm != null and pjyxm != ''"
>
AND PJYXM = #{pjyxm , jdbcType=VARCHAR }
</if>
<if
test=
"pjyxm != null and pjyxm != ''"
>
AND PJYXM = #{pjyxm , jdbcType=VARCHAR }
</if>
<if
test=
"ddsj != null and ddsj != ''"
>
AND DDSJ = #{ddsj , jdbcType=VARCHAR }
</if>
<if
test=
"ddsj != null and ddsj != ''"
>
AND DDSJ = #{ddsj , jdbcType=VARCHAR }
</if>
<if
test=
"pjsj != null and pjsj != ''"
>
AND PJSJ = #{pjsj , jdbcType=VARCHAR }
</if>
<if
test=
"pjsj != null and pjsj != ''"
>
AND PJSJ = #{pjsj , jdbcType=VARCHAR }
</if>
<if
test=
"asjbh != null and asjbh != ''"
>
AND ASJBH = #{asjbh , jdbcType=VARCHAR }
</if>
</select>
</select>
</mapper>
</mapper>
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