service 写接口 service.impl 写接口实现 controller 写实现 dao写 xml里面sql方法 entity写实体类 util里面写公共方法 转载于:https://www.cnblogs.com/tanada/p/11384142.html