

	
	
	
#逻辑删除
UPDATE `user`
SET 
	`is_delete` = 1
WHERE
	`id` = 10
	AND
	`is_delete` = 0
	AND
	`version` = 2;

SELECT * FROM `user` WHERE `is_delete` = 0;





