5 changed files with 95 additions and 40 deletions
@ -0,0 +1,36 @@ |
|||
package com.ruoyi.flowable.domain.vo; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.util.List; |
|||
import java.util.Map; |
|||
|
|||
/** |
|||
* <p>流程任务<p> |
|||
* |
|||
* @author XuanXuan |
|||
* @date 2021-04-03 |
|||
*/ |
|||
@Data |
|||
@ApiModel("工作流任务相关--请求参数") |
|||
public class FlowQueryVo { |
|||
|
|||
@ApiModelProperty("流程名称") |
|||
private String name; |
|||
|
|||
@ApiModelProperty("开始时间") |
|||
private String startTime; |
|||
|
|||
@ApiModelProperty("结束时间") |
|||
private String endTime; |
|||
|
|||
@ApiModelProperty("当前页码") |
|||
private Integer pageNum; |
|||
|
|||
@ApiModelProperty("每页条数") |
|||
private Integer pageSize; |
|||
|
|||
|
|||
} |
|||
@ -0,0 +1,23 @@ |
|||
//package com.ruoyi.framework.config;
|
|||
//
|
|||
//import com.p6spy.engine.spy.appender.MessageFormattingStrategy;
|
|||
//import com.ruoyi.common.utils.DateUtils;
|
|||
//import org.apache.commons.lang3.StringUtils;
|
|||
//
|
|||
//import java.util.Date;
|
|||
//
|
|||
///**
|
|||
// * 自定义 p6spy sql输出格式
|
|||
// *
|
|||
// */
|
|||
//public class P6spySqlFormatConfig implements MessageFormattingStrategy {
|
|||
//
|
|||
// /**
|
|||
// * 过滤掉定时任务的 SQL
|
|||
// */
|
|||
// @Override
|
|||
// public String formatMessage(int connectionId, String now, long elapsed, String category, String prepared, String sql, String url) {
|
|||
// return StringUtils.isNotBlank(sql) ? DateUtils.parseDateToStr("yyyy-MM-dd HH:mm:ss", new Date())
|
|||
// + " | 耗时 " + elapsed + " ms | SQL 语句:" + StringUtils.LF + sql.replaceAll("[\\s]+", StringUtils.SPACE) + ";" : "";
|
|||
// }
|
|||
//}
|
|||
Loading…
Reference in new issue