摘要:
spring boot mapper层传参数是用main的arg0(第一个参数),arg1(第二个参数) 大于三个参数,用map传递 public interface FrontMapper{ // //spring boot mapper 传参@Select("select count(1) as 阅读全文
摘要:
spring boot不要放在tomcat下启动,因为自身就带了集成tomcat 阅读全文
摘要:
@Controller@EnableAutoConfiguration //启用srpingboot的配置@ComponentScan(basePackages={"cn.java.controller.*","cn.java.service.impl"})@MapperScan(value="cn 阅读全文
摘要:
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance 阅读全文