摘要:
1、 重写configureViewResolvers方法 @Component public class WebMvcConfigurerAdapter implements WebMvcConfigurer { @Resource(name="thymeleafViewResolver") pr 阅读全文
摘要:
测试代码如下: import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframew 阅读全文
摘要:
<resultMap id="给ID名" type="实体类" > <result column="数据库字段名" property="实体类属性" jdbcType="数据库字段类型" /> </resultMap> 阅读全文