考勤组插入bug

This commit is contained in:
dy
2025-07-27 14:41:53 +08:00
parent c0d43c01c6
commit ca4d366d74
5 changed files with 18 additions and 10 deletions

View File

@@ -34,7 +34,7 @@ public class AttendanceWeekSetBo extends BaseEntity {
/**
* 星期1代表周一7代表周日
*/
private Long dayOfWeek;
private Integer dayOfWeek;
/**
* 是否休息0不休息1休息

View File

@@ -52,6 +52,9 @@ public class TbVisitorManagementBo extends BaseEntity {
@NotBlank(message = "拜访事由不能为空", groups = { AddGroup.class, EditGroup.class })
private String visitingReason;
@NotBlank(message = "类型不能为空", groups = { AddGroup.class, EditGroup.class })
private Integer type;
/**
* 被访人
*/

View File

@@ -69,6 +69,9 @@ public class TbVisitorManagementVo implements Serializable {
@ExcelProperty(value = "被访人")
private String interviewedPerson;
@ExcelProperty(value = "访客类型")
private Integer type;
/**
* 被访单位
*/

View File

@@ -163,6 +163,7 @@ public class AttendanceGroupServiceImpl implements IAttendanceGroupService {
BeanUtils.copyProperties(weekSet, attendanceWeekSet);
attendanceWeekSet.setGroupId(add.getId());
attendanceWeekSet.setDayOfWeek(weekSet.getDayOfWeek());
// attendanceWeekSet.setShiftId(weekSet.getShiftId());
weekSetMapper.insert(attendanceWeekSet);
//查询出周期表的id
Long weekSetId = attendanceWeekSet.getId();
@@ -209,6 +210,7 @@ public class AttendanceGroupServiceImpl implements IAttendanceGroupService {
}
// insertAttendaanceClockDate(bo);
return flag;
}