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
14956890
Commit
14956890
authored
Jul 12, 2021
by
dupengfei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
字典操作 bug修改
parent
88a842d1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletions
+8
-1
service/zdgl/src/main/java/com/founder/zdgl/controller/DictManageController.java
+6
-0
service/zdgl/src/main/java/com/founder/zdgl/mapper/xml/DictManageMapper.xml
+2
-1
No files found.
service/zdgl/src/main/java/com/founder/zdgl/controller/DictManageController.java
View file @
14956890
...
...
@@ -43,9 +43,15 @@ public class DictManageController extends BaseAction {
List
<
DictItem
>
dictItemList
=
new
ArrayList
<
DictItem
>();
DictItem
dictItem
=
new
DictItem
();
if
(
"CODE_MZ"
.
equals
(
groupid
)
||
"CODE_XZQH"
.
equals
(
groupid
)){
dictItem
.
setGroupid
(
groupid
);
dictItem
.
setScbz
(
"0"
);
}
else
{
dictItem
.
setGroupid
(
groupid
);
dictItem
.
setPid
(
pid
);
dictItem
.
setScbz
(
"0"
);
}
dictItemList
=
dictManageService
.
queryDictAll
(
dictItem
);
Map
<
String
,
Object
>
resultMap
=
new
HashMap
<
String
,
Object
>();
...
...
service/zdgl/src/main/java/com/founder/zdgl/mapper/xml/DictManageMapper.xml
View file @
14956890
...
...
@@ -55,7 +55,8 @@
endcode,
description
from sys_dictitem
where 1=1 and pid = #{pid}
where 1=1
<if
test=
"pid != null"
>
and pid = #{pid}
</if>
<if
test=
"groupid != null and groupid != ''"
>
and groupid = #{groupid}
</if>
<if
test=
"scbz != null and scbz != ''"
>
and scbz = #{scbz}
</if>
<if
test=
"code != null and code != ''"
>
and code = #{code}
</if>
...
...
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