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
b6973d10
Commit
b6973d10
authored
May 15, 2024
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
节假日配置表及社保医疗截止配置表调整
parent
a58b8929
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
0 deletions
+25
-0
TSocialDeadlineInfoServiceImpl.java
...u/social/service/impl/TSocialDeadlineInfoServiceImpl.java
+24
-0
TSocialDeadlineInfoMapper.xml
...z/src/main/resources/mapper/TSocialDeadlineInfoMapper.xml
+1
-0
No files found.
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TSocialDeadlineInfoServiceImpl.java
View file @
b6973d10
...
@@ -288,7 +288,9 @@ public class TSocialDeadlineInfoServiceImpl extends ServiceImpl<TSocialDeadlineI
...
@@ -288,7 +288,9 @@ public class TSocialDeadlineInfoServiceImpl extends ServiceImpl<TSocialDeadlineI
}
}
}
}
TSocialDeadlineInfo
save
;
TSocialDeadlineInfo
save
;
LambdaQueryWrapper
<
TSocialDeadlineInfo
>
queryWrapper
;
for
(
TSocialDeadlineInfo
sd:
baseLists
){
for
(
TSocialDeadlineInfo
sd:
baseLists
){
queryWrapper
=
null
;
save
=
new
TSocialDeadlineInfo
();
save
=
new
TSocialDeadlineInfo
();
BeanUtil
.
copyProperties
(
sd
,
save
);
BeanUtil
.
copyProperties
(
sd
,
save
);
save
.
setId
(
null
);
save
.
setId
(
null
);
...
@@ -296,6 +298,10 @@ public class TSocialDeadlineInfoServiceImpl extends ServiceImpl<TSocialDeadlineI
...
@@ -296,6 +298,10 @@ public class TSocialDeadlineInfoServiceImpl extends ServiceImpl<TSocialDeadlineI
save
.
setType
(
CommonConstants
.
ZERO_STRING
);
save
.
setType
(
CommonConstants
.
ZERO_STRING
);
initSocialEndDate
(
holidayMap
,
save
);
initSocialEndDate
(
holidayMap
,
save
);
initMedicalEndDate
(
holidayMap
,
save
);
initMedicalEndDate
(
holidayMap
,
save
);
queryWrapper
=
initCountQuery
(
save
,
queryWrapper
);
if
(
baseMapper
.
selectCount
(
queryWrapper
)
>
0
){
continue
;
}
saveList
.
add
(
save
);
saveList
.
add
(
save
);
}
}
if
(
Common
.
isNotNull
(
saveList
)){
if
(
Common
.
isNotNull
(
saveList
)){
...
@@ -303,6 +309,24 @@ public class TSocialDeadlineInfoServiceImpl extends ServiceImpl<TSocialDeadlineI
...
@@ -303,6 +309,24 @@ public class TSocialDeadlineInfoServiceImpl extends ServiceImpl<TSocialDeadlineI
}
}
}
}
}
}
private
LambdaQueryWrapper
<
TSocialDeadlineInfo
>
initCountQuery
(
TSocialDeadlineInfo
save
,
LambdaQueryWrapper
<
TSocialDeadlineInfo
>
queryWrapper
)
{
queryWrapper
=
Wrappers
.
lambdaQuery
();
queryWrapper
.
eq
(
TSocialDeadlineInfo:
:
getMonth
,
save
.
getMonth
());
queryWrapper
.
eq
(
TSocialDeadlineInfo:
:
getProvince
,
save
.
getProvince
());
if
(
Common
.
isNotNull
(
save
.
getCity
())){
queryWrapper
.
eq
(
TSocialDeadlineInfo:
:
getCity
,
save
.
getCity
());
if
(
Common
.
isNotNull
(
save
.
getTown
())){
queryWrapper
.
eq
(
TSocialDeadlineInfo:
:
getTown
,
save
.
getTown
());
}
else
{
queryWrapper
.
isNull
(
TSocialDeadlineInfo:
:
getTown
);
}
}
else
{
queryWrapper
.
isNull
(
TSocialDeadlineInfo:
:
getCity
);
}
return
queryWrapper
;
}
@Transactional
@Transactional
@Override
@Override
public
R
<
Boolean
>
updateByIdAsso
(
TSocialDeadlineInfo
tSocialDeadlineInfo
)
{
public
R
<
Boolean
>
updateByIdAsso
(
TSocialDeadlineInfo
tSocialDeadlineInfo
)
{
...
...
yifu-social/yifu-social-biz/src/main/resources/mapper/TSocialDeadlineInfoMapper.xml
View file @
b6973d10
...
@@ -120,5 +120,6 @@
...
@@ -120,5 +120,6 @@
1=1
1=1
<include
refid=
"tSocialDeadlineInfo_where"
/>
<include
refid=
"tSocialDeadlineInfo_where"
/>
</where>
</where>
order by a.month DESC
</select>
</select>
</mapper>
</mapper>
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