insert into xfsg_point_todo_info
point_id,
node_no,
handler_user_id,
status,
cycle_count,
#{item.pointId},
#{item.nodeNo},
#{item.handlerUserId},
#{item.status},
#{item.cycleCount},
update xfsg_point_todo_info set status = if(handler_user_id = #{handlerUserId}, 1, 2), update_time = now() where point_id = #{pointId} and node_no = #{nodeNo} and cycle_count = #{cycleCount} and deleted = 0