Compare commits

...

2 Commits

Author SHA1 Message Date
pengwei 50516701fb fix:开放外链 1 week ago
pengwei 972f9acbc7 fix:维权督察、审计监督相关后端问题消费(1、维权督办:筛选案件类型,过滤无需使用的维权案件。 1 week ago
  1. 8
      src/main/java/com/biutag/supervision/job/Job.java
  2. 2
      src/main/java/com/biutag/supervision/pojo/dto/MenuDto.java
  3. 3
      src/main/java/com/biutag/supervision/pojo/entity/Menu.java
  4. 3
      src/main/java/com/biutag/supervision/pojo/vo/MenuTree.java

8
src/main/java/com/biutag/supervision/job/Job.java

@ -134,11 +134,11 @@ public class Job {
log.info("维权信息抓取中---------------------");
// 维权
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
Date startTime = sdf.parse("2025-01-01 00:00:00");
Date endTime = sdf.parse("2025-12-30 00:00:00");
// Date startTime = sdf.parse("2025-01-01 00:00:00");
// Date endTime = sdf.parse("2025-12-30 00:00:00");
// Date startTime = Date.from(LocalDateTime.now().minusDays(1).withHour(0).withMinute(0).withSecond(0).withNano(0).atZone(ZoneId.systemDefault()).toInstant());
// Date endTime = Date.from(LocalDateTime.now().minusDays(1).withHour(23).withMinute(59).withSecond(59).atZone(ZoneId.systemDefault()).toInstant());
Date startTime = Date.from(LocalDateTime.now().minusDays(1).withHour(0).withMinute(0).withSecond(0).withNano(0).atZone(ZoneId.systemDefault()).toInstant());
Date endTime = Date.from(LocalDateTime.now().minusDays(1).withHour(23).withMinute(59).withSecond(59).atZone(ZoneId.systemDefault()).toInstant());
//获取过滤关键字

2
src/main/java/com/biutag/supervision/pojo/dto/MenuDto.java

@ -38,4 +38,6 @@ public class MenuDto {
// 是否打开新页面 默认为false
private Boolean openNewPage;
//是否为外链 默认为false
private Boolean openOutside;
}

3
src/main/java/com/biutag/supervision/pojo/entity/Menu.java

@ -71,4 +71,7 @@ public class Menu {
// 是否打开新页面 默认为false
private Boolean openNewPage;
//是否为外链 默认为false
private Boolean openOutside;
}

3
src/main/java/com/biutag/supervision/pojo/vo/MenuTree.java

@ -46,6 +46,9 @@ public class MenuTree {
// 是否打开新页面 默认为false
private Boolean openNewPage;
//是否为外链 默认为false
private Boolean openOutside;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private LocalDateTime updateTime;

Loading…
Cancel
Save