Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zczlService
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
曹崟
zczlService
Commits
1e6dce08
Commit
1e6dce08
authored
Nov 17, 2020
by
wangyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
海南侦查指令查询联络员不显示下级联络员bug修改,字典树bug修复
parent
e18a5b17
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
4 deletions
+18
-4
src/main/java/com/founder/zczl/controller/ZczlController.java
+15
-1
src/main/resources/mapper/ZczlMapper.xml
+2
-2
src/main/resources/static/easyui-window/js/function.js
+0
-0
src/main/webapp/WEB-INF/jsp/llysz.jsp
+1
-1
No files found.
src/main/java/com/founder/zczl/controller/ZczlController.java
View file @
1e6dce08
...
...
@@ -6,6 +6,7 @@ import com.founder.model.*;
import
com.founder.seq.service.AnjianSeqService
;
import
com.founder.util.*
;
import
com.founder.zczl.service.IZczlService
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.stereotype.Controller
;
...
...
@@ -1094,7 +1095,20 @@ public class ZczlController {
int
end
=
easyUIPage
.
getEnd
();
tbYwZczlLly
.
setBegin
(
begin
);
tbYwZczlLly
.
setEnd
(
end
);
String
unitcode
=
tbYwZczlLly
.
getUnitcode
();
if
(
StringUtils
.
isNotBlank
(
unitcode
)){
if
(
unitcode
.
endsWith
(
"0000000000"
)){
tbYwZczlLly
.
setUnitcode
(
unitcode
.
substring
(
0
,
2
));
}
else
if
(
unitcode
.
endsWith
(
"00000000"
)){
tbYwZczlLly
.
setUnitcode
(
unitcode
.
substring
(
0
,
4
));
}
else
if
(
unitcode
.
endsWith
(
"000000"
)){
tbYwZczlLly
.
setUnitcode
(
unitcode
.
substring
(
0
,
6
));
}
else
if
(
unitcode
.
endsWith
(
"0000"
)){
tbYwZczlLly
.
setUnitcode
(
unitcode
.
substring
(
0
,
8
));
}
else
if
(
unitcode
.
endsWith
(
"00"
)){
tbYwZczlLly
.
setUnitcode
(
unitcode
.
substring
(
0
,
10
));
}
}
List
<
TbYwZczlLly
>
tbYwZczlLlyList
=
zczlService
.
toQueryAllLly
(
tbYwZczlLly
);
Integer
totalCount
=
0
;
totalCount
=
zczlService
.
toQueryAllLlyForTotal
(
tbYwZczlLly
);
...
...
src/main/resources/mapper/ZczlMapper.xml
View file @
1e6dce08
...
...
@@ -702,7 +702,7 @@
(select name from sys_dictitem where groupid='CODE_UNIT' and code=XXDJDWGAJGJGDM) as xxdjdwgajgjgdm,
to_char(DJSJ,'yyyy-MM-dd hh24:mi:ss') as djsj
from TB_YW_ZCZL_LLY where 1=1 and XXSCPDBZ = '0'
<if
test=
"unitcode!=null and unitcode!=''"
>
and UNITCODE
= #{unitcode, jdbcType=VARCHAR}
</if>
<if
test=
"unitcode!=null and unitcode!=''"
>
and UNITCODE
like #{unitcode, jdbcType=VARCHAR} ||'%'
</if>
<if
test=
"truename!=null and truename!=''"
>
and TRUENAME like '%'||#{truename, jdbcType=VARCHAR}||'%'
</if>
<if
test=
"policemanid!=null and policemanid!=''"
>
and POLICEMANID = #{policemanid, jdbcType=VARCHAR}
</if>
order by UNITCODE
...
...
@@ -713,7 +713,7 @@
<select
id=
"toQueryAllLlyForTotal"
parameterType=
"com.founder.model.TbYwZczlLly"
resultType=
"java.lang.Integer"
>
select count(*) from TB_YW_ZCZL_LLY where 1=1 and XXSCPDBZ = '0'
<if
test=
"unitcode!=null and unitcode!=''"
>
and UNITCODE
= #{unitcode, jdbcType=VARCHAR}
</if>
<if
test=
"unitcode!=null and unitcode!=''"
>
and UNITCODE
like #{unitcode, jdbcType=VARCHAR} ||'%'
</if>
<if
test=
"truename!=null and truename!=''"
>
and TRUENAME like '%'||#{truename, jdbcType=VARCHAR}||'%'
</if>
<if
test=
"policemanid!=null and policemanid!=''"
>
and POLICEMANID = #{policemanid, jdbcType=VARCHAR}
</if>
</select>
...
...
src/main/resources/static/easyui-window/js/function.js
View file @
1e6dce08
This diff is collapsed.
Click to expand it.
src/main/webapp/WEB-INF/jsp/llysz.jsp
View file @
1e6dce08
...
...
@@ -142,7 +142,7 @@
<td
class=
"ar"
width=
"13.3%"
>
单位:
</td>
<td
width=
"20%"
>
<span
class=
"textbox"
>
<input
type=
"text"
id=
"unitcode"
name=
"unitcode"
class=
"val easyui-combotree"
data-options=
"url: '/queryTypeCode?type=CODE_XZUNIT
&startId=<%=unitcode %>
',method:'get',fit:true,textField : 'text', valueField : 'id'"
/>
<input
type=
"text"
id=
"unitcode"
name=
"unitcode"
class=
"val easyui-combotree"
data-options=
"url: '/queryTypeCode?type=CODE_XZUNIT',method:'get',fit:true,textField : 'text', valueField : 'id'"
/>
</span>
</td>
<td
class=
"ar"
width=
"13.3%"
>
姓名:
</td>
...
...
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