id AS id, is_delete AS isDelete, gmt_create AS gmtCreate, gmt_modified AS gmtModified, record_id AS recordId, staff_id AS staffId, comment AS comment, staff_name AS staffName, status AS status, flow_record_id AS flowRecordId, opt_desc AS optDesc insert into lz_result_comment( record_id, staff_id, comment, staff_name, status, flow_record_id, opt_desc, is_delete, gmt_create, gmt_modified )values( #{ recordId}, #{ staffId}, #{ comment}, #{ staffName}, #{ status}, #{ flowRecordId}, #{ optDesc}, 0, now(), now() ) update lz_result_comment is_delete = #{isDelete}, gmt_create = #{gmtCreate}, record_id = #{recordId}, staff_id = #{staffId}, comment = #{comment}, staff_name = #{staffName}, status = #{status}, flow_record_id = #{flowRecordId}, opt_desc = #{optDesc} ,gmt_modified = now() where id = #{id} update lz_result_comment set is_delete = #{isDelete}, gmt_create = #{gmtCreate}, record_id = #{recordId}, staff_id = #{staffId}, comment = #{comment}, staff_name = #{staffName}, status = #{status}, flow_record_id = #{flowRecordId}, opt_desc = #{optDesc} ,gmt_modified = now() where id = #{id} update lz_result_comment set is_delete = 1 where id=#{id} limit 1