The major difference between the way Germany was treated after these two wars was that Germany was essentially punished and then left alone after WWI but was remade under supervision after WWII.
After WWI, the Allies did not occupy Germany or split it up or anything like that. They allowed Germany to continue to rule itself. What they did do, however, was to punish Germany harshly. The provisions of the Treaty of Versailles were meant to harm Germany, not to help it.
After WWII, the Allies did not allow Germany to remain independent. Instead, the Allies completely took control of Germany and ran it themselves. However, at least in West Germany, this occupation was rather benign. The Western Allies wanted to rebuild West Germany so that it could be economically strong and politically stable. This was very different from how they treated Germany after the First World War, when they punished it harshly and then left it to its own devices.
Thus, Germany was left to run itself after WWI, but allowing it to retain its independence was not as beneficial to Germany as the Western occupation after WWII.