The purpose of this study is to determine the efficacy and safety of DWP14012 compared to esomeprazole in the treatment of erosive gastroesophageal reflux disease classified as Los Angeles(LA) classification grades A to D.