Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
haoban3.0
haoban-manage3.0
Commits
518f6ac3
Commit
518f6ac3
authored
Mar 25, 2022
by
墨竹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor:增加判断
parent
7d6ba97a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
DepartmentServiceImpl.java
...an/manage/service/service/impl/DepartmentServiceImpl.java
+3
-1
DepartmentMapper.xml
...e3-service/src/main/resources/mapper/DepartmentMapper.xml
+1
-1
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/impl/DepartmentServiceImpl.java
View file @
518f6ac3
...
@@ -259,7 +259,9 @@ public class DepartmentServiceImpl implements DepartmentService {
...
@@ -259,7 +259,9 @@ public class DepartmentServiceImpl implements DepartmentService {
@Override
@Override
public
List
<
TabHaobanDepartment
>
listByChainId
(
String
chainId
,
String
wxEnterpriseId
)
{
public
List
<
TabHaobanDepartment
>
listByChainId
(
String
chainId
,
String
wxEnterpriseId
)
{
if
(
StringUtils
.
isBlank
(
chainId
))
{
return
null
;
}
return
mapper
.
listByChainId
(
chainId
,
wxEnterpriseId
);
return
mapper
.
listByChainId
(
chainId
,
wxEnterpriseId
);
}
}
...
...
haoban-manage3-service/src/main/resources/mapper/DepartmentMapper.xml
View file @
518f6ac3
...
@@ -446,7 +446,7 @@
...
@@ -446,7 +446,7 @@
<include
refid=
"Base_Column_List"
/>
<include
refid=
"Base_Column_List"
/>
from tab_haoban_department
from tab_haoban_department
where wx_enterprise_id = #{wxEnterpriseId}
where wx_enterprise_id = #{wxEnterpriseId}
and chain_id like CONCAT(#{chainId},'%')
and chain_id like CONCAT(
'%',
#{chainId},'%')
and status_flag = 1
and status_flag = 1
</select>
</select>
...
...
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