Commit 4e4be662 authored by fangxinjiang's avatar fangxinjiang

代码优化-fxj

parent 4cc368cb
...@@ -317,8 +317,7 @@ public class THolidayInfoServiceImpl extends ServiceImpl<THolidayInfoMapper, THo ...@@ -317,8 +317,7 @@ public class THolidayInfoServiceImpl extends ServiceImpl<THolidayInfoMapper, THo
public TEmployeeInsuranceWorkDayVo selectBeforeOrAfterWorkDay(TEmployeeInsuranceWorkDayVo vo) { public TEmployeeInsuranceWorkDayVo selectBeforeOrAfterWorkDay(TEmployeeInsuranceWorkDayVo vo) {
//获取当年所有假期配置表 //获取当年所有假期配置表
Date date = new Date(); Date date = new Date();
List<THolidayInfo> holidayInfos = baseMapper.selectList(Wrappers.<THolidayInfo>query().lambda() List<THolidayInfo> holidayInfos = baseMapper.selectList(Wrappers.<THolidayInfo>query().lambda());
.eq(THolidayInfo::getYear,DateUtil.getYear(date)));
Map<Date,String> holidayMap = new HashMap<>(); Map<Date,String> holidayMap = new HashMap<>();
if (Common.isNotNull(holidayInfos)){ if (Common.isNotNull(holidayInfos)){
for (THolidayInfo h:holidayInfos){ for (THolidayInfo h:holidayInfos){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment