摘要:
public interface ARepository extends PagingAndSortingRepository<A, APK>, JpaSpecificationExecutor<A> { @Query(value="select field1, field2 from table1
阅读全文
posted @ 2018-05-08 16:32
white knight
阅读(512)
推荐(0)
编辑
摘要:
参考 https://www.cnblogs.com/gmq-sh/p/5194706.html
阅读全文
posted @ 2018-05-05 11:12
white knight
阅读(105)
推荐(0)
编辑
摘要:
<script th:inline="javascript"> /*<![CDATA[*/ [[#{message1}]] [[${abc}]] /*]]>*/ </script>
阅读全文
posted @ 2018-05-05 10:03
white knight
阅读(474)
推荐(0)
编辑
摘要:
参考https://www.cnblogs.com/halai/p/6868027.html http://www.w3school.com.cn/jquery/manipulation_replaceall.asp $("<div>replaceContent</div>").replaceAll
阅读全文
posted @ 2018-05-05 09:58
white knight
阅读(77)
推荐(0)
编辑
摘要:
参考https://www.thymeleaf.org/doc/tutorials/3.0/usingthymeleaf.html
阅读全文
posted @ 2018-05-04 17:32
white knight
阅读(812)
推荐(0)
编辑
摘要:
参考 http://www.w3school.com.cn/jquery/jquery_css.asp $("#a").css("height"); $("#a").css("height", "30px");
阅读全文
posted @ 2018-05-02 16:45
white knight
阅读(121)
推荐(0)
编辑
摘要:
System.out.println(((User)SecurityContextHolder.getContext().getAuthentication().getPrincipal()).getName()); ${session.SPRING_SECURITY_CONTEXT.authent
阅读全文
posted @ 2018-05-02 13:33
white knight
阅读(1479)
推荐(0)
编辑
摘要:
@SpringBootApplication @EnableJpaAuditing public class Application {...} @Component public class AuditorAwareImpl implements AuditorAware<String> { pu
阅读全文
posted @ 2018-04-27 16:23
white knight
阅读(1040)
推荐(0)
编辑
摘要:
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-cache</artifactId></dependency>@Cacheable(value = "value1", k
阅读全文
posted @ 2018-04-27 16:03
white knight
阅读(139)
推荐(0)
编辑
摘要:
参考 https://www.cnblogs.com/JentleWang/p/3654603.html https://blog.csdn.net/tuzhen007/article/details/11183961 if @exist_trancount > 0 begin rollback t
阅读全文
posted @ 2018-04-27 15:01
white knight
阅读(292)
推荐(0)
编辑