考勤规则新增返回考勤组信息
This commit is contained in:
parent
2a3151d74b
commit
ae2b6028d0
@ -56,7 +56,7 @@ spring:
|
||||
host: 127.0.0.1 # 地址
|
||||
port: 6379 # 端口
|
||||
database: 1 # 数据库索引
|
||||
password: yhtkj@2024! # 密码,建议生产环境开启
|
||||
# password: yhtkj@2024! # 密码,建议生产环境开启
|
||||
|
||||
--- #################### MQ 消息队列相关配置 ####################
|
||||
|
||||
|
@ -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 {
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -56,7 +56,7 @@ spring:
|
||||
host: 127.0.0.1 # 地址
|
||||
port: 6379 # 端口
|
||||
database: 1 # 数据库索引
|
||||
password: yhtkj@2024! # 密码,建议生产环境开启
|
||||
# password: yhtkj@2024! # 密码,建议生产环境开启
|
||||
|
||||
--- #################### MQ 消息队列相关配置 ####################
|
||||
|
||||
|
@ -56,7 +56,7 @@ spring:
|
||||
host: 127.0.0.1 # 地址
|
||||
port: 6379 # 端口
|
||||
database: 1 # 数据库索引
|
||||
password: yhtkj@2024! # 密码,建议生产环境开启
|
||||
# password: yhtkj@2024! # 密码,建议生产环境开启
|
||||
|
||||
--- #################### MQ 消息队列相关配置 ####################
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user