摘要:
参考https://www.thymeleaf.org/doc/tutorials/3.0/usingthymeleaf.html<span th:text="'The name of the user is ' + ${user.name}">
阅读全文
posted @ 2018-04-11 16:34
white knight
阅读(32018)
推荐(2)
编辑
摘要:
Subquery<A> subquery = criteriaQuery.subquery(A.class);Root<A> root1 = subquery.from(A.class);subquery = subquery.select(root1.get("attrx"));subquery
阅读全文
posted @ 2018-04-08 13:24
white knight
阅读(722)
推荐(0)
编辑
摘要:
参考https://www.cnblogs.com/xiaozhang9/p/jackson.html?utm_source=itdadao&utm_medium=referral
阅读全文
posted @ 2018-03-27 13:38
white knight
阅读(1231)
推荐(0)
编辑
摘要:
DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss", Locale.CHINA).format(time1);
阅读全文
posted @ 2018-03-27 11:33
white knight
阅读(153)
推荐(0)
编辑
摘要:
@Configuration @EnableAsync @EnableScheduling public class CronConfig { @Autowired private ApiService apiService; @Scheduled(cron="0/5 * * * * ?") pub
阅读全文
posted @ 2018-03-26 13:50
white knight
阅读(130)
推荐(0)
编辑
摘要:
@RequestMapping("/listByPage") public Page<Production> listByPage(int page, int size, String sortStr, boolean sortAscOrDesc, String searchObj) { Speci
阅读全文
posted @ 2018-03-26 13:49
white knight
阅读(305)
推荐(0)
编辑
摘要:
user-select: text; -moz-user-select: text; -webkit-user-select: text; /*webkit浏览器*/ -ms-user-select: text; /*IE10*/ -khtml-user-select: text; /*早期浏览器*
阅读全文
posted @ 2018-03-26 11:32
white knight
阅读(261)
推荐(0)
编辑
摘要:
ALTER TABLE table_name CHANGE `name` `name` VARCHAR(255) CHARACTER SET utf8;
阅读全文
posted @ 2018-03-26 11:29
white knight
阅读(348)
推荐(0)
编辑
摘要:
function getCookie(c_name) { if (document.cookie.length > 0) { var c_start = document.cookie.indexOf(c_name + "="); if (c_start != -1) { c_start = c_s
阅读全文
posted @ 2018-03-26 11:29
white knight
阅读(97)
推荐(0)
编辑
摘要:
@Entity @Table(name = "TABLE_NAME") @IdClass(PK.class) public class TableName implements Serializable{ @Id @Column(name="ID1") private String id1; @Id
阅读全文
posted @ 2018-03-26 11:15
white knight
阅读(105)
推荐(0)
编辑