select id, people_id, unit_id, start_time, end_time, leave_type, leave_reason, departure_time, return_time, return_status, is_return, updatetime, admin_id, createtime, people_id1, post_id, people_id2, people_id3, people_id4, status1, status2, status3, status4, contents, statusd, rejoin, unit_name, people_name, people_name1, people_name2, people_name3, people_name4,reasons,special_approval,actualreturntime from bdgl_leave insert into bdgl_leave people_id, unit_id, start_time, end_time, leave_type, leave_reason, departure_time, return_time, return_status, is_return, updatetime, admin_id, createtime, people_id1, post_id, people_id2, people_id3, people_id4, status1, status2, status3, status4, contents, statusd, rejoin, unit_name, people_name, people_name1, people_name2, people_name3, people_name4, reasons, special_approval, actualreturntime, #{peopleId}, #{unitId}, #{startTime}, #{endTime}, #{leaveType}, #{leaveReason}, #{departureTime}, #{returnTime}, #{returnStatus}, #{isReturn}, #{updatetime}, #{adminId}, #{createtime}, #{peopleId1}, #{postId}, #{peopleId2}, #{peopleId3}, #{peopleId4}, #{status1}, #{status2}, #{status3}, #{status4}, #{contents}, #{statusd}, #{rejoin}, #{unitName}, #{peopleName}, #{peopleName1}, #{peopleName2}, #{peopleName3}, #{peopleName4}, #{reasons}, #{specialApproval}, #{actualreturntime}, update bdgl_leave people_id = #{peopleId}, unit_id = #{unitId}, start_time = #{startTime}, end_time = #{endTime}, leave_type = #{leaveType}, leave_reason = #{leaveReason}, departure_time = #{departureTime}, return_time = #{returnTime}, return_status = #{returnStatus}, is_return = #{isReturn}, updatetime = #{updatetime}, admin_id = #{adminId}, createtime = #{createtime}, people_id1 = #{peopleId1}, post_id = #{postId}, people_id2 = #{peopleId2}, people_id3 = #{peopleId3}, people_id4 = #{peopleId4}, status1 = #{status1}, status2 = #{status2}, status3 = #{status3}, status4 = #{status4}, contents = #{contents}, statusd = #{statusd}, rejoin = #{rejoin}, unit_name = #{unitName}, people_name = #{peopleName}, people_name1 = #{peopleName1}, people_name2 = #{peopleName2}, people_name3 = #{peopleName3}, people_name4 = #{peopleName4}, reasons = #{reasons}, special_approval = #{specialApproval}, actualreturntime = #{actualreturntime}, where id = #{id} delete from bdgl_leave where id = #{id} delete from bdgl_leave where id in #{id}