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. 19
      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("维权信息抓取中---------------------"); log.info("维权信息抓取中---------------------");
// 维权 // 维权
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
Date startTime = sdf.parse("2025-01-01 00:00:00"); // Date startTime = sdf.parse("2025-01-01 00:00:00");
Date endTime = sdf.parse("2025-12-30 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 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 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 // 是否打开新页面 默认为false
private Boolean openNewPage; private Boolean openNewPage;
//是否为外链 默认为false
private Boolean openOutside;
} }

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

@ -12,11 +12,11 @@ import java.time.LocalDateTime;
@Getter @Getter
public class Menu { public class Menu {
// //
@TableId(type = IdType.AUTO) @TableId(type = IdType.AUTO)
private Integer id; private Integer id;
// //
@TableField("pid") @TableField("pid")
private Integer pid; private Integer pid;
@ -36,7 +36,7 @@ public class Menu {
@TableField("menu_sort") @TableField("menu_sort")
private Integer menuSort; private Integer menuSort;
// //
@TableField("perms") @TableField("perms")
private String perms; private String perms;
@ -52,23 +52,26 @@ public class Menu {
@TableField("is_cache") @TableField("is_cache")
private Integer isCache; private Integer isCache;
// //
@TableField("is_show") @TableField("is_show")
private Integer isShow; private Integer isShow;
// //
@TableField("is_disable") @TableField("is_disable")
private Integer isDisable; private Integer isDisable;
// //
@TableField("create_time") @TableField("create_time")
private LocalDateTime createTime; private LocalDateTime createTime;
// //
@TableField("update_time") @TableField("update_time")
private LocalDateTime updateTime; private LocalDateTime updateTime;
// 是否打开新页面 默认为false // 是否打开新页面 默认为false
private Boolean openNewPage; 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 // 是否打开新页面 默认为false
private Boolean openNewPage; private Boolean openNewPage;
//是否为外链 默认为false
private Boolean openOutside;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private LocalDateTime updateTime; private LocalDateTime updateTime;

Loading…
Cancel
Save