提交 8ab3b668 authored 作者: 宋文杰's avatar 宋文杰

feat(attendance): add the function of remove attendance member with permission control

上级 683ba7f2
......@@ -19,6 +19,11 @@ import java.util.Date;
@NoArgsConstructor
@AllArgsConstructor
public class MemberDto {
/**
* 值班人员id
*/
private Integer id;
/**
* 值班人员姓名
*/
......
......@@ -11,6 +11,7 @@
</resultMap>
<resultMap id="memberDtoMap" type="com.elephant.framework.galaxy.aroad.module.attendance.dto.MemberDto">
<id property="id" column="id"/>
<result property="name" column="name"/>
<result property="phone" column="phone"/>
<result property="shiftName" column="shift_name"/>
......@@ -23,7 +24,7 @@
SELECT
a.time,
t.shift_name,t.start_time,t.end_time,t.is_cross_day,
m.name,m.phone
m.id,m.name,m.phone
FROM `attendance` a
INNER JOIN attendance_templates t
ON a.shift_id = t.shift_id
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论