Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
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
fangxinjiang
yifu-mvp
Commits
8c0db32c
Commit
8c0db32c
authored
Mar 11, 2025
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.7.7-项目
parent
a48d68ad
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
TEmployeeProjectBelongDeptServiceImpl.java
...s/service/impl/TEmployeeProjectBelongDeptServiceImpl.java
+3
-0
TEmployeeProjectBelongDeptMapper.xml
...ain/resources/mapper/TEmployeeProjectBelongDeptMapper.xml
+4
-0
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeProjectBelongDeptServiceImpl.java
View file @
8c0db32c
...
...
@@ -82,6 +82,9 @@ public class TEmployeeProjectBelongDeptServiceImpl extends ServiceImpl<TEmployee
if
(
Common
.
isNotNull
(
tEmployeeProjectBelongDept
.
getEmpDeptId
())
&&
!
"-1"
.
equals
(
tEmployeeProjectBelongDept
.
getEmpDeptId
()))
{
tEmployeeProjectBelongDept
.
setEmpDeptIdArray
(
tEmployeeProjectBelongDept
.
getEmpDeptId
().
split
(
","
));
}
if
(
Common
.
isEmpty
(
tEmployeeProjectBelongDept
.
getEmpDeptId
()))
{
tEmployeeProjectBelongDept
.
setEmpDeptId
(
"不查数据"
);
}
}
/**
...
...
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TEmployeeProjectBelongDeptMapper.xml
View file @
8c0db32c
...
...
@@ -41,6 +41,10 @@
/* 查询未关联的 */
AND b.id is null
</if>
<if
test=
"tEmployeeProjectBelongDept.empDeptId.trim() == '不查数据'"
>
/* 不查数据 */
AND b.id = '不查数据'
</if>
</if>
<if
test=
"tEmployeeProjectBelongDept.empName != null and tEmployeeProjectBelongDept.empName.trim() != ''"
>
AND a.EMP_NAME like concat('%',#{tEmployeeProjectBelongDept.empName},'%')
...
...
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