INSERT INTO property_user(user_id, name, tel, work_type, role, status, device_id, store_id, community_id, create_time, update_time) VALUES(#{userId}, #{name}, #{tel}, #{workType}, #{role}, #{status}, #{deviceId}, #{storeId}, #{communityId}, NOW(), NOW()) UPDATE property_user name = #{name}, tel = #{tel}, work_type = #{workType}, role = #{role}, status = #{status}, device_id = #{deviceId}, community_id = #{communityId}, update_time = NOW() WHERE user_id = #{userId} DELETE FROM property_user WHERE user_id = #{userId}