| The improvement of people’s living standards has driven the development of the catering industry,which has ushered in great opportunities and challenges.With the continuous strengthening of information construction in various fields,the catering industry is also constantly trying to inject new information elements.Catering enterprises pay more and more attention to the development and optimization of their information management tools to ensure that the management tools adapt to technological development and meet the needs of enterprises,so as to improve the core competitiveness of enterprises.However,with the continuous evolution and improvement of Internet technology,the traditional single architecture catering management system is difficult to expand,maintain and transplant in the upgrading process.At the same time,inventory problems such as overstock caused by too much stock and shortage caused by too little stock have always been the pain and difficulty for catering enterprises to solve.The design purpose of this system is to solve the shortcomings of the traditional single architecture catering management system,so that the system can operate and maintain flexibly and independently.Therefore,the system adopts micro service architecture and forecasts the sales volume of dishes based on xgboost model,so as to help enterprises prepare goods accurately,reduce waste and create higher economic benefits.Firstly,the system constructs the distributed architecture of the catering management system based on spring cloud alibaba,and uses nacos as the configuration center and registration center of the system,spring cloud gateway as the distributed gateway of the system.At the same time,sentinel current limiting component is used to control the breaking and degradation of the system,and skywalking’s full link tracking technology is used to monitor the operation state of the system.Secondly,combined with the demand analysis of the catering system,this paper divides the system into nine functional modules according to different business functions,including purchase management,sales management,warehouse management,financial management,report query,commodity management,basic information,system management and data analysis.Each module is a separate service,and the development and operation do not affect each other.Finally,in order to predict dish sales more accurately,this paper compares and analyzes the prediction results of linear regression,random forest and xgboost models.It is found that xgboost model has the best sales prediction effect,so xgboost model is used as the systematic dish sales prediction model.After the development,the system has been fully tested from multiple dimensions,and the test results show that all services are running normally.The system not only meets the daily management needs of catering enterprises,but also meets the set performance requirements and achieves the predetermined design objectives. |