a.id, a.question_id AS "questionId", a.subtask_id AS "subtaskId", a.gender, a.name, a.age, a.type, a.lost, a.identityNumber, a.nationality, a.nirthplace, a.phone, a.marriage, a.BORN_DATE AS "bornDate", a.status, a.remarks, a.create_by AS "createBy.id", a.create_date, a.update_by AS "updateBy.id", a.update_date, a.del_flag, a.answerId, a.target_id AS "targetId", a.sparePhone, a.office_id AS "officeId", a.plan_id AS "planId", a.historyDisease AS "historyDisease" INSERT INTO khtx_spot_checker( id, question_id, subtask_id, gender, name, age, type, lost, identityNumber, nationality, nirthplace, phone, marriage, BORN_DATE, status, remarks, create_by, create_date, update_by, update_date, del_flag, answerId, target_id, sparePhone, office_id, plan_id, historyDisease ) VALUES ( #{id}, #{questionId}, #{subtaskId}, #{gender}, #{name}, #{age}, #{type}, #{lost}, #{identityNumber}, #{nationality}, #{nirthplace}, #{phone}, #{marriage}, #{bornDate}, #{status}, #{remarks}, #{createBy.id}, #{createDate}, #{updateBy.id}, #{updateDate}, #{delFlag}, #{answerId}, #{targetId}, #{sparePhone}, #{officeId}, #{planId}, #{historyDisease} ) UPDATE khtx_spot_checker SET question_id = #{questionId}, subtask_id = #{subtaskId}, gender = #{gender}, name = #{name}, age = #{age}, type = #{type}, lost = #{lost}, identityNumber= #{identityNumber}, nationality = #{nationality}, nirthplace = #{nirthplace}, phone = #{phone}, marriage = #{marriage}, BORN_DATE = #{bornDate}, status = #{status}, remarks = #{remarks}, update_by = #{updateBy.id}, update_date = #{updateDate}, del_flag = #{delFlag}, answerId=#{answerId}, target_id= #{targetId}, sparePhone=#{sparePhone}, office_id = #{officeId}, plan_id = #{planId}, historyDisease= #{historyDisease} WHERE id = #{id} DELETE FROM khtx_spot_checker WHERE id = #{id} UPDATE khtx_spot_checker SET lost = #{lost}, update_by = #{updateBy.id}, update_date = #{updateDate} WHERE id = #{id}