![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot
佛系人僧
hello ego.
展开
-
python 时间和时间戳转换的处理
时间和时间戳转换的处理 import datetime as dt import time # 获取当前时间呈现到毫秒级别并转换为时间戳 def get_current_time_ms_to_timestamp(): return int(time.time() * 1000) # 获取当前时间呈现到当天的0时0分0秒000毫秒并转换为时间戳 def get_current_time_day_to_timestamp(): # 获取当日0时0分0秒000毫秒 today_0 =原创 2022-02-06 21:47:51 · 1122 阅读 · 0 评论 -
使用Mybatics gennerator,spring boot,pagehelper实现分页查询
@RestController//控制器的方法 public class Controller { @Autowired private IpostNewsImpl ipostNews; @ResponseBody @RequestMapping("/post") public Object post(HttpSession session,Integer currentPage, Integer pageSize){ currentPage =原创 2020-09-21 19:03:39 · 130 阅读 · 0 评论