2
This commit is contained in:
@@ -121,11 +121,11 @@ public class AlarmServiceImpl implements AlarmService {
|
|||||||
public R<LocalTime> getAlarm(String username) {
|
public R<LocalTime> getAlarm(String username) {
|
||||||
|
|
||||||
//判断今天是不是工作日
|
//判断今天是不是工作日
|
||||||
// DateWeekdayEntity dateWeekdayEntity = dateWeekdayMapper.selectOne(new LambdaQueryWrapper<DateWeekdayEntity>()
|
DateWeekdayEntity dateWeekdayEntity = dateWeekdayMapper.selectOne(new LambdaQueryWrapper<DateWeekdayEntity>()
|
||||||
// .eq(DateWeekdayEntity::getDate, LocalDate.now()));
|
.eq(DateWeekdayEntity::getDate, LocalDate.now()));
|
||||||
// if (BeanUtil.isEmpty(dateWeekdayEntity) || dateWeekdayEntity.getHolidayFlag()) {
|
if (BeanUtil.isEmpty(dateWeekdayEntity) || dateWeekdayEntity.getHolidayFlag()) {
|
||||||
// return R.failed("今天放假");
|
return R.failed("今天放假");
|
||||||
// }
|
}
|
||||||
//找到人
|
//找到人
|
||||||
PersonConfigEntity personConfigEntity = personConfigMapper.selectOne(new LambdaQueryWrapper<PersonConfigEntity>()
|
PersonConfigEntity personConfigEntity = personConfigMapper.selectOne(new LambdaQueryWrapper<PersonConfigEntity>()
|
||||||
.eq(PersonConfigEntity::getPerson, username));
|
.eq(PersonConfigEntity::getPerson, username));
|
||||||
|
|||||||
Reference in New Issue
Block a user