基于SpringBoot的代码自动生成系统设计与实现卢梦琳1黄肇明2,3(1.广西河池市凤山县人民医院,广西河池546300;2.广西医科大学第一附属医院,广西南宁530022;3.广西医科大学信息与管理学院,广西南宁530021)【摘要】目的:程序员在对JavaWeb端管理系统开发过程中,采用传统的手工编写代码方式会十分费力,工作的质量和进度都得不到提升。因此对代码自动生成系统进行分析与设计,以适用于程序员日常的代码编写工作。方法:系统采用B/S架构、MySQL数据库,研究运用SpringBoot技术、Thymeleaf框架、Shiro安全框架等实现代码自动生成系统的用户管理、菜单管理、代码自动生成等功能。其特点是开发便捷、维护简单方便。结果:进行系统基本功能的测试后发现,系统能够稳定、顺畅地运行,满足程序员的日常工作需求。结论:代码自动生成系统使用模板进行代码自动生成,在Web端管理系统开发上对程序员有一定的帮助,可节约开发项目时间、降低维护成本以及提高工作效率。【关键词】代码自动生成;SpringBoot技术;Thymeleaf框架【中图分类号】TP317DesignandImplementationofAutomaticCodeGenerationSystemBasedonAbstract:Objective:IntheprocessofdevelopingaJavaWebmanagementsystem,programmersusingtraditionalmanualcodingmethodscanbeverylaborious,andthequalityandprogressoftheirworkcannotbeimproved.Therefore,theautomaticcodegenerationsystemisanalyzedanddesignedtobesuitableforprogrammers'dailycodewritingwork.Methods:ThesystemadoptsB/SarchitectureandMySQLdatabase,andstudiestheuseofSpringBoottechnology,Thymleafframework,Shirosecurityframework,etc.toachievetheusermanagement,menumanagement,codeautomaticgenerationandotherfunctionsofthecodeautomaticgenerationsystem.Itscharacteristicsareconvenientdevelopmentandeasymaintenance.Results:Aftertestingthebasicfunctionsofthesystem,itwasfoundthatthesystemcouldrunstablyandsmoothly,meetingthedailyworkneedsofprogrammers.Conclusion:Theautomaticcodegenerationsystemusestemplatesforautomaticcodegeneration,whichishelpfulforprogrammersinthedevelopmentofweb-basedmanagementsystems,andcansavedevelopmentprojecttime,reducemaintenancecosts,andimproveworkefficiency.Keywords:automaticcodegeneration;SpringBoottechnology;Thymeleafframework引言软...