select r.id, r.meeting_id,m.name, m.gender, m.pic_path, r.type, r.member_id, r.attendance_status, r.create_time,r.sign_time from party_attendance_record r
left join party_member_manage m on m.id = r.member_id
insert into party_attendance_record
meeting_id,type,member_id,attendance_status,create_time,reason,#{meetingId},#{type},#{memberId},#{attendanceStatus},#{createTime},#{reason},
update party_attendance_record
attendance_status = #{attendanceStatus},reason = #{reason},
where id = #{id}
update party_attendance_record
meeting_id = #{meetingId},type = #{type},member_id = #{memberId},attendance_status = #{attendanceStatus},create_time = #{createTime},
where id = #{id}
update party_attendance_record
attendance_status = #{attendanceStatus},sign_time = #{createTime},sign_type = #{signtype},
where meeting_id = #{meetingId}
and member_id = #{memberId}
delete from party_attendance_record where id = #{id}
delete from party_attendance_record where id in
#{id}
delete from party_attendance_record where meeting_id = #{id}
update party_attendance_record set attendance_status = 1,sign_Time = now() where meeting_id = #{meetingId} and attendance_status=0
update party_attendance_record set attendance_status = 2 where meeting_id = #{meetingId} and member_id=#{memberId}
update party_attendance_record set attendance_status = #{attendanceStatus},sign_Time = now() where meeting_id = #{meetingId} and member_id=#{memberId}