select id, unit_id, people_id, address, start_time, duration, end_time, admin_id, createtime, updatetime, illness, unit_name, people_name, adminname, accompanying_person, state from bdgl_diagnose insert into bdgl_diagnose unit_id, people_id, address, start_time, duration, end_time, admin_id, createtime, updatetime, illness, unit_name, people_name, adminname, accompanying_person, state, #{unitId}, #{peopleId}, #{address}, #{startTime}, #{duration}, #{endTime}, #{adminId}, #{createtime}, #{updatetime}, #{illness}, #{unitName}, #{peopleName}, #{adminname}, #{accompanyingPerson}, #{state}, update bdgl_diagnose unit_id = #{unitId}, people_id = #{peopleId}, address = #{address}, start_time = #{startTime}, duration = #{duration}, end_time = #{endTime}, admin_id = #{adminId}, createtime = #{createtime}, updatetime = #{updatetime}, illness = #{illness}, unit_name = #{unitName}, people_name = #{peopleName}, adminname = #{adminname}, accompanying_person = #{accompanyingPerson}, state = #{state}, where id = #{id} delete from bdgl_diagnose where id = #{id} delete from bdgl_diagnose where id in #{id}