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
e64ffd92
Commit
e64ffd92
authored
Jun 04, 2023
by
wangzb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feature-wzb :bug修复
parent
08302294
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
TEmployeeRetirementMapper.java
...us/v1/yifu/archives/mapper/TEmployeeRetirementMapper.java
+1
-1
TEmployeeRetirementServiceImpl.java
...archives/service/impl/TEmployeeRetirementServiceImpl.java
+1
-1
TEmployeeRetirementMapper.xml
...z/src/main/resources/mapper/TEmployeeRetirementMapper.xml
+1
-1
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TEmployeeRetirementMapper.java
View file @
e64ffd92
...
@@ -31,7 +31,7 @@ public interface TEmployeeRetirementMapper extends BaseMapper<TEmployeeRetiremen
...
@@ -31,7 +31,7 @@ public interface TEmployeeRetirementMapper extends BaseMapper<TEmployeeRetiremen
boolean
changeHandleFlag
(
@Param
(
"changeHandleFlagVo"
)
ChangeHandleFlagVo
changeHandleFlagVo
);
boolean
changeHandleFlag
(
@Param
(
"changeHandleFlagVo"
)
ChangeHandleFlagVo
changeHandleFlagVo
);
int
selectByEmpIdcard
(
@Param
(
"empIdCard"
)
String
empIdCard
);
int
selectByEmpIdcard
(
@Param
(
"empIdCard"
)
String
empIdCard
,
@Param
(
"deptNo"
)
String
deptNo
);
int
add
(
@Param
(
"tEmployeeRetirement"
)
TEmployeeRetirement
tEmployeeRetirement
);
int
add
(
@Param
(
"tEmployeeRetirement"
)
TEmployeeRetirement
tEmployeeRetirement
);
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeRetirementServiceImpl.java
View file @
e64ffd92
...
@@ -70,7 +70,7 @@ private TEmployeeRetirementFlagDetailMapper tEmployeeRetirementFlagDetailMapper;
...
@@ -70,7 +70,7 @@ private TEmployeeRetirementFlagDetailMapper tEmployeeRetirementFlagDetailMapper;
String
pp
=
DateUtil
.
dateToString
(
DateUtil
.
stringToDate
(
LL
));
String
pp
=
DateUtil
.
dateToString
(
DateUtil
.
stringToDate
(
LL
));
List
<
TEmployeeRetirement
>
list
=
baseMapper
.
getBirthday
(
oo
,
pp
);
List
<
TEmployeeRetirement
>
list
=
baseMapper
.
getBirthday
(
oo
,
pp
);
for
(
TEmployeeRetirement
tEmployeeRetirement
:
list
)
{
for
(
TEmployeeRetirement
tEmployeeRetirement
:
list
)
{
int
i
=
baseMapper
.
selectByEmpIdcard
(
tEmployeeRetirement
.
getEmpIdcard
());
int
i
=
baseMapper
.
selectByEmpIdcard
(
tEmployeeRetirement
.
getEmpIdcard
()
,
tEmployeeRetirement
.
getDeptNo
()
);
if
(
i
==
0
)
{
if
(
i
==
0
)
{
tEmployeeRetirement
.
setHandleFlag
(
0
);
tEmployeeRetirement
.
setHandleFlag
(
0
);
tEmployeeRetirement
.
setCreateBy
(
"1"
);
tEmployeeRetirement
.
setCreateBy
(
"1"
);
...
...
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TEmployeeRetirementMapper.xml
View file @
e64ffd92
...
@@ -157,9 +157,9 @@
...
@@ -157,9 +157,9 @@
</select>
</select>
<select
id=
"selectByEmpIdcard"
resultType=
"Integer"
>
<select
id=
"selectByEmpIdcard"
resultType=
"Integer"
>
SELECT count(*)
SELECT count(*)
<include
refid=
"Base_Column_List"
/>
FROM t_employee_retirement a
FROM t_employee_retirement a
where EMP_IDCARD=#{empIdCard}
where EMP_IDCARD=#{empIdCard}
and DEPT_NO=#{deptNo}
</select>
</select>
<select
id=
"getBirthday"
parameterType=
"String"
resultMap=
"BaseResultMap"
>
<select
id=
"getBirthday"
parameterType=
"String"
resultMap=
"BaseResultMap"
>
SELECT a.EMP_NAME,
SELECT a.EMP_NAME,
...
...
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