Sfoglia il codice sorgente

修改视频列表时间区间查询

syh 5 anni fa
parent
commit
aa0c7beb68

+ 2 - 0
module-kuaishou/src/main/java/cn/com/ctop/kuaishou/modules/batch/controller/BatchController.java

@@ -1066,6 +1066,8 @@ public class BatchController {
         Result<IPage<KuaiShouVideoGet>> result = new Result<>();
         try {
             QueryWrapper<KuaiShouVideoGet> queryWrapper = QueryGenerator.initQueryWrapper(kuaiShouVideoGet, req.getParameterMap());
+            startDate = startDate + " 00:00:00";
+            endDate = endDate + " 23:59:59";
             queryWrapper.between("create_time",startDate,endDate);
             queryWrapper.orderByDesc("create_time");
             Page<KuaiShouVideoGet> page = new Page<>(pageNo, pageSize);