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