中间6位为自增序列
String idStr = String.format("%06d", sequence);
String idStr = String.format("%06d", sequence);
2018-12-28
JAVA8这个日期的方法很快啊。
10:02:45.002 [main] INFO com.example.miaosha.service.impl.OrderServiceImpl - start2====
10:02:45.045 [main] INFO com.example.miaosha.service.impl.OrderServiceImpl - nowFomater=20181228
10:02:45.002 [main] INFO com.example.miaosha.service.impl.OrderServiceImpl - start2====
10:02:45.045 [main] INFO com.example.miaosha.service.impl.OrderServiceImpl - nowFomater=20181228
2018-12-28
最赞回答 / shran丶
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/xxx?useUnicode=true&characterEncoding=utf8
2018-12-27
$("#itemDetail"+itemVo.id).on("click", (e) => {
window.location.href = "getItem.html?id="+$(this).data("id");
})
window.location.href = "getItem.html?id="+$(this).data("id");
})
2018-12-27