考勤规则新增返回考勤组信息

This commit is contained in:
aikai 2024-09-29 16:41:51 +08:00
parent 2a3151d74b
commit ae2b6028d0
5 changed files with 7 additions and 3 deletions

View File

@ -56,7 +56,7 @@ spring:
host: 127.0.0.1 # 地址
port: 6379 # 端口
database: 1 # 数据库索引
password: yhtkj@2024! # 密码,建议生产环境开启
# password: yhtkj@2024! # 密码,建议生产环境开启
--- #################### MQ 消息队列相关配置 ####################

View File

@ -1,5 +1,6 @@
package cn.iocoder.yudao.module.system.controller.admin.attendance.vo;
import cn.iocoder.yudao.module.system.dal.dataobject.attendance.group.AttendanceGroupDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;
@ -15,6 +16,8 @@ public class AttendanceRulesVO {
private String officeLocation;
@Schema(description = "是否允许外勤打卡 0否 1是")
private Integer fieldworkFlag;
@Schema(description = "考勤组信息")
private AttendanceGroupDO attendanceGroupDO;
@Data
public static class WorkRules {

View File

@ -954,6 +954,7 @@ public class AttendanceServiceImpl implements AttendanceService {
vo.setFieldworkFlag(group.getFieldworkFlag());
vo.setWorkRules(workRules);
vo.setOfficeLocation(group.getAddress());
vo.setAttendanceGroupDO(group);
return vo;
}

View File

@ -56,7 +56,7 @@ spring:
host: 127.0.0.1 # 地址
port: 6379 # 端口
database: 1 # 数据库索引
password: yhtkj@2024! # 密码,建议生产环境开启
# password: yhtkj@2024! # 密码,建议生产环境开启
--- #################### MQ 消息队列相关配置 ####################

View File

@ -56,7 +56,7 @@ spring:
host: 127.0.0.1 # 地址
port: 6379 # 端口
database: 1 # 数据库索引
password: yhtkj@2024! # 密码,建议生产环境开启
# password: yhtkj@2024! # 密码,建议生产环境开启
--- #################### MQ 消息队列相关配置 ####################