mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2025-01-19 03:30:06 +08:00
commit
26f684e945
@ -94,6 +94,19 @@ public class QueryWrapperX<T> extends QueryWrapper<T> {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public QueryWrapperX<T> betweenIfPresent(String column, Object[] values) {
|
||||||
|
if (values!= null && values[0] != null && values[1] != null) {
|
||||||
|
return (QueryWrapperX<T>) super.between(column, values[0], values[1]);
|
||||||
|
}
|
||||||
|
if (values!= null && values[0] != null) {
|
||||||
|
return (QueryWrapperX<T>) ge(column, values[0]);
|
||||||
|
}
|
||||||
|
if (values!= null && values[1] != null) {
|
||||||
|
return (QueryWrapperX<T>) le(column, values[1]);
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
// ========== 重写父类方法,方便链式调用 ==========
|
// ========== 重写父类方法,方便链式调用 ==========
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -24,11 +24,7 @@ public class BpmUserGroupPageReqVO extends PageParam {
|
|||||||
private Integer status;
|
private Integer status;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始创建时间")
|
@ApiModelProperty(value = "创建时间")
|
||||||
private Date beginCreateTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束创建时间")
|
|
||||||
private Date endCreateTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -24,11 +24,7 @@ public class BpmOALeavePageReqVO extends PageParam {
|
|||||||
private String reason;
|
private String reason;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始申请时间")
|
@ApiModelProperty(value = "申请时间")
|
||||||
private Date beginCreateTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束申请时间")
|
|
||||||
private Date endCreateTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -33,12 +33,8 @@ public class BpmProcessInstanceMyPageReqVO extends PageParam {
|
|||||||
@ApiModelProperty(value = "流程分类", notes = "参见 bpm_model_category 数据字典", example = "1")
|
@ApiModelProperty(value = "流程分类", notes = "参见 bpm_model_category 数据字典", example = "1")
|
||||||
private String category;
|
private String category;
|
||||||
|
|
||||||
@ApiModelProperty(value = "开始的创建时间")
|
@ApiModelProperty(value = "创建时间")
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
private Date beginCreateTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@ApiModelProperty(value = "结束的创建时间")
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
private Date endCreateTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -21,7 +21,7 @@ public interface BpmUserGroupMapper extends BaseMapperX<BpmUserGroupDO> {
|
|||||||
return selectPage(reqVO, new LambdaQueryWrapperX<BpmUserGroupDO>()
|
return selectPage(reqVO, new LambdaQueryWrapperX<BpmUserGroupDO>()
|
||||||
.likeIfPresent(BpmUserGroupDO::getName, reqVO.getName())
|
.likeIfPresent(BpmUserGroupDO::getName, reqVO.getName())
|
||||||
.eqIfPresent(BpmUserGroupDO::getStatus, reqVO.getStatus())
|
.eqIfPresent(BpmUserGroupDO::getStatus, reqVO.getStatus())
|
||||||
.betweenIfPresent(BpmUserGroupDO::getCreateTime, reqVO.getBeginCreateTime(), reqVO.getEndCreateTime())
|
.betweenIfPresent(BpmUserGroupDO::getCreateTime, reqVO.getCreateTime())
|
||||||
.orderByDesc(BpmUserGroupDO::getId));
|
.orderByDesc(BpmUserGroupDO::getId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ public interface BpmOALeaveMapper extends BaseMapperX<BpmOALeaveDO> {
|
|||||||
.eqIfPresent(BpmOALeaveDO::getResult, reqVO.getResult())
|
.eqIfPresent(BpmOALeaveDO::getResult, reqVO.getResult())
|
||||||
.eqIfPresent(BpmOALeaveDO::getType, reqVO.getType())
|
.eqIfPresent(BpmOALeaveDO::getType, reqVO.getType())
|
||||||
.likeIfPresent(BpmOALeaveDO::getReason, reqVO.getReason())
|
.likeIfPresent(BpmOALeaveDO::getReason, reqVO.getReason())
|
||||||
.betweenIfPresent(BpmOALeaveDO::getCreateTime, reqVO.getBeginCreateTime(), reqVO.getEndCreateTime())
|
.betweenIfPresent(BpmOALeaveDO::getCreateTime, reqVO.getCreateTime())
|
||||||
.orderByDesc(BpmOALeaveDO::getId));
|
.orderByDesc(BpmOALeaveDO::getId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ public interface BpmProcessInstanceExtMapper extends BaseMapperX<BpmProcessInsta
|
|||||||
.eqIfPresent("category", reqVO.getCategory())
|
.eqIfPresent("category", reqVO.getCategory())
|
||||||
.eqIfPresent("status", reqVO.getStatus())
|
.eqIfPresent("status", reqVO.getStatus())
|
||||||
.eqIfPresent("result", reqVO.getResult())
|
.eqIfPresent("result", reqVO.getResult())
|
||||||
.betweenIfPresent("create_time", reqVO.getBeginCreateTime(), reqVO.getEndCreateTime())
|
.betweenIfPresent("create_time", reqVO.getCreateTime())
|
||||||
.orderByDesc("id"));
|
.orderByDesc("id"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -24,12 +24,8 @@ public class CodegenTablePageReqVO extends PageParam {
|
|||||||
@ApiModelProperty(value = "表描述", example = "芋道", notes = "模糊匹配")
|
@ApiModelProperty(value = "表描述", example = "芋道", notes = "模糊匹配")
|
||||||
private String tableComment;
|
private String tableComment;
|
||||||
|
|
||||||
@ApiModelProperty(value = "开始创建时间", example = "2020-10-24 00:00:00")
|
@ApiModelProperty(value = "创建时间", example = "[2022-07-01 00:00:00,2022-07-01 23:59:59]")
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
private Date beginCreateTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@ApiModelProperty(value = "结束创建时间", example = "2020-10-24 23:59:59")
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
private Date endCreateTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -22,12 +22,8 @@ public class ConfigExportReqVO {
|
|||||||
@ApiModelProperty(value = "参数类型", example = "1", notes = "参见 SysConfigTypeEnum 枚举")
|
@ApiModelProperty(value = "参数类型", example = "1", notes = "参见 SysConfigTypeEnum 枚举")
|
||||||
private Integer type;
|
private Integer type;
|
||||||
|
|
||||||
@ApiModelProperty(value = "开始时间", example = "2020-10-24 00:00:00")
|
@ApiModelProperty(value = "创建时间", example = "[2022-07-01 00:00:00,2022-07-01 23:59:59]")
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
private Date beginTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@ApiModelProperty(value = "结束时间", example = "2020-10-24 23:59:59")
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
private Date endTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -27,12 +27,8 @@ public class ConfigPageReqVO extends PageParam {
|
|||||||
@ApiModelProperty(value = "参数类型", example = "1", notes = "参见 SysConfigTypeEnum 枚举")
|
@ApiModelProperty(value = "参数类型", example = "1", notes = "参见 SysConfigTypeEnum 枚举")
|
||||||
private Integer type;
|
private Integer type;
|
||||||
|
|
||||||
@ApiModelProperty(value = "开始时间", example = "2020-10-24 00:00:00")
|
@ApiModelProperty(value = "创建时间", example = "[2022-07-01 00:00:00,2022-07-01 23:59:59]")
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
private Date beginTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@ApiModelProperty(value = "结束时间", example = "2020-10-24 23:59:59")
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
private Date endTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -25,11 +25,7 @@ public class FileConfigPageReqVO extends PageParam {
|
|||||||
private Integer storage;
|
private Integer storage;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始创建时间")
|
@ApiModelProperty(value = "创建时间")
|
||||||
private Date beginCreateTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束创建时间")
|
|
||||||
private Date endCreateTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -25,11 +25,7 @@ public class FilePageReqVO extends PageParam {
|
|||||||
private String type;
|
private String type;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始创建时间")
|
@ApiModelProperty(value = "创建时间")
|
||||||
private Date beginCreateTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束创建时间")
|
|
||||||
private Date endCreateTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -26,12 +26,8 @@ public class ApiAccessLogExportReqVO {
|
|||||||
private String requestUrl;
|
private String requestUrl;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始开始请求时间")
|
@ApiModelProperty(value = "开始请求时间")
|
||||||
private Date beginBeginTime;
|
private Date[] beginTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束开始请求时间")
|
|
||||||
private Date endBeginTime;
|
|
||||||
|
|
||||||
@ApiModelProperty(value = "执行时长", example = "100", notes = "大于等于,单位:毫秒")
|
@ApiModelProperty(value = "执行时长", example = "100", notes = "大于等于,单位:毫秒")
|
||||||
private Integer duration;
|
private Integer duration;
|
||||||
|
@ -31,12 +31,8 @@ public class ApiAccessLogPageReqVO extends PageParam {
|
|||||||
private String requestUrl;
|
private String requestUrl;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始开始请求时间")
|
@ApiModelProperty(value = "开始请求时间")
|
||||||
private Date beginBeginTime;
|
private Date[] beginTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束开始请求时间")
|
|
||||||
private Date endBeginTime;
|
|
||||||
|
|
||||||
@ApiModelProperty(value = "执行时长", example = "100", notes = "大于等于,单位:毫秒")
|
@ApiModelProperty(value = "执行时长", example = "100", notes = "大于等于,单位:毫秒")
|
||||||
private Integer duration;
|
private Integer duration;
|
||||||
|
@ -26,12 +26,8 @@ public class ApiErrorLogExportReqVO {
|
|||||||
private String requestUrl;
|
private String requestUrl;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始异常发生时间")
|
@ApiModelProperty(value = "异常发生时间")
|
||||||
private Date beginExceptionTime;
|
private Date[] exceptionTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束异常发生时间")
|
|
||||||
private Date endExceptionTime;
|
|
||||||
|
|
||||||
@ApiModelProperty(value = "处理状态", example = "0")
|
@ApiModelProperty(value = "处理状态", example = "0")
|
||||||
private Integer processStatus;
|
private Integer processStatus;
|
||||||
|
@ -31,12 +31,8 @@ public class ApiErrorLogPageReqVO extends PageParam {
|
|||||||
private String requestUrl;
|
private String requestUrl;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始异常发生时间")
|
@ApiModelProperty(value = "异常发生时间")
|
||||||
private Date beginExceptionTime;
|
private Date[] exceptionTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束异常发生时间")
|
|
||||||
private Date endExceptionTime;
|
|
||||||
|
|
||||||
@ApiModelProperty(value = "处理状态", example = "0")
|
@ApiModelProperty(value = "处理状态", example = "0")
|
||||||
private Integer processStatus;
|
private Integer processStatus;
|
||||||
|
@ -28,11 +28,7 @@ public class TestDemoExportReqVO {
|
|||||||
private String remark;
|
private String remark;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始创建时间")
|
@ApiModelProperty(value = "创建时间")
|
||||||
private Date beginCreateTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束创建时间")
|
|
||||||
private Date endCreateTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -30,11 +30,7 @@ public class TestDemoPageReqVO extends PageParam {
|
|||||||
private String remark;
|
private String remark;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始创建时间")
|
@ApiModelProperty(value = "创建时间")
|
||||||
private Date beginCreateTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束创建时间")
|
|
||||||
private Date endCreateTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -21,7 +21,7 @@ public interface CodegenTableMapper extends BaseMapperX<CodegenTableDO> {
|
|||||||
return selectPage(pageReqVO, new LambdaQueryWrapperX<CodegenTableDO>()
|
return selectPage(pageReqVO, new LambdaQueryWrapperX<CodegenTableDO>()
|
||||||
.likeIfPresent(CodegenTableDO::getTableName, pageReqVO.getTableName())
|
.likeIfPresent(CodegenTableDO::getTableName, pageReqVO.getTableName())
|
||||||
.likeIfPresent(CodegenTableDO::getTableComment, pageReqVO.getTableComment())
|
.likeIfPresent(CodegenTableDO::getTableComment, pageReqVO.getTableComment())
|
||||||
.betweenIfPresent(CodegenTableDO::getCreateTime, pageReqVO.getBeginCreateTime(), pageReqVO.getEndCreateTime()));
|
.betweenIfPresent(CodegenTableDO::getCreateTime, pageReqVO.getCreateTime()));
|
||||||
}
|
}
|
||||||
|
|
||||||
default List<CodegenTableDO> selectListByDataSourceConfigId(Long dataSourceConfigId) {
|
default List<CodegenTableDO> selectListByDataSourceConfigId(Long dataSourceConfigId) {
|
||||||
|
@ -22,7 +22,7 @@ public interface ConfigMapper extends BaseMapperX<ConfigDO> {
|
|||||||
.likeIfPresent(ConfigDO::getName, reqVO.getName())
|
.likeIfPresent(ConfigDO::getName, reqVO.getName())
|
||||||
.likeIfPresent(ConfigDO::getConfigKey, reqVO.getKey())
|
.likeIfPresent(ConfigDO::getConfigKey, reqVO.getKey())
|
||||||
.eqIfPresent(ConfigDO::getType, reqVO.getType())
|
.eqIfPresent(ConfigDO::getType, reqVO.getType())
|
||||||
.betweenIfPresent(ConfigDO::getCreateTime, reqVO.getBeginTime(), reqVO.getEndTime()));
|
.betweenIfPresent(ConfigDO::getCreateTime, reqVO.getCreateTime()));
|
||||||
}
|
}
|
||||||
|
|
||||||
default List<ConfigDO> selectList(ConfigExportReqVO reqVO) {
|
default List<ConfigDO> selectList(ConfigExportReqVO reqVO) {
|
||||||
@ -30,7 +30,7 @@ public interface ConfigMapper extends BaseMapperX<ConfigDO> {
|
|||||||
.likeIfPresent(ConfigDO::getName, reqVO.getName())
|
.likeIfPresent(ConfigDO::getName, reqVO.getName())
|
||||||
.likeIfPresent(ConfigDO::getConfigKey, reqVO.getKey())
|
.likeIfPresent(ConfigDO::getConfigKey, reqVO.getKey())
|
||||||
.eqIfPresent(ConfigDO::getType, reqVO.getType())
|
.eqIfPresent(ConfigDO::getType, reqVO.getType())
|
||||||
.betweenIfPresent(ConfigDO::getCreateTime, reqVO.getBeginTime(), reqVO.getEndTime()));
|
.betweenIfPresent(ConfigDO::getCreateTime, reqVO.getCreateTime()));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -22,7 +22,7 @@ public interface FileConfigMapper extends BaseMapperX<FileConfigDO> {
|
|||||||
return selectPage(reqVO, new LambdaQueryWrapperX<FileConfigDO>()
|
return selectPage(reqVO, new LambdaQueryWrapperX<FileConfigDO>()
|
||||||
.likeIfPresent(FileConfigDO::getName, reqVO.getName())
|
.likeIfPresent(FileConfigDO::getName, reqVO.getName())
|
||||||
.eqIfPresent(FileConfigDO::getStorage, reqVO.getStorage())
|
.eqIfPresent(FileConfigDO::getStorage, reqVO.getStorage())
|
||||||
.betweenIfPresent(FileConfigDO::getCreateTime, reqVO.getBeginCreateTime(), reqVO.getEndCreateTime())
|
.betweenIfPresent(FileConfigDO::getCreateTime, reqVO.getCreateTime())
|
||||||
.orderByDesc(FileConfigDO::getId));
|
.orderByDesc(FileConfigDO::getId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ public interface FileMapper extends BaseMapperX<FileDO> {
|
|||||||
return selectPage(reqVO, new LambdaQueryWrapperX<FileDO>()
|
return selectPage(reqVO, new LambdaQueryWrapperX<FileDO>()
|
||||||
.likeIfPresent(FileDO::getPath, reqVO.getPath())
|
.likeIfPresent(FileDO::getPath, reqVO.getPath())
|
||||||
.likeIfPresent(FileDO::getType, reqVO.getType())
|
.likeIfPresent(FileDO::getType, reqVO.getType())
|
||||||
.betweenIfPresent(FileDO::getCreateTime, reqVO.getBeginCreateTime(), reqVO.getEndCreateTime())
|
.betweenIfPresent(FileDO::getCreateTime, reqVO.getCreateTime())
|
||||||
.orderByDesc(FileDO::getId));
|
.orderByDesc(FileDO::getId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ public interface ApiAccessLogMapper extends BaseMapperX<ApiAccessLogDO> {
|
|||||||
.eqIfPresent("user_type", reqVO.getUserType())
|
.eqIfPresent("user_type", reqVO.getUserType())
|
||||||
.eqIfPresent("application_name", reqVO.getApplicationName())
|
.eqIfPresent("application_name", reqVO.getApplicationName())
|
||||||
.likeIfPresent("request_url", reqVO.getRequestUrl())
|
.likeIfPresent("request_url", reqVO.getRequestUrl())
|
||||||
.betweenIfPresent("begin_time", reqVO.getBeginBeginTime(), reqVO.getEndBeginTime())
|
.betweenIfPresent("begin_time", reqVO.getBeginTime())
|
||||||
.geIfPresent("duration", reqVO.getDuration())
|
.geIfPresent("duration", reqVO.getDuration())
|
||||||
.eqIfPresent("result_code", reqVO.getResultCode())
|
.eqIfPresent("result_code", reqVO.getResultCode())
|
||||||
.orderByDesc("id")
|
.orderByDesc("id")
|
||||||
@ -37,7 +37,7 @@ public interface ApiAccessLogMapper extends BaseMapperX<ApiAccessLogDO> {
|
|||||||
.eqIfPresent("user_type", reqVO.getUserType())
|
.eqIfPresent("user_type", reqVO.getUserType())
|
||||||
.eqIfPresent("application_name", reqVO.getApplicationName())
|
.eqIfPresent("application_name", reqVO.getApplicationName())
|
||||||
.likeIfPresent("request_url", reqVO.getRequestUrl())
|
.likeIfPresent("request_url", reqVO.getRequestUrl())
|
||||||
.betweenIfPresent("begin_time", reqVO.getBeginBeginTime(), reqVO.getEndBeginTime())
|
.betweenIfPresent("begin_time", reqVO.getBeginTime())
|
||||||
.geIfPresent("duration", reqVO.getDuration())
|
.geIfPresent("duration", reqVO.getDuration())
|
||||||
.eqIfPresent("result_code", reqVO.getResultCode())
|
.eqIfPresent("result_code", reqVO.getResultCode())
|
||||||
.orderByDesc("id")
|
.orderByDesc("id")
|
||||||
|
@ -24,7 +24,7 @@ public interface ApiErrorLogMapper extends BaseMapperX<ApiErrorLogDO> {
|
|||||||
.eqIfPresent("user_type", reqVO.getUserType())
|
.eqIfPresent("user_type", reqVO.getUserType())
|
||||||
.eqIfPresent("application_name", reqVO.getApplicationName())
|
.eqIfPresent("application_name", reqVO.getApplicationName())
|
||||||
.likeIfPresent("request_url", reqVO.getRequestUrl())
|
.likeIfPresent("request_url", reqVO.getRequestUrl())
|
||||||
.betweenIfPresent("exception_time", reqVO.getBeginExceptionTime(), reqVO.getEndExceptionTime())
|
.betweenIfPresent("exception_time", reqVO.getExceptionTime())
|
||||||
.eqIfPresent("process_status", reqVO.getProcessStatus())
|
.eqIfPresent("process_status", reqVO.getProcessStatus())
|
||||||
.orderByDesc("id")
|
.orderByDesc("id")
|
||||||
);
|
);
|
||||||
@ -36,7 +36,7 @@ public interface ApiErrorLogMapper extends BaseMapperX<ApiErrorLogDO> {
|
|||||||
.eqIfPresent("user_type", reqVO.getUserType())
|
.eqIfPresent("user_type", reqVO.getUserType())
|
||||||
.eqIfPresent("application_name", reqVO.getApplicationName())
|
.eqIfPresent("application_name", reqVO.getApplicationName())
|
||||||
.likeIfPresent("request_url", reqVO.getRequestUrl())
|
.likeIfPresent("request_url", reqVO.getRequestUrl())
|
||||||
.betweenIfPresent("exception_time", reqVO.getBeginExceptionTime(), reqVO.getEndExceptionTime())
|
.betweenIfPresent("exception_time", reqVO.getExceptionTime())
|
||||||
.eqIfPresent("process_status", reqVO.getProcessStatus())
|
.eqIfPresent("process_status", reqVO.getProcessStatus())
|
||||||
.orderByDesc("id")
|
.orderByDesc("id")
|
||||||
);
|
);
|
||||||
|
@ -25,7 +25,7 @@ public interface TestDemoMapper extends BaseMapperX<TestDemoDO> {
|
|||||||
.eqIfPresent(TestDemoDO::getType, reqVO.getType())
|
.eqIfPresent(TestDemoDO::getType, reqVO.getType())
|
||||||
.eqIfPresent(TestDemoDO::getCategory, reqVO.getCategory())
|
.eqIfPresent(TestDemoDO::getCategory, reqVO.getCategory())
|
||||||
.eqIfPresent(TestDemoDO::getRemark, reqVO.getRemark())
|
.eqIfPresent(TestDemoDO::getRemark, reqVO.getRemark())
|
||||||
.betweenIfPresent(TestDemoDO::getCreateTime, reqVO.getBeginCreateTime(), reqVO.getEndCreateTime())
|
.betweenIfPresent(TestDemoDO::getCreateTime, reqVO.getCreateTime())
|
||||||
.orderByDesc(TestDemoDO::getId));
|
.orderByDesc(TestDemoDO::getId));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -36,7 +36,7 @@ public interface TestDemoMapper extends BaseMapperX<TestDemoDO> {
|
|||||||
.eqIfPresent(TestDemoDO::getType, reqVO.getType())
|
.eqIfPresent(TestDemoDO::getType, reqVO.getType())
|
||||||
.eqIfPresent(TestDemoDO::getCategory, reqVO.getCategory())
|
.eqIfPresent(TestDemoDO::getCategory, reqVO.getCategory())
|
||||||
.eqIfPresent(TestDemoDO::getRemark, reqVO.getRemark())
|
.eqIfPresent(TestDemoDO::getRemark, reqVO.getRemark())
|
||||||
.betweenIfPresent(TestDemoDO::getCreateTime, reqVO.getBeginCreateTime(), reqVO.getEndCreateTime())
|
.betweenIfPresent(TestDemoDO::getCreateTime, reqVO.getCreateTime())
|
||||||
.orderByDesc(TestDemoDO::getId));
|
.orderByDesc(TestDemoDO::getId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ import ${basePackage}.module.${table.moduleName}.controller.${sceneEnum.basePack
|
|||||||
.likeIfPresent(${table.className}DO::get${JavaField}, reqVO.get${JavaField}())
|
.likeIfPresent(${table.className}DO::get${JavaField}, reqVO.get${JavaField}())
|
||||||
#end
|
#end
|
||||||
#if (${column.listOperationCondition} == "BETWEEN")##情况八,Between 的时候
|
#if (${column.listOperationCondition} == "BETWEEN")##情况八,Between 的时候
|
||||||
.betweenIfPresent(${table.className}DO::get${JavaField}, reqVO.getBegin${JavaField}(), reqVO.getEnd${JavaField}())
|
.betweenIfPresent(${table.className}DO::get${JavaField}, reqVO.get${JavaField}())
|
||||||
#end
|
#end
|
||||||
#end
|
#end
|
||||||
#end
|
#end
|
||||||
|
@ -29,36 +29,20 @@ public class ActivityPageReqVO extends PageParam {
|
|||||||
private Integer status;
|
private Integer status;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始开始时间")
|
@ApiModelProperty(value = "开始时间")
|
||||||
private Date beginStartTime;
|
private Date[] startTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "结束开始时间")
|
@ApiModelProperty(value = "结束时间")
|
||||||
private Date endStartTime;
|
private Date[] endTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始结束时间")
|
@ApiModelProperty(value = "失效时间")
|
||||||
private Date beginEndTime;
|
private Date[] invalidTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "结束结束时间")
|
@ApiModelProperty(value = "删除时间")
|
||||||
private Date endEndTime;
|
private Date[] deleteTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "开始失效时间")
|
|
||||||
private Date beginInvalidTime;
|
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束失效时间")
|
|
||||||
private Date endInvalidTime;
|
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "开始删除时间")
|
|
||||||
private Date beginDeleteTime;
|
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束删除时间")
|
|
||||||
private Date endDeleteTime;
|
|
||||||
|
|
||||||
@ApiModelProperty(value = "限制折扣字符串,使用 JSON 序列化成字符串存储")
|
@ApiModelProperty(value = "限制折扣字符串,使用 JSON 序列化成字符串存储")
|
||||||
private String timeLimitedDiscount;
|
private String timeLimitedDiscount;
|
||||||
@ -67,11 +51,7 @@ public class ActivityPageReqVO extends PageParam {
|
|||||||
private String fullPrivilege;
|
private String fullPrivilege;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始创建时间")
|
@ApiModelProperty(value = "创建时间")
|
||||||
private Date beginCreateTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束创建时间")
|
|
||||||
private Date endCreateTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -32,11 +32,7 @@ public class BannerPageReqVO extends PageParam {
|
|||||||
private Integer status;
|
private Integer status;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始创建时间")
|
@ApiModelProperty(value = "创建时间")
|
||||||
private Date beginCreateTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束创建时间")
|
|
||||||
private Date endCreateTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -22,13 +22,13 @@ public interface ActivityMapper extends BaseMapperX<ActivityDO> {
|
|||||||
.eqIfPresent(ActivityDO::getTitle, reqVO.getTitle())
|
.eqIfPresent(ActivityDO::getTitle, reqVO.getTitle())
|
||||||
.eqIfPresent(ActivityDO::getActivityType, reqVO.getActivityType())
|
.eqIfPresent(ActivityDO::getActivityType, reqVO.getActivityType())
|
||||||
.eqIfPresent(ActivityDO::getStatus, reqVO.getStatus())
|
.eqIfPresent(ActivityDO::getStatus, reqVO.getStatus())
|
||||||
.betweenIfPresent(ActivityDO::getStartTime, reqVO.getBeginStartTime(), reqVO.getEndStartTime())
|
.betweenIfPresent(ActivityDO::getStartTime, reqVO.getStartTime())
|
||||||
.betweenIfPresent(ActivityDO::getEndTime, reqVO.getBeginEndTime(), reqVO.getEndEndTime())
|
.betweenIfPresent(ActivityDO::getEndTime, reqVO.getEndTime())
|
||||||
.betweenIfPresent(ActivityDO::getInvalidTime, reqVO.getBeginInvalidTime(), reqVO.getEndInvalidTime())
|
.betweenIfPresent(ActivityDO::getInvalidTime, reqVO.getInvalidTime())
|
||||||
.betweenIfPresent(ActivityDO::getDeleteTime, reqVO.getBeginDeleteTime(), reqVO.getEndDeleteTime())
|
.betweenIfPresent(ActivityDO::getDeleteTime, reqVO.getDeleteTime())
|
||||||
.eqIfPresent(ActivityDO::getTimeLimitedDiscount, reqVO.getTimeLimitedDiscount())
|
.eqIfPresent(ActivityDO::getTimeLimitedDiscount, reqVO.getTimeLimitedDiscount())
|
||||||
.eqIfPresent(ActivityDO::getFullPrivilege, reqVO.getFullPrivilege())
|
.eqIfPresent(ActivityDO::getFullPrivilege, reqVO.getFullPrivilege())
|
||||||
.betweenIfPresent(ActivityDO::getCreateTime, reqVO.getBeginCreateTime(), reqVO.getEndCreateTime())
|
.betweenIfPresent(ActivityDO::getCreateTime, reqVO.getCreateTime())
|
||||||
.orderByDesc(ActivityDO::getId));
|
.orderByDesc(ActivityDO::getId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -19,8 +19,7 @@ public interface BannerMapper extends BaseMapperX<BannerDO> {
|
|||||||
return selectPage(reqVO, new LambdaQueryWrapperX<BannerDO>()
|
return selectPage(reqVO, new LambdaQueryWrapperX<BannerDO>()
|
||||||
.likeIfPresent(BannerDO::getTitle, reqVO.getTitle())
|
.likeIfPresent(BannerDO::getTitle, reqVO.getTitle())
|
||||||
.eqIfPresent(BannerDO::getStatus, reqVO.getStatus())
|
.eqIfPresent(BannerDO::getStatus, reqVO.getStatus())
|
||||||
.betweenIfPresent(BannerDO::getCreateTime, reqVO.getBeginCreateTime(), reqVO.getEndCreateTime())
|
.betweenIfPresent(BannerDO::getCreateTime, reqVO.getCreateTime())
|
||||||
.betweenIfPresent(BannerDO::getCreateTime, reqVO.getBeginCreateTime(), reqVO.getEndCreateTime())
|
|
||||||
.orderByDesc(BannerDO::getSort));
|
.orderByDesc(BannerDO::getSort));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -22,11 +22,7 @@ public class BrandExportReqVO {
|
|||||||
private Integer status;
|
private Integer status;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始创建时间")
|
@ApiModelProperty(value = "创建时间")
|
||||||
private Date beginCreateTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束创建时间")
|
|
||||||
private Date endCreateTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -24,11 +24,7 @@ public class BrandPageReqVO extends PageParam {
|
|||||||
private Integer status;
|
private Integer status;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始创建时间")
|
@ApiModelProperty(value = "创建时间")
|
||||||
private Date beginCreateTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束创建时间")
|
|
||||||
private Date endCreateTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -20,11 +20,7 @@ public class CategoryExportReqVO {
|
|||||||
private Integer status;
|
private Integer status;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始创建时间")
|
@ApiModelProperty(value = "创建时间")
|
||||||
private Date beginCreateTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束创建时间")
|
|
||||||
private Date endCreateTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -25,11 +25,7 @@ public class CategoryPageReqVO extends PageParam {
|
|||||||
private Integer status;
|
private Integer status;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始创建时间")
|
@ApiModelProperty(value = "创建时间")
|
||||||
private Date beginCreateTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束创建时间")
|
|
||||||
private Date endCreateTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -20,10 +20,6 @@ public class CategoryTreeListReqVO extends CategoryExportReqVO {
|
|||||||
private Integer status;
|
private Integer status;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始创建时间")
|
@ApiModelProperty(value = "创建时间")
|
||||||
private Date beginCreateTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束创建时间")
|
|
||||||
private Date endCreateTime;
|
|
||||||
}
|
}
|
||||||
|
@ -19,11 +19,7 @@ public class ProductPropertyExportReqVO {
|
|||||||
private Integer status;
|
private Integer status;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始创建时间")
|
@ApiModelProperty(value = "创建时间")
|
||||||
private Date beginCreateTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束创建时间")
|
|
||||||
private Date endCreateTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -21,11 +21,7 @@ public class ProductPropertyPageReqVO extends PageParam {
|
|||||||
private Integer status;
|
private Integer status;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始创建时间")
|
@ApiModelProperty(value = "创建时间")
|
||||||
private Date beginCreateTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束创建时间")
|
|
||||||
private Date endCreateTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -37,11 +37,7 @@ public class ProductSkuExportReqVO {
|
|||||||
private Integer status;
|
private Integer status;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始创建时间")
|
@ApiModelProperty(value = "创建时间")
|
||||||
private Date beginCreateTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束创建时间")
|
|
||||||
private Date endCreateTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -39,11 +39,7 @@ public class ProductSkuPageReqVO extends PageParam {
|
|||||||
private Integer status;
|
private Integer status;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始创建时间")
|
@ApiModelProperty(value = "创建时间")
|
||||||
private Date beginCreateTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束创建时间")
|
|
||||||
private Date endCreateTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -43,11 +43,7 @@ public class SpuExportReqVO {
|
|||||||
private Boolean status;
|
private Boolean status;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始创建时间")
|
@ApiModelProperty(value = "创建时间")
|
||||||
private Date beginCreateTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束创建时间")
|
|
||||||
private Date endCreateTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -45,11 +45,7 @@ public class SpuPageReqVO extends PageParam {
|
|||||||
private Boolean status;
|
private Boolean status;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始创建时间")
|
@ApiModelProperty(value = "创建时间")
|
||||||
private Date beginCreateTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束创建时间")
|
|
||||||
private Date endCreateTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -22,7 +22,7 @@ public interface BrandMapper extends BaseMapperX<BrandDO> {
|
|||||||
.eqIfPresent(BrandDO::getCategoryId, reqVO.getCategoryId())
|
.eqIfPresent(BrandDO::getCategoryId, reqVO.getCategoryId())
|
||||||
.likeIfPresent(BrandDO::getName, reqVO.getName())
|
.likeIfPresent(BrandDO::getName, reqVO.getName())
|
||||||
.eqIfPresent(BrandDO::getStatus, reqVO.getStatus())
|
.eqIfPresent(BrandDO::getStatus, reqVO.getStatus())
|
||||||
.betweenIfPresent(BrandDO::getCreateTime, reqVO.getBeginCreateTime(), reqVO.getEndCreateTime())
|
.betweenIfPresent(BrandDO::getCreateTime, reqVO.getCreateTime())
|
||||||
.orderByDesc(BrandDO::getId));
|
.orderByDesc(BrandDO::getId));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -31,7 +31,7 @@ public interface BrandMapper extends BaseMapperX<BrandDO> {
|
|||||||
.eqIfPresent(BrandDO::getCategoryId, reqVO.getCategoryId())
|
.eqIfPresent(BrandDO::getCategoryId, reqVO.getCategoryId())
|
||||||
.likeIfPresent(BrandDO::getName, reqVO.getName())
|
.likeIfPresent(BrandDO::getName, reqVO.getName())
|
||||||
.eqIfPresent(BrandDO::getStatus, reqVO.getStatus())
|
.eqIfPresent(BrandDO::getStatus, reqVO.getStatus())
|
||||||
.betweenIfPresent(BrandDO::getCreateTime, reqVO.getBeginCreateTime(), reqVO.getEndCreateTime())
|
.betweenIfPresent(BrandDO::getCreateTime, reqVO.getCreateTime())
|
||||||
.orderByDesc(BrandDO::getId));
|
.orderByDesc(BrandDO::getId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ public interface CategoryMapper extends BaseMapperX<CategoryDO> {
|
|||||||
return selectPage(reqVO, new LambdaQueryWrapperX<CategoryDO>()
|
return selectPage(reqVO, new LambdaQueryWrapperX<CategoryDO>()
|
||||||
.likeIfPresent(CategoryDO::getName, reqVO.getName())
|
.likeIfPresent(CategoryDO::getName, reqVO.getName())
|
||||||
.eqIfPresent(CategoryDO::getStatus, reqVO.getStatus())
|
.eqIfPresent(CategoryDO::getStatus, reqVO.getStatus())
|
||||||
.betweenIfPresent(CategoryDO::getCreateTime, reqVO.getBeginCreateTime(), reqVO.getEndCreateTime())
|
.betweenIfPresent(CategoryDO::getCreateTime, reqVO.getCreateTime())
|
||||||
.orderByDesc(CategoryDO::getId));
|
.orderByDesc(CategoryDO::getId));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -30,7 +30,7 @@ public interface CategoryMapper extends BaseMapperX<CategoryDO> {
|
|||||||
return selectList(new LambdaQueryWrapperX<CategoryDO>()
|
return selectList(new LambdaQueryWrapperX<CategoryDO>()
|
||||||
.likeIfPresent(CategoryDO::getName, reqVO.getName())
|
.likeIfPresent(CategoryDO::getName, reqVO.getName())
|
||||||
.eqIfPresent(CategoryDO::getStatus, reqVO.getStatus())
|
.eqIfPresent(CategoryDO::getStatus, reqVO.getStatus())
|
||||||
.betweenIfPresent(CategoryDO::getCreateTime, reqVO.getBeginCreateTime(), reqVO.getEndCreateTime())
|
.betweenIfPresent(CategoryDO::getCreateTime, reqVO.getCreateTime())
|
||||||
.orderByDesc(CategoryDO::getId));
|
.orderByDesc(CategoryDO::getId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ public interface ProductPropertyMapper extends BaseMapperX<ProductPropertyDO> {
|
|||||||
return selectPage(reqVO, new LambdaQueryWrapperX<ProductPropertyDO>()
|
return selectPage(reqVO, new LambdaQueryWrapperX<ProductPropertyDO>()
|
||||||
.likeIfPresent(ProductPropertyDO::getName, reqVO.getName())
|
.likeIfPresent(ProductPropertyDO::getName, reqVO.getName())
|
||||||
.eqIfPresent(ProductPropertyDO::getStatus, reqVO.getStatus())
|
.eqIfPresent(ProductPropertyDO::getStatus, reqVO.getStatus())
|
||||||
.betweenIfPresent(ProductPropertyDO::getCreateTime, reqVO.getBeginCreateTime(), reqVO.getEndCreateTime())
|
.betweenIfPresent(ProductPropertyDO::getCreateTime, reqVO.getCreateTime())
|
||||||
.orderByDesc(ProductPropertyDO::getId));
|
.orderByDesc(ProductPropertyDO::getId));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -29,7 +29,7 @@ public interface ProductPropertyMapper extends BaseMapperX<ProductPropertyDO> {
|
|||||||
return selectList(new LambdaQueryWrapperX<ProductPropertyDO>()
|
return selectList(new LambdaQueryWrapperX<ProductPropertyDO>()
|
||||||
.likeIfPresent(ProductPropertyDO::getName, reqVO.getName())
|
.likeIfPresent(ProductPropertyDO::getName, reqVO.getName())
|
||||||
.eqIfPresent(ProductPropertyDO::getStatus, reqVO.getStatus())
|
.eqIfPresent(ProductPropertyDO::getStatus, reqVO.getStatus())
|
||||||
.betweenIfPresent(ProductPropertyDO::getCreateTime, reqVO.getBeginCreateTime(), reqVO.getEndCreateTime())
|
.betweenIfPresent(ProductPropertyDO::getCreateTime, reqVO.getCreateTime())
|
||||||
.orderByDesc(ProductPropertyDO::getId));
|
.orderByDesc(ProductPropertyDO::getId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ public interface ProductSkuMapper extends BaseMapperX<ProductSkuDO> {
|
|||||||
.eqIfPresent(ProductSkuDO::getBarCode, reqVO.getBarCode())
|
.eqIfPresent(ProductSkuDO::getBarCode, reqVO.getBarCode())
|
||||||
.eqIfPresent(ProductSkuDO::getPicUrl, reqVO.getPicUrl())
|
.eqIfPresent(ProductSkuDO::getPicUrl, reqVO.getPicUrl())
|
||||||
.eqIfPresent(ProductSkuDO::getStatus, reqVO.getStatus())
|
.eqIfPresent(ProductSkuDO::getStatus, reqVO.getStatus())
|
||||||
.betweenIfPresent(ProductSkuDO::getCreateTime, reqVO.getBeginCreateTime(), reqVO.getEndCreateTime())
|
.betweenIfPresent(ProductSkuDO::getCreateTime, reqVO.getCreateTime())
|
||||||
.orderByDesc(ProductSkuDO::getId));
|
.orderByDesc(ProductSkuDO::getId));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -42,7 +42,7 @@ public interface ProductSkuMapper extends BaseMapperX<ProductSkuDO> {
|
|||||||
.eqIfPresent(ProductSkuDO::getBarCode, reqVO.getBarCode())
|
.eqIfPresent(ProductSkuDO::getBarCode, reqVO.getBarCode())
|
||||||
.eqIfPresent(ProductSkuDO::getPicUrl, reqVO.getPicUrl())
|
.eqIfPresent(ProductSkuDO::getPicUrl, reqVO.getPicUrl())
|
||||||
.eqIfPresent(ProductSkuDO::getStatus, reqVO.getStatus())
|
.eqIfPresent(ProductSkuDO::getStatus, reqVO.getStatus())
|
||||||
.betweenIfPresent(ProductSkuDO::getCreateTime, reqVO.getBeginCreateTime(), reqVO.getEndCreateTime())
|
.betweenIfPresent(ProductSkuDO::getCreateTime, reqVO.getCreateTime())
|
||||||
.orderByDesc(ProductSkuDO::getId));
|
.orderByDesc(ProductSkuDO::getId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ public interface ProductSpuMapper extends BaseMapperX<ProductSpuDO> {
|
|||||||
.eqIfPresent(ProductSpuDO::getPrice, reqVO.getPrice())
|
.eqIfPresent(ProductSpuDO::getPrice, reqVO.getPrice())
|
||||||
.eqIfPresent(ProductSpuDO::getQuantity, reqVO.getQuantity())
|
.eqIfPresent(ProductSpuDO::getQuantity, reqVO.getQuantity())
|
||||||
.eqIfPresent(ProductSpuDO::getStatus, reqVO.getStatus())
|
.eqIfPresent(ProductSpuDO::getStatus, reqVO.getStatus())
|
||||||
.betweenIfPresent(ProductSpuDO::getCreateTime, reqVO.getBeginCreateTime(), reqVO.getEndCreateTime())
|
.betweenIfPresent(ProductSpuDO::getCreateTime, reqVO.getCreateTime())
|
||||||
.orderByDesc(ProductSpuDO::getId));
|
.orderByDesc(ProductSpuDO::getId));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -45,7 +45,7 @@ public interface ProductSpuMapper extends BaseMapperX<ProductSpuDO> {
|
|||||||
.eqIfPresent(ProductSpuDO::getPrice, reqVO.getPrice())
|
.eqIfPresent(ProductSpuDO::getPrice, reqVO.getPrice())
|
||||||
.eqIfPresent(ProductSpuDO::getQuantity, reqVO.getQuantity())
|
.eqIfPresent(ProductSpuDO::getQuantity, reqVO.getQuantity())
|
||||||
.eqIfPresent(ProductSpuDO::getStatus, reqVO.getStatus())
|
.eqIfPresent(ProductSpuDO::getStatus, reqVO.getStatus())
|
||||||
.betweenIfPresent(ProductSpuDO::getCreateTime, reqVO.getBeginCreateTime(), reqVO.getEndCreateTime())
|
.betweenIfPresent(ProductSpuDO::getCreateTime, reqVO.getCreateTime())
|
||||||
.orderByDesc(ProductSpuDO::getId));
|
.orderByDesc(ProductSpuDO::getId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -31,11 +31,7 @@ public class PayAppExportReqVO {
|
|||||||
private String merchantName;
|
private String merchantName;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始创建时间")
|
@ApiModelProperty(value = "创建时间")
|
||||||
private Date beginCreateTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束创建时间")
|
|
||||||
private Date endCreateTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -33,11 +33,7 @@ public class PayAppPageReqVO extends PageParam {
|
|||||||
private String merchantName;
|
private String merchantName;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始创建时间")
|
@ApiModelProperty(value = "创建时间")
|
||||||
private Date beginCreateTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束创建时间")
|
|
||||||
private Date endCreateTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -34,11 +34,7 @@ public class PayChannelExportReqVO {
|
|||||||
private String config;
|
private String config;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始创建时间")
|
@ApiModelProperty(value = "创建时间")
|
||||||
private Date beginCreateTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束创建时间")
|
|
||||||
private Date endCreateTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -36,11 +36,7 @@ public class PayChannelPageReqVO extends PageParam {
|
|||||||
private String config;
|
private String config;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始创建时间")
|
@ApiModelProperty(value = "创建时间")
|
||||||
private Date beginCreateTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束创建时间")
|
|
||||||
private Date endCreateTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -28,11 +28,7 @@ public class PayMerchantExportReqVO {
|
|||||||
private String remark;
|
private String remark;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始创建时间")
|
@ApiModelProperty(value = "创建时间")
|
||||||
private Date beginCreateTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束创建时间")
|
|
||||||
private Date endCreateTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -30,11 +30,7 @@ public class PayMerchantPageReqVO extends PageParam {
|
|||||||
private String remark;
|
private String remark;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始创建时间")
|
@ApiModelProperty(value = "创建时间")
|
||||||
private Date beginCreateTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束创建时间")
|
|
||||||
private Date endCreateTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -56,28 +56,16 @@ public class PayOrderExportReqVO {
|
|||||||
private String userIp;
|
private String userIp;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始订单失效时间")
|
@ApiModelProperty(value = "订单失效时间")
|
||||||
private Date beginExpireTime;
|
private Date[] expireTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束订单失效时间")
|
|
||||||
private Date endExpireTime;
|
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始订单支付成功时间")
|
@ApiModelProperty(value = "开始订单支付成功时间")
|
||||||
private Date beginSuccessTime;
|
private Date[] successTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束订单支付成功时间")
|
|
||||||
private Date endSuccessTime;
|
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始订单支付通知时间")
|
@ApiModelProperty(value = "开始订单支付通知时间")
|
||||||
private Date beginNotifyTime;
|
private Date[] notifyTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束订单支付通知时间")
|
|
||||||
private Date endNotifyTime;
|
|
||||||
|
|
||||||
@ApiModelProperty(value = "支付成功的订单拓展单编号")
|
@ApiModelProperty(value = "支付成功的订单拓展单编号")
|
||||||
private Long successExtensionId;
|
private Long successExtensionId;
|
||||||
@ -98,11 +86,7 @@ public class PayOrderExportReqVO {
|
|||||||
private String channelOrderNo;
|
private String channelOrderNo;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始创建时间")
|
@ApiModelProperty(value = "创建时间")
|
||||||
private Date beginCreateTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束创建时间")
|
|
||||||
private Date endCreateTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -61,28 +61,16 @@ public class PayOrderPageReqVO extends PageParam {
|
|||||||
private String userIp;
|
private String userIp;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始订单失效时间")
|
@ApiModelProperty(value = "订单失效时间")
|
||||||
private Date beginExpireTime;
|
private Date[] expireTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "结束订单失效时间")
|
@ApiModelProperty(value = "订单支付成功时间")
|
||||||
private Date endExpireTime;
|
private Date[] successTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始订单支付成功时间")
|
@ApiModelProperty(value = "订单支付通知时间")
|
||||||
private Date beginSuccessTime;
|
private Date[] notifyTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束订单支付成功时间")
|
|
||||||
private Date endSuccessTime;
|
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "开始订单支付通知时间")
|
|
||||||
private Date beginNotifyTime;
|
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束订单支付通知时间")
|
|
||||||
private Date endNotifyTime;
|
|
||||||
|
|
||||||
@ApiModelProperty(value = "支付成功的订单拓展单编号")
|
@ApiModelProperty(value = "支付成功的订单拓展单编号")
|
||||||
private Long successExtensionId;
|
private Long successExtensionId;
|
||||||
@ -103,11 +91,7 @@ public class PayOrderPageReqVO extends PageParam {
|
|||||||
private String channelOrderNo;
|
private String channelOrderNo;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始创建时间")
|
@ApiModelProperty(value = "创建时间")
|
||||||
private Date beginCreateTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束创建时间")
|
|
||||||
private Date endCreateTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -77,35 +77,19 @@ public class PayRefundExportReqVO {
|
|||||||
private String channelExtras;
|
private String channelExtras;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始退款失效时间")
|
@ApiModelProperty(value = "退款失效时间")
|
||||||
private Date beginExpireTime;
|
private Date[] expireTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "结束退款失效时间")
|
@ApiModelProperty(value = "退款成功时间")
|
||||||
private Date endExpireTime;
|
private Date[] successTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始退款成功时间")
|
@ApiModelProperty(value = "退款通知时间")
|
||||||
private Date beginSuccessTime;
|
private Date[] notifyTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "结束退款成功时间")
|
@ApiModelProperty(value = "创建时间")
|
||||||
private Date endSuccessTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "开始退款通知时间")
|
|
||||||
private Date beginNotifyTime;
|
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束退款通知时间")
|
|
||||||
private Date endNotifyTime;
|
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "开始创建时间")
|
|
||||||
private Date beginCreateTime;
|
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束创建时间")
|
|
||||||
private Date endCreateTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -82,35 +82,19 @@ public class PayRefundPageReqVO extends PageParam {
|
|||||||
private String channelExtras;
|
private String channelExtras;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始退款失效时间")
|
@ApiModelProperty(value = "退款失效时间")
|
||||||
private Date beginExpireTime;
|
private Date[] expireTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "结束退款失效时间")
|
@ApiModelProperty(value = "退款成功时间")
|
||||||
private Date endExpireTime;
|
private Date[] successTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始退款成功时间")
|
@ApiModelProperty(value = "退款通知时间")
|
||||||
private Date beginSuccessTime;
|
private Date[] notifyTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "结束退款成功时间")
|
@ApiModelProperty(value = "创建时间")
|
||||||
private Date endSuccessTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "开始退款通知时间")
|
|
||||||
private Date beginNotifyTime;
|
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束退款通知时间")
|
|
||||||
private Date endNotifyTime;
|
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "开始创建时间")
|
|
||||||
private Date beginCreateTime;
|
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束创建时间")
|
|
||||||
private Date endCreateTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -23,7 +23,7 @@ public interface PayAppMapper extends BaseMapperX<PayAppDO> {
|
|||||||
.eqIfPresent("pay_notify_url", reqVO.getPayNotifyUrl())
|
.eqIfPresent("pay_notify_url", reqVO.getPayNotifyUrl())
|
||||||
.eqIfPresent("refund_notify_url", reqVO.getRefundNotifyUrl())
|
.eqIfPresent("refund_notify_url", reqVO.getRefundNotifyUrl())
|
||||||
.inIfPresent("merchant_id", merchantIds)
|
.inIfPresent("merchant_id", merchantIds)
|
||||||
.betweenIfPresent("create_time", reqVO.getBeginCreateTime(), reqVO.getEndCreateTime())
|
.betweenIfPresent("create_time", reqVO.getCreateTime())
|
||||||
.orderByDesc("id"));
|
.orderByDesc("id"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -35,7 +35,7 @@ public interface PayAppMapper extends BaseMapperX<PayAppDO> {
|
|||||||
.eqIfPresent("pay_notify_url", reqVO.getPayNotifyUrl())
|
.eqIfPresent("pay_notify_url", reqVO.getPayNotifyUrl())
|
||||||
.eqIfPresent("refund_notify_url", reqVO.getRefundNotifyUrl())
|
.eqIfPresent("refund_notify_url", reqVO.getRefundNotifyUrl())
|
||||||
.inIfPresent("merchant_id", merchantIds)
|
.inIfPresent("merchant_id", merchantIds)
|
||||||
.betweenIfPresent("create_time", reqVO.getBeginCreateTime(), reqVO.getEndCreateTime())
|
.betweenIfPresent("create_time", reqVO.getCreateTime())
|
||||||
.orderByDesc("id"));
|
.orderByDesc("id"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ public interface PayChannelMapper extends BaseMapperX<PayChannelDO> {
|
|||||||
.eqIfPresent("fee_rate", reqVO.getFeeRate())
|
.eqIfPresent("fee_rate", reqVO.getFeeRate())
|
||||||
.eqIfPresent("merchant_id", reqVO.getMerchantId())
|
.eqIfPresent("merchant_id", reqVO.getMerchantId())
|
||||||
.eqIfPresent("app_id", reqVO.getAppId())
|
.eqIfPresent("app_id", reqVO.getAppId())
|
||||||
.betweenIfPresent("create_time", reqVO.getBeginCreateTime(), reqVO.getEndCreateTime())
|
.betweenIfPresent("create_time", reqVO.getCreateTime())
|
||||||
.orderByDesc("id"));
|
.orderByDesc("id"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -44,7 +44,7 @@ public interface PayChannelMapper extends BaseMapperX<PayChannelDO> {
|
|||||||
.eqIfPresent("fee_rate", reqVO.getFeeRate())
|
.eqIfPresent("fee_rate", reqVO.getFeeRate())
|
||||||
.eqIfPresent("merchant_id", reqVO.getMerchantId())
|
.eqIfPresent("merchant_id", reqVO.getMerchantId())
|
||||||
.eqIfPresent("app_id", reqVO.getAppId())
|
.eqIfPresent("app_id", reqVO.getAppId())
|
||||||
.betweenIfPresent("create_time", reqVO.getBeginCreateTime(), reqVO.getEndCreateTime())
|
.betweenIfPresent("create_time", reqVO.getCreateTime())
|
||||||
.orderByDesc("id"));
|
.orderByDesc("id"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ public interface PayMerchantMapper extends BaseMapperX<PayMerchantDO> {
|
|||||||
.likeIfPresent("short_name", reqVO.getShortName())
|
.likeIfPresent("short_name", reqVO.getShortName())
|
||||||
.eqIfPresent("status", reqVO.getStatus())
|
.eqIfPresent("status", reqVO.getStatus())
|
||||||
.eqIfPresent("remark", reqVO.getRemark())
|
.eqIfPresent("remark", reqVO.getRemark())
|
||||||
.betweenIfPresent("create_time", reqVO.getBeginCreateTime(), reqVO.getEndCreateTime())
|
.betweenIfPresent("create_time", reqVO.getCreateTime())
|
||||||
.orderByDesc("id"));
|
.orderByDesc("id"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -31,7 +31,7 @@ public interface PayMerchantMapper extends BaseMapperX<PayMerchantDO> {
|
|||||||
.likeIfPresent("short_name", reqVO.getShortName())
|
.likeIfPresent("short_name", reqVO.getShortName())
|
||||||
.eqIfPresent("status", reqVO.getStatus())
|
.eqIfPresent("status", reqVO.getStatus())
|
||||||
.eqIfPresent("remark", reqVO.getRemark())
|
.eqIfPresent("remark", reqVO.getRemark())
|
||||||
.betweenIfPresent("create_time", reqVO.getBeginCreateTime(), reqVO.getEndCreateTime())
|
.betweenIfPresent("create_time", reqVO.getCreateTime())
|
||||||
.orderByDesc("id"));
|
.orderByDesc("id"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ public interface PayOrderMapper extends BaseMapperX<PayOrderDO> {
|
|||||||
.eqIfPresent("status", reqVO.getStatus())
|
.eqIfPresent("status", reqVO.getStatus())
|
||||||
.eqIfPresent("refund_status", reqVO.getRefundStatus())
|
.eqIfPresent("refund_status", reqVO.getRefundStatus())
|
||||||
.likeIfPresent("channel_order_no", reqVO.getChannelOrderNo())
|
.likeIfPresent("channel_order_no", reqVO.getChannelOrderNo())
|
||||||
.betweenIfPresent("create_time", reqVO.getBeginCreateTime(), reqVO.getEndCreateTime())
|
.betweenIfPresent("create_time", reqVO.getCreateTime())
|
||||||
.orderByDesc("id"));
|
.orderByDesc("id"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -42,7 +42,7 @@ public interface PayOrderMapper extends BaseMapperX<PayOrderDO> {
|
|||||||
.eqIfPresent("status", reqVO.getStatus())
|
.eqIfPresent("status", reqVO.getStatus())
|
||||||
.eqIfPresent("refund_status", reqVO.getRefundStatus())
|
.eqIfPresent("refund_status", reqVO.getRefundStatus())
|
||||||
.likeIfPresent("channel_order_no", reqVO.getChannelOrderNo())
|
.likeIfPresent("channel_order_no", reqVO.getChannelOrderNo())
|
||||||
.betweenIfPresent("create_time", reqVO.getBeginCreateTime(), reqVO.getEndCreateTime())
|
.betweenIfPresent("create_time", reqVO.getCreateTime())
|
||||||
.orderByDesc("id"));
|
.orderByDesc("id"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ public interface PayRefundMapper extends BaseMapperX<PayRefundDO> {
|
|||||||
.eqIfPresent("type", reqVO.getType())
|
.eqIfPresent("type", reqVO.getType())
|
||||||
.eqIfPresent("status", reqVO.getStatus())
|
.eqIfPresent("status", reqVO.getStatus())
|
||||||
.eqIfPresent("notify_status", reqVO.getNotifyStatus())
|
.eqIfPresent("notify_status", reqVO.getNotifyStatus())
|
||||||
.betweenIfPresent("create_time", reqVO.getBeginCreateTime(), reqVO.getEndCreateTime())
|
.betweenIfPresent("create_time", reqVO.getCreateTime())
|
||||||
.orderByDesc("id"));
|
.orderByDesc("id"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -36,7 +36,7 @@ public interface PayRefundMapper extends BaseMapperX<PayRefundDO> {
|
|||||||
.eqIfPresent("type", reqVO.getType())
|
.eqIfPresent("type", reqVO.getType())
|
||||||
.eqIfPresent("status", reqVO.getStatus())
|
.eqIfPresent("status", reqVO.getStatus())
|
||||||
.eqIfPresent("notify_status", reqVO.getNotifyStatus())
|
.eqIfPresent("notify_status", reqVO.getNotifyStatus())
|
||||||
.betweenIfPresent("create_time", reqVO.getBeginCreateTime(), reqVO.getEndCreateTime())
|
.betweenIfPresent("create_time", reqVO.getCreateTime())
|
||||||
.orderByDesc("id"));
|
.orderByDesc("id"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -23,11 +23,7 @@ public class DictTypeExportReqVO {
|
|||||||
private Integer status;
|
private Integer status;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始创建时间")
|
@ApiModelProperty(value = "创建时间")
|
||||||
private Date beginCreateTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束创建时间")
|
|
||||||
private Date endCreateTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -28,11 +28,7 @@ public class DictTypePageReqVO extends PageParam {
|
|||||||
private Integer status;
|
private Integer status;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始创建时间")
|
@ApiModelProperty(value = "创建时间")
|
||||||
private Date beginCreateTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束创建时间")
|
|
||||||
private Date endCreateTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -26,11 +26,7 @@ public class ErrorCodeExportReqVO {
|
|||||||
private String message;
|
private String message;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始创建时间")
|
@ApiModelProperty(value = "创建时间")
|
||||||
private Date beginCreateTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束创建时间")
|
|
||||||
private Date endCreateTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -31,11 +31,7 @@ public class ErrorCodePageReqVO extends PageParam {
|
|||||||
private String message;
|
private String message;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始创建时间")
|
@ApiModelProperty(value = "创建时间")
|
||||||
private Date beginCreateTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束创建时间")
|
|
||||||
private Date endCreateTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -22,12 +22,8 @@ public class LoginLogExportReqVO {
|
|||||||
@ApiModelProperty(value = "操作状态", example = "true")
|
@ApiModelProperty(value = "操作状态", example = "true")
|
||||||
private Boolean status;
|
private Boolean status;
|
||||||
|
|
||||||
@ApiModelProperty(value = "开始时间", example = "2020-10-24")
|
@ApiModelProperty(value = "登录时间", example = "[2022-07-01 00:00:00,2022-07-01 23:59:59]")
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
private Date beginTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@ApiModelProperty(value = "结束时间", example = "2020-10-24")
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
private Date endTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -25,12 +25,8 @@ public class LoginLogPageReqVO extends PageParam {
|
|||||||
@ApiModelProperty(value = "操作状态", example = "true")
|
@ApiModelProperty(value = "操作状态", example = "true")
|
||||||
private Boolean status;
|
private Boolean status;
|
||||||
|
|
||||||
@ApiModelProperty(value = "开始时间", example = "2020-10-24")
|
@ApiModelProperty(value = "登录时间", example = "[2022-07-01 00:00:00,2022-07-01 23:59:59]")
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
private Date beginTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@ApiModelProperty(value = "结束时间", example = "2020-10-24")
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
private Date endTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -25,12 +25,8 @@ public class OperateLogExportReqVO {
|
|||||||
@ApiModelProperty(value = "操作状态", example = "true")
|
@ApiModelProperty(value = "操作状态", example = "true")
|
||||||
private Boolean success;
|
private Boolean success;
|
||||||
|
|
||||||
@ApiModelProperty(value = "开始时间", example = "2020-10-24")
|
@ApiModelProperty(value = "开始时间", example = "[2022-07-01 00:00:00,2022-07-01 23:59:59]")
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
private Date beginTime;
|
private Date[] startTime;
|
||||||
|
|
||||||
@ApiModelProperty(value = "结束时间", example = "2020-10-24")
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
private Date endTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -26,12 +26,8 @@ public class OperateLogPageReqVO extends PageParam {
|
|||||||
@ApiModelProperty(value = "操作状态", example = "true")
|
@ApiModelProperty(value = "操作状态", example = "true")
|
||||||
private Boolean success;
|
private Boolean success;
|
||||||
|
|
||||||
@ApiModelProperty(value = "开始时间", example = "2020-10-24")
|
@ApiModelProperty(value = "开始时间", example = "[2022-07-01 00:00:00,2022-07-01 23:59:59]")
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
private Date beginTime;
|
private Date[] startTime;
|
||||||
|
|
||||||
@ApiModelProperty(value = "结束时间", example = "2020-10-24")
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
private Date endTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -22,12 +22,8 @@ public class RoleExportReqVO {
|
|||||||
@ApiModelProperty(value = "展示状态", example = "1", notes = "参见 CommonStatusEnum 枚举类")
|
@ApiModelProperty(value = "展示状态", example = "1", notes = "参见 CommonStatusEnum 枚举类")
|
||||||
private Integer status;
|
private Integer status;
|
||||||
|
|
||||||
@ApiModelProperty(value = "开始时间", example = "2020-10-24")
|
@ApiModelProperty(value = "开始时间", example = "[2022-07-01 00:00:00,2022-07-01 23:59:59]")
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
private Date beginTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@ApiModelProperty(value = "结束时间", example = "2020-10-24")
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
private Date endTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -25,12 +25,8 @@ public class RolePageReqVO extends PageParam {
|
|||||||
@ApiModelProperty(value = "展示状态", example = "1", notes = "参见 CommonStatusEnum 枚举类")
|
@ApiModelProperty(value = "展示状态", example = "1", notes = "参见 CommonStatusEnum 枚举类")
|
||||||
private Integer status;
|
private Integer status;
|
||||||
|
|
||||||
@ApiModelProperty(value = "开始时间", example = "2020-10-24")
|
@ApiModelProperty(value = "创建时间", example = "[2022-07-01 00:00:00,2022-07-01 23:59:59]")
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
private Date beginTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@ApiModelProperty(value = "结束时间", example = "2020-10-24")
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
private Date endTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -23,11 +23,7 @@ public class SensitiveWordExportReqVO {
|
|||||||
private Integer status;
|
private Integer status;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始创建时间")
|
@ApiModelProperty(value = "创建时间")
|
||||||
private Date beginCreateTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束创建时间")
|
|
||||||
private Date endCreateTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -28,11 +28,7 @@ public class SensitiveWordPageReqVO extends PageParam {
|
|||||||
private Integer status;
|
private Integer status;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始创建时间")
|
@ApiModelProperty(value = "创建时间")
|
||||||
private Date beginCreateTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束创建时间")
|
|
||||||
private Date endCreateTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -25,11 +25,7 @@ public class SmsChannelPageReqVO extends PageParam {
|
|||||||
private String signature;
|
private String signature;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始创建时间")
|
@ApiModelProperty(value = "创建时间")
|
||||||
private Date beginCreateTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束创建时间")
|
|
||||||
private Date endCreateTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -27,21 +27,13 @@ public class SmsLogExportReqVO {
|
|||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始发送时间")
|
@ApiModelProperty(value = "开始发送时间")
|
||||||
private Date beginSendTime;
|
private Date[] sendTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束发送时间")
|
|
||||||
private Date endSendTime;
|
|
||||||
|
|
||||||
@ApiModelProperty(value = "接收状态", example = "0")
|
@ApiModelProperty(value = "接收状态", example = "0")
|
||||||
private Integer receiveStatus;
|
private Integer receiveStatus;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始接收时间")
|
@ApiModelProperty(value = "开始接收时间")
|
||||||
private Date beginReceiveTime;
|
private Date[] receiveTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束接收时间")
|
|
||||||
private Date endReceiveTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -31,22 +31,14 @@ public class SmsLogPageReqVO extends PageParam {
|
|||||||
private Integer sendStatus;
|
private Integer sendStatus;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始发送时间")
|
@ApiModelProperty(value = "发送时间")
|
||||||
private Date beginSendTime;
|
private Date[] sendTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束发送时间")
|
|
||||||
private Date endSendTime;
|
|
||||||
|
|
||||||
@ApiModelProperty(value = "接收状态", example = "0", notes = "参见 SmsReceiveStatusEnum 枚举类")
|
@ApiModelProperty(value = "接收状态", example = "0", notes = "参见 SmsReceiveStatusEnum 枚举类")
|
||||||
private Integer receiveStatus;
|
private Integer receiveStatus;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始接收时间")
|
@ApiModelProperty(value = "接收时间")
|
||||||
private Date beginReceiveTime;
|
private Date[] receiveTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束接收时间")
|
|
||||||
private Date endReceiveTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -32,11 +32,7 @@ public class SmsTemplateExportReqVO {
|
|||||||
private Long channelId;
|
private Long channelId;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始创建时间")
|
@ApiModelProperty(value = "创建时间")
|
||||||
private Date beginCreateTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束创建时间")
|
|
||||||
private Date endCreateTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -37,11 +37,7 @@ public class SmsTemplatePageReqVO extends PageParam {
|
|||||||
private Long channelId;
|
private Long channelId;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始创建时间")
|
@ApiModelProperty(value = "创建时间")
|
||||||
private Date beginCreateTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束创建时间")
|
|
||||||
private Date endCreateTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -28,11 +28,6 @@ public class TenantPackagePageReqVO extends PageParam {
|
|||||||
private String remark;
|
private String remark;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始创建时间")
|
@ApiModelProperty(value = "创建时间")
|
||||||
private Date beginCreateTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束创建时间")
|
|
||||||
private Date endCreateTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -26,11 +26,7 @@ public class TenantExportReqVO {
|
|||||||
private Integer status;
|
private Integer status;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始创建时间")
|
@ApiModelProperty(value = "创建时间")
|
||||||
private Date beginCreateTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束创建时间")
|
|
||||||
private Date endCreateTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -31,11 +31,7 @@ public class TenantPageReqVO extends PageParam {
|
|||||||
private Integer status;
|
private Integer status;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
@ApiModelProperty(value = "开始创建时间")
|
@ApiModelProperty(value = "创建时间")
|
||||||
private Date beginCreateTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
@ApiModelProperty(value = "结束创建时间")
|
|
||||||
private Date endCreateTime;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -26,13 +26,9 @@ public class UserExportReqVO {
|
|||||||
@ApiModelProperty(value = "展示状态", example = "1", notes = "参见 CommonStatusEnum 枚举类")
|
@ApiModelProperty(value = "展示状态", example = "1", notes = "参见 CommonStatusEnum 枚举类")
|
||||||
private Integer status;
|
private Integer status;
|
||||||
|
|
||||||
@ApiModelProperty(value = "开始时间", example = "2020-10-24")
|
@ApiModelProperty(value = "创建时间", example = "[2022-07-01 00:00:00,2022-07-01 23:59:59]")
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
private Date beginTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
@ApiModelProperty(value = "结束时间", example = "2020-10-24")
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
private Date endTime;
|
|
||||||
|
|
||||||
@ApiModelProperty(value = "部门编号", example = "1024", notes = "同时筛选子部门")
|
@ApiModelProperty(value = "部门编号", example = "1024", notes = "同时筛选子部门")
|
||||||
private Long deptId;
|
private Long deptId;
|
||||||
|
@ -29,15 +29,7 @@ public class UserPageReqVO extends PageParam {
|
|||||||
@ApiModelProperty(value = "展示状态", example = "1", notes = "参见 CommonStatusEnum 枚举类")
|
@ApiModelProperty(value = "展示状态", example = "1", notes = "参见 CommonStatusEnum 枚举类")
|
||||||
private Integer status;
|
private Integer status;
|
||||||
|
|
||||||
@ApiModelProperty(value = "开始时间", example = "2020-10-24")
|
@ApiModelProperty(value = "创建时间", example = "[2022-07-01 00:00:00,2022-07-01 23:59:59]")
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
private Date beginTime;
|
|
||||||
|
|
||||||
@ApiModelProperty(value = "结束时间", example = "2020-10-24")
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
||||||
private Date endTime;
|
|
||||||
|
|
||||||
@ApiModelProperty(value = "开始时间", example = "2020-10-24")
|
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
private Date[] createTime;
|
private Date[] createTime;
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ public interface DictTypeMapper extends BaseMapperX<DictTypeDO> {
|
|||||||
.likeIfPresent(DictTypeDO::getName, reqVO.getName())
|
.likeIfPresent(DictTypeDO::getName, reqVO.getName())
|
||||||
.likeIfPresent(DictTypeDO::getType, reqVO.getType())
|
.likeIfPresent(DictTypeDO::getType, reqVO.getType())
|
||||||
.eqIfPresent(DictTypeDO::getStatus, reqVO.getStatus())
|
.eqIfPresent(DictTypeDO::getStatus, reqVO.getStatus())
|
||||||
.betweenIfPresent(DictTypeDO::getCreateTime, reqVO.getBeginCreateTime(), reqVO.getEndCreateTime())
|
.betweenIfPresent(DictTypeDO::getCreateTime, reqVO.getCreateTime())
|
||||||
.orderByDesc(DictTypeDO::getId));
|
.orderByDesc(DictTypeDO::getId));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -28,7 +28,7 @@ public interface DictTypeMapper extends BaseMapperX<DictTypeDO> {
|
|||||||
.likeIfPresent(DictTypeDO::getName, reqVO.getName())
|
.likeIfPresent(DictTypeDO::getName, reqVO.getName())
|
||||||
.likeIfPresent(DictTypeDO::getType, reqVO.getType())
|
.likeIfPresent(DictTypeDO::getType, reqVO.getType())
|
||||||
.eqIfPresent(DictTypeDO::getStatus, reqVO.getStatus())
|
.eqIfPresent(DictTypeDO::getStatus, reqVO.getStatus())
|
||||||
.betweenIfPresent(DictTypeDO::getCreateTime, reqVO.getBeginCreateTime(), reqVO.getEndCreateTime()));
|
.betweenIfPresent(DictTypeDO::getCreateTime, reqVO.getCreateTime()));
|
||||||
}
|
}
|
||||||
|
|
||||||
default DictTypeDO selectByType(String type) {
|
default DictTypeDO selectByType(String type) {
|
||||||
|
@ -22,7 +22,7 @@ public interface ErrorCodeMapper extends BaseMapperX<ErrorCodeDO> {
|
|||||||
.likeIfPresent("application_name", reqVO.getApplicationName())
|
.likeIfPresent("application_name", reqVO.getApplicationName())
|
||||||
.eqIfPresent("code", reqVO.getCode())
|
.eqIfPresent("code", reqVO.getCode())
|
||||||
.likeIfPresent("message", reqVO.getMessage())
|
.likeIfPresent("message", reqVO.getMessage())
|
||||||
.betweenIfPresent("create_time", reqVO.getBeginCreateTime(), reqVO.getEndCreateTime())
|
.betweenIfPresent("create_time", reqVO.getCreateTime())
|
||||||
.orderByDesc("code"));
|
.orderByDesc("code"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -32,7 +32,7 @@ public interface ErrorCodeMapper extends BaseMapperX<ErrorCodeDO> {
|
|||||||
.likeIfPresent("application_name", reqVO.getApplicationName())
|
.likeIfPresent("application_name", reqVO.getApplicationName())
|
||||||
.eqIfPresent("code", reqVO.getCode())
|
.eqIfPresent("code", reqVO.getCode())
|
||||||
.likeIfPresent("message", reqVO.getMessage())
|
.likeIfPresent("message", reqVO.getMessage())
|
||||||
.betweenIfPresent("create_time", reqVO.getBeginCreateTime(), reqVO.getEndCreateTime())
|
.betweenIfPresent("create_time", reqVO.getCreateTime())
|
||||||
.orderByAsc("application_name", "code"));
|
.orderByAsc("application_name", "code"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ public interface LoginLogMapper extends BaseMapperX<LoginLogDO> {
|
|||||||
QueryWrapperX<LoginLogDO> query = new QueryWrapperX<LoginLogDO>()
|
QueryWrapperX<LoginLogDO> query = new QueryWrapperX<LoginLogDO>()
|
||||||
.likeIfPresent("user_ip", reqVO.getUserIp())
|
.likeIfPresent("user_ip", reqVO.getUserIp())
|
||||||
.likeIfPresent("username", reqVO.getUsername())
|
.likeIfPresent("username", reqVO.getUsername())
|
||||||
.betweenIfPresent("create_time", reqVO.getBeginTime(), reqVO.getEndTime());
|
.betweenIfPresent("create_time", reqVO.getCreateTime());
|
||||||
if (Boolean.TRUE.equals(reqVO.getStatus())) {
|
if (Boolean.TRUE.equals(reqVO.getStatus())) {
|
||||||
query.eq("result", LoginResultEnum.SUCCESS.getResult());
|
query.eq("result", LoginResultEnum.SUCCESS.getResult());
|
||||||
} else if (Boolean.FALSE.equals(reqVO.getStatus())) {
|
} else if (Boolean.FALSE.equals(reqVO.getStatus())) {
|
||||||
@ -32,7 +32,7 @@ public interface LoginLogMapper extends BaseMapperX<LoginLogDO> {
|
|||||||
QueryWrapperX<LoginLogDO> query = new QueryWrapperX<LoginLogDO>()
|
QueryWrapperX<LoginLogDO> query = new QueryWrapperX<LoginLogDO>()
|
||||||
.likeIfPresent("user_ip", reqVO.getUserIp())
|
.likeIfPresent("user_ip", reqVO.getUserIp())
|
||||||
.likeIfPresent("username", reqVO.getUsername())
|
.likeIfPresent("username", reqVO.getUsername())
|
||||||
.betweenIfPresent("create_time", reqVO.getBeginTime(), reqVO.getEndTime());
|
.betweenIfPresent("create_time", reqVO.getCreateTime());
|
||||||
if (Boolean.TRUE.equals(reqVO.getStatus())) {
|
if (Boolean.TRUE.equals(reqVO.getStatus())) {
|
||||||
query.eq("result", LoginResultEnum.SUCCESS.getResult());
|
query.eq("result", LoginResultEnum.SUCCESS.getResult());
|
||||||
} else if (Boolean.FALSE.equals(reqVO.getStatus())) {
|
} else if (Boolean.FALSE.equals(reqVO.getStatus())) {
|
||||||
|
@ -20,7 +20,7 @@ public interface OperateLogMapper extends BaseMapperX<OperateLogDO> {
|
|||||||
.likeIfPresent(OperateLogDO::getModule, reqVO.getModule())
|
.likeIfPresent(OperateLogDO::getModule, reqVO.getModule())
|
||||||
.inIfPresent(OperateLogDO::getUserId, userIds)
|
.inIfPresent(OperateLogDO::getUserId, userIds)
|
||||||
.eqIfPresent(OperateLogDO::getType, reqVO.getType())
|
.eqIfPresent(OperateLogDO::getType, reqVO.getType())
|
||||||
.betweenIfPresent(OperateLogDO::getStartTime, reqVO.getBeginTime(), reqVO.getEndTime());
|
.betweenIfPresent(OperateLogDO::getStartTime, reqVO.getStartTime());
|
||||||
if (Boolean.TRUE.equals(reqVO.getSuccess())) {
|
if (Boolean.TRUE.equals(reqVO.getSuccess())) {
|
||||||
query.eq(OperateLogDO::getResultCode, GlobalErrorCodeConstants.SUCCESS.getCode());
|
query.eq(OperateLogDO::getResultCode, GlobalErrorCodeConstants.SUCCESS.getCode());
|
||||||
} else if (Boolean.FALSE.equals(reqVO.getSuccess())) {
|
} else if (Boolean.FALSE.equals(reqVO.getSuccess())) {
|
||||||
@ -35,7 +35,7 @@ public interface OperateLogMapper extends BaseMapperX<OperateLogDO> {
|
|||||||
.likeIfPresent(OperateLogDO::getModule, reqVO.getModule())
|
.likeIfPresent(OperateLogDO::getModule, reqVO.getModule())
|
||||||
.inIfPresent(OperateLogDO::getUserId, userIds)
|
.inIfPresent(OperateLogDO::getUserId, userIds)
|
||||||
.eqIfPresent(OperateLogDO::getType, reqVO.getType())
|
.eqIfPresent(OperateLogDO::getType, reqVO.getType())
|
||||||
.betweenIfPresent(OperateLogDO::getStartTime, reqVO.getBeginTime(), reqVO.getEndTime());
|
.betweenIfPresent(OperateLogDO::getStartTime, reqVO.getStartTime());
|
||||||
if (Boolean.TRUE.equals(reqVO.getSuccess())) {
|
if (Boolean.TRUE.equals(reqVO.getSuccess())) {
|
||||||
query.eq(OperateLogDO::getResultCode, GlobalErrorCodeConstants.SUCCESS.getCode());
|
query.eq(OperateLogDO::getResultCode, GlobalErrorCodeConstants.SUCCESS.getCode());
|
||||||
} else if (Boolean.FALSE.equals(reqVO.getSuccess())) {
|
} else if (Boolean.FALSE.equals(reqVO.getSuccess())) {
|
||||||
|
@ -23,7 +23,7 @@ public interface RoleMapper extends BaseMapperX<RoleDO> {
|
|||||||
.likeIfPresent(RoleDO::getName, reqVO.getName())
|
.likeIfPresent(RoleDO::getName, reqVO.getName())
|
||||||
.likeIfPresent(RoleDO::getCode, reqVO.getCode())
|
.likeIfPresent(RoleDO::getCode, reqVO.getCode())
|
||||||
.eqIfPresent(RoleDO::getStatus, reqVO.getStatus())
|
.eqIfPresent(RoleDO::getStatus, reqVO.getStatus())
|
||||||
.betweenIfPresent(BaseDO::getCreateTime, reqVO.getBeginTime(), reqVO.getEndTime())
|
.betweenIfPresent(BaseDO::getCreateTime, reqVO.getCreateTime())
|
||||||
.orderByDesc(RoleDO::getId));
|
.orderByDesc(RoleDO::getId));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -32,7 +32,7 @@ public interface RoleMapper extends BaseMapperX<RoleDO> {
|
|||||||
.likeIfPresent(RoleDO::getName, reqVO.getName())
|
.likeIfPresent(RoleDO::getName, reqVO.getName())
|
||||||
.likeIfPresent(RoleDO::getCode, reqVO.getCode())
|
.likeIfPresent(RoleDO::getCode, reqVO.getCode())
|
||||||
.eqIfPresent(RoleDO::getStatus, reqVO.getStatus())
|
.eqIfPresent(RoleDO::getStatus, reqVO.getStatus())
|
||||||
.betweenIfPresent(BaseDO::getCreateTime, reqVO.getBeginTime(), reqVO.getEndTime()));
|
.betweenIfPresent(BaseDO::getCreateTime, reqVO.getCreateTime()));
|
||||||
}
|
}
|
||||||
|
|
||||||
default RoleDO selectByName(String name) {
|
default RoleDO selectByName(String name) {
|
||||||
|
@ -25,7 +25,7 @@ public interface SensitiveWordMapper extends BaseMapperX<SensitiveWordDO> {
|
|||||||
.likeIfPresent(SensitiveWordDO::getName, reqVO.getName())
|
.likeIfPresent(SensitiveWordDO::getName, reqVO.getName())
|
||||||
.likeIfPresent(SensitiveWordDO::getTags, reqVO.getTag())
|
.likeIfPresent(SensitiveWordDO::getTags, reqVO.getTag())
|
||||||
.eqIfPresent(SensitiveWordDO::getStatus, reqVO.getStatus())
|
.eqIfPresent(SensitiveWordDO::getStatus, reqVO.getStatus())
|
||||||
.betweenIfPresent(SensitiveWordDO::getCreateTime, reqVO.getBeginCreateTime(), reqVO.getEndCreateTime())
|
.betweenIfPresent(SensitiveWordDO::getCreateTime, reqVO.getCreateTime())
|
||||||
.orderByDesc(SensitiveWordDO::getId));
|
.orderByDesc(SensitiveWordDO::getId));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -34,7 +34,7 @@ public interface SensitiveWordMapper extends BaseMapperX<SensitiveWordDO> {
|
|||||||
.likeIfPresent(SensitiveWordDO::getName, reqVO.getName())
|
.likeIfPresent(SensitiveWordDO::getName, reqVO.getName())
|
||||||
.likeIfPresent(SensitiveWordDO::getTags, reqVO.getTag())
|
.likeIfPresent(SensitiveWordDO::getTags, reqVO.getTag())
|
||||||
.eqIfPresent(SensitiveWordDO::getStatus, reqVO.getStatus())
|
.eqIfPresent(SensitiveWordDO::getStatus, reqVO.getStatus())
|
||||||
.betweenIfPresent(SensitiveWordDO::getCreateTime, reqVO.getBeginCreateTime(), reqVO.getEndCreateTime())
|
.betweenIfPresent(SensitiveWordDO::getCreateTime, reqVO.getCreateTime())
|
||||||
.orderByDesc(SensitiveWordDO::getId));
|
.orderByDesc(SensitiveWordDO::getId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ public interface SmsChannelMapper extends BaseMapperX<SmsChannelDO> {
|
|||||||
return selectPage(reqVO, new LambdaQueryWrapperX<SmsChannelDO>()
|
return selectPage(reqVO, new LambdaQueryWrapperX<SmsChannelDO>()
|
||||||
.likeIfPresent(SmsChannelDO::getSignature, reqVO.getSignature())
|
.likeIfPresent(SmsChannelDO::getSignature, reqVO.getSignature())
|
||||||
.eqIfPresent(SmsChannelDO::getStatus, reqVO.getStatus())
|
.eqIfPresent(SmsChannelDO::getStatus, reqVO.getStatus())
|
||||||
.betweenIfPresent(SmsChannelDO::getCreateTime, reqVO.getBeginCreateTime(), reqVO.getEndCreateTime())
|
.betweenIfPresent(SmsChannelDO::getCreateTime, reqVO.getCreateTime())
|
||||||
.orderByDesc(SmsChannelDO::getId));
|
.orderByDesc(SmsChannelDO::getId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -19,9 +19,9 @@ public interface SmsLogMapper extends BaseMapperX<SmsLogDO> {
|
|||||||
.eqIfPresent("template_id", reqVO.getTemplateId())
|
.eqIfPresent("template_id", reqVO.getTemplateId())
|
||||||
.likeIfPresent("mobile", reqVO.getMobile())
|
.likeIfPresent("mobile", reqVO.getMobile())
|
||||||
.eqIfPresent("send_status", reqVO.getSendStatus())
|
.eqIfPresent("send_status", reqVO.getSendStatus())
|
||||||
.betweenIfPresent("send_time", reqVO.getBeginSendTime(), reqVO.getEndSendTime())
|
.betweenIfPresent("send_time", reqVO.getSendTime())
|
||||||
.eqIfPresent("receive_status", reqVO.getReceiveStatus())
|
.eqIfPresent("receive_status", reqVO.getReceiveStatus())
|
||||||
.betweenIfPresent("receive_time", reqVO.getBeginReceiveTime(), reqVO.getEndReceiveTime())
|
.betweenIfPresent("receive_time", reqVO.getReceiveTime())
|
||||||
.orderByDesc("id"));
|
.orderByDesc("id"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -31,9 +31,9 @@ public interface SmsLogMapper extends BaseMapperX<SmsLogDO> {
|
|||||||
.eqIfPresent("template_id", reqVO.getTemplateId())
|
.eqIfPresent("template_id", reqVO.getTemplateId())
|
||||||
.likeIfPresent("mobile", reqVO.getMobile())
|
.likeIfPresent("mobile", reqVO.getMobile())
|
||||||
.eqIfPresent("send_status", reqVO.getSendStatus())
|
.eqIfPresent("send_status", reqVO.getSendStatus())
|
||||||
.betweenIfPresent("send_time", reqVO.getBeginSendTime(), reqVO.getEndSendTime())
|
.betweenIfPresent("send_time", reqVO.getSendTime())
|
||||||
.eqIfPresent("receive_status", reqVO.getReceiveStatus())
|
.eqIfPresent("receive_status", reqVO.getReceiveStatus())
|
||||||
.betweenIfPresent("receive_time", reqVO.getBeginReceiveTime(), reqVO.getEndReceiveTime())
|
.betweenIfPresent("receive_time", reqVO.getReceiveTime())
|
||||||
.orderByDesc("id"));
|
.orderByDesc("id"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ public interface SmsTemplateMapper extends BaseMapperX<SmsTemplateDO> {
|
|||||||
.likeIfPresent(SmsTemplateDO::getContent, reqVO.getContent())
|
.likeIfPresent(SmsTemplateDO::getContent, reqVO.getContent())
|
||||||
.likeIfPresent(SmsTemplateDO::getApiTemplateId, reqVO.getApiTemplateId())
|
.likeIfPresent(SmsTemplateDO::getApiTemplateId, reqVO.getApiTemplateId())
|
||||||
.eqIfPresent(SmsTemplateDO::getChannelId, reqVO.getChannelId())
|
.eqIfPresent(SmsTemplateDO::getChannelId, reqVO.getChannelId())
|
||||||
.betweenIfPresent(SmsTemplateDO::getCreateTime, reqVO.getBeginCreateTime(), reqVO.getEndCreateTime())
|
.betweenIfPresent(SmsTemplateDO::getCreateTime, reqVO.getCreateTime())
|
||||||
.orderByDesc(SmsTemplateDO::getId));
|
.orderByDesc(SmsTemplateDO::getId));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -42,7 +42,7 @@ public interface SmsTemplateMapper extends BaseMapperX<SmsTemplateDO> {
|
|||||||
.likeIfPresent(SmsTemplateDO::getContent, reqVO.getContent())
|
.likeIfPresent(SmsTemplateDO::getContent, reqVO.getContent())
|
||||||
.likeIfPresent(SmsTemplateDO::getApiTemplateId, reqVO.getApiTemplateId())
|
.likeIfPresent(SmsTemplateDO::getApiTemplateId, reqVO.getApiTemplateId())
|
||||||
.eqIfPresent(SmsTemplateDO::getChannelId, reqVO.getChannelId())
|
.eqIfPresent(SmsTemplateDO::getChannelId, reqVO.getChannelId())
|
||||||
.betweenIfPresent(SmsTemplateDO::getCreateTime, reqVO.getBeginCreateTime(), reqVO.getEndCreateTime())
|
.betweenIfPresent(SmsTemplateDO::getCreateTime, reqVO.getCreateTime())
|
||||||
.orderByDesc(SmsTemplateDO::getId));
|
.orderByDesc(SmsTemplateDO::getId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@ public interface TenantMapper extends BaseMapperX<TenantDO> {
|
|||||||
.likeIfPresent(TenantDO::getContactName, reqVO.getContactName())
|
.likeIfPresent(TenantDO::getContactName, reqVO.getContactName())
|
||||||
.likeIfPresent(TenantDO::getContactMobile, reqVO.getContactMobile())
|
.likeIfPresent(TenantDO::getContactMobile, reqVO.getContactMobile())
|
||||||
.eqIfPresent(TenantDO::getStatus, reqVO.getStatus())
|
.eqIfPresent(TenantDO::getStatus, reqVO.getStatus())
|
||||||
.betweenIfPresent(TenantDO::getCreateTime, reqVO.getBeginCreateTime(), reqVO.getEndCreateTime())
|
.betweenIfPresent(TenantDO::getCreateTime, reqVO.getCreateTime())
|
||||||
.orderByDesc(TenantDO::getId));
|
.orderByDesc(TenantDO::getId));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -36,7 +36,7 @@ public interface TenantMapper extends BaseMapperX<TenantDO> {
|
|||||||
.likeIfPresent(TenantDO::getContactName, reqVO.getContactName())
|
.likeIfPresent(TenantDO::getContactName, reqVO.getContactName())
|
||||||
.likeIfPresent(TenantDO::getContactMobile, reqVO.getContactMobile())
|
.likeIfPresent(TenantDO::getContactMobile, reqVO.getContactMobile())
|
||||||
.eqIfPresent(TenantDO::getStatus, reqVO.getStatus())
|
.eqIfPresent(TenantDO::getStatus, reqVO.getStatus())
|
||||||
.betweenIfPresent(TenantDO::getCreateTime, reqVO.getBeginCreateTime(), reqVO.getEndCreateTime())
|
.betweenIfPresent(TenantDO::getCreateTime, reqVO.getCreateTime())
|
||||||
.orderByDesc(TenantDO::getId));
|
.orderByDesc(TenantDO::getId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ public interface TenantPackageMapper extends BaseMapperX<TenantPackageDO> {
|
|||||||
.likeIfPresent(TenantPackageDO::getName, reqVO.getName())
|
.likeIfPresent(TenantPackageDO::getName, reqVO.getName())
|
||||||
.eqIfPresent(TenantPackageDO::getStatus, reqVO.getStatus())
|
.eqIfPresent(TenantPackageDO::getStatus, reqVO.getStatus())
|
||||||
.likeIfPresent(TenantPackageDO::getRemark, reqVO.getRemark())
|
.likeIfPresent(TenantPackageDO::getRemark, reqVO.getRemark())
|
||||||
.betweenIfPresent(TenantPackageDO::getCreateTime, reqVO.getBeginCreateTime(), reqVO.getEndCreateTime())
|
.betweenIfPresent(TenantPackageDO::getCreateTime, reqVO.getCreateTime())
|
||||||
.orderByDesc(TenantPackageDO::getId));
|
.orderByDesc(TenantPackageDO::getId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -33,7 +33,6 @@ public interface AdminUserMapper extends BaseMapperX<AdminUserDO> {
|
|||||||
.likeIfPresent(AdminUserDO::getUsername, reqVO.getUsername())
|
.likeIfPresent(AdminUserDO::getUsername, reqVO.getUsername())
|
||||||
.likeIfPresent(AdminUserDO::getMobile, reqVO.getMobile())
|
.likeIfPresent(AdminUserDO::getMobile, reqVO.getMobile())
|
||||||
.eqIfPresent(AdminUserDO::getStatus, reqVO.getStatus())
|
.eqIfPresent(AdminUserDO::getStatus, reqVO.getStatus())
|
||||||
.betweenIfPresent(AdminUserDO::getCreateTime, reqVO.getBeginTime(),reqVO.getEndTime())
|
|
||||||
.betweenIfPresent(AdminUserDO::getCreateTime, reqVO.getCreateTime())
|
.betweenIfPresent(AdminUserDO::getCreateTime, reqVO.getCreateTime())
|
||||||
.inIfPresent(AdminUserDO::getDeptId, deptIds)
|
.inIfPresent(AdminUserDO::getDeptId, deptIds)
|
||||||
.orderByDesc(AdminUserDO::getId));
|
.orderByDesc(AdminUserDO::getId));
|
||||||
@ -45,7 +44,7 @@ public interface AdminUserMapper extends BaseMapperX<AdminUserDO> {
|
|||||||
.likeIfPresent(AdminUserDO::getUsername, reqVO.getUsername())
|
.likeIfPresent(AdminUserDO::getUsername, reqVO.getUsername())
|
||||||
.likeIfPresent(AdminUserDO::getMobile, reqVO.getMobile())
|
.likeIfPresent(AdminUserDO::getMobile, reqVO.getMobile())
|
||||||
.eqIfPresent(AdminUserDO::getStatus, reqVO.getStatus())
|
.eqIfPresent(AdminUserDO::getStatus, reqVO.getStatus())
|
||||||
.betweenIfPresent(AdminUserDO::getCreateTime, reqVO.getBeginTime(), reqVO.getEndTime())
|
.betweenIfPresent(AdminUserDO::getCreateTime, reqVO.getCreateTime())
|
||||||
.inIfPresent(AdminUserDO::getDeptId, deptIds));
|
.inIfPresent(AdminUserDO::getDeptId, deptIds));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,3 +62,10 @@ export const sendSmsCodeApi = (data: SmsCodeVO) => {
|
|||||||
export const smsLoginApi = (data: SmsLoginVO) => {
|
export const smsLoginApi = (data: SmsLoginVO) => {
|
||||||
return request.post({ url: '/system/auth/sms-login', data })
|
return request.post({ url: '/system/auth/sms-login', data })
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 社交授权的跳转
|
||||||
|
export const socialAuthRedirectApi = (type: string, redirectUri: string) => {
|
||||||
|
return request.get({
|
||||||
|
url: '/system/auth/social-auth-redirect?type=' + type + '&redirectUri=' + redirectUri
|
||||||
|
})
|
||||||
|
}
|
||||||
|
@ -131,6 +131,17 @@ const getRoutes = async () => {
|
|||||||
permissionStore.setIsAddRouters(true)
|
permissionStore.setIsAddRouters(true)
|
||||||
push({ path: redirect.value || permissionStore.addRouters[0].path })
|
push({ path: redirect.value || permissionStore.addRouters[0].path })
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 社交登录
|
||||||
|
const doSocialLogin = async (type: string) => {
|
||||||
|
loginLoading.value = true
|
||||||
|
// 计算 redirectUri
|
||||||
|
const redirectUri =
|
||||||
|
location.origin + '/social-login?type=' + type + '&redirect=' + (redirect.value || '/')
|
||||||
|
// 进行跳转
|
||||||
|
const res = await LoginApi.socialAuthRedirectApi(type, encodeURIComponent(redirectUri))
|
||||||
|
window.open = res
|
||||||
|
}
|
||||||
watch(
|
watch(
|
||||||
() => currentRoute.value,
|
() => currentRoute.value,
|
||||||
(route: RouteLocationNormalizedLoaded) => {
|
(route: RouteLocationNormalizedLoaded) => {
|
||||||
@ -267,24 +278,28 @@ onMounted(async () => {
|
|||||||
:size="iconSize"
|
:size="iconSize"
|
||||||
class="cursor-pointer anticon"
|
class="cursor-pointer anticon"
|
||||||
:color="iconColor"
|
:color="iconColor"
|
||||||
|
@click="doSocialLogin('github')"
|
||||||
/>
|
/>
|
||||||
<Icon
|
<Icon
|
||||||
icon="ant-design:wechat-filled"
|
icon="ant-design:wechat-filled"
|
||||||
:size="iconSize"
|
:size="iconSize"
|
||||||
class="cursor-pointer anticon"
|
class="cursor-pointer anticon"
|
||||||
:color="iconColor"
|
:color="iconColor"
|
||||||
|
@click="doSocialLogin('wechat')"
|
||||||
/>
|
/>
|
||||||
<Icon
|
<Icon
|
||||||
icon="ant-design:alipay-circle-filled"
|
icon="ant-design:alipay-circle-filled"
|
||||||
:size="iconSize"
|
:size="iconSize"
|
||||||
:color="iconColor"
|
:color="iconColor"
|
||||||
class="cursor-pointer anticon"
|
class="cursor-pointer anticon"
|
||||||
|
@click="doSocialLogin('alipay')"
|
||||||
/>
|
/>
|
||||||
<Icon
|
<Icon
|
||||||
icon="ant-design:dingtalk-circle-filled"
|
icon="ant-design:dingtalk-circle-filled"
|
||||||
:size="iconSize"
|
:size="iconSize"
|
||||||
:color="iconColor"
|
:color="iconColor"
|
||||||
class="cursor-pointer anticon"
|
class="cursor-pointer anticon"
|
||||||
|
@click="doSocialLogin('dingtalk')"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -50,7 +50,6 @@
|
|||||||
"fuse.js": "6.4.3",
|
"fuse.js": "6.4.3",
|
||||||
"highlight.js": "9.18.5",
|
"highlight.js": "9.18.5",
|
||||||
"js-beautify": "1.13.0",
|
"js-beautify": "1.13.0",
|
||||||
"js-cookie": "3.0.1",
|
|
||||||
"jsencrypt": "3.0.0-rc.1",
|
"jsencrypt": "3.0.0-rc.1",
|
||||||
"nprogress": "0.2.0",
|
"nprogress": "0.2.0",
|
||||||
"quill": "1.3.7",
|
"quill": "1.3.7",
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
import Vue from 'vue'
|
import Vue from 'vue'
|
||||||
|
|
||||||
import Cookies from 'js-cookie'
|
|
||||||
|
|
||||||
import Element from 'element-ui'
|
import Element from 'element-ui'
|
||||||
import './assets/styles/element-variables.scss'
|
import './assets/styles/element-variables.scss'
|
||||||
|
|
||||||
@ -18,7 +16,7 @@ import './permission' // permission control
|
|||||||
import './tongji' // 百度统计
|
import './tongji' // 百度统计
|
||||||
import { getDicts } from "@/api/system/dict/data";
|
import { getDicts } from "@/api/system/dict/data";
|
||||||
import { getConfigKey } from "@/api/infra/config";
|
import { getConfigKey } from "@/api/infra/config";
|
||||||
import { parseTime, resetForm, addDateRange, addBeginAndEndTime, handleTree} from "@/utils/ruoyi";
|
import { parseTime, resetForm, handleTree} from "@/utils/ruoyi";
|
||||||
import Pagination from "@/components/Pagination";
|
import Pagination from "@/components/Pagination";
|
||||||
// 自定义表格工具扩展
|
// 自定义表格工具扩展
|
||||||
import RightToolbar from "@/components/RightToolbar"
|
import RightToolbar from "@/components/RightToolbar"
|
||||||
@ -32,8 +30,6 @@ Vue.prototype.getDicts = getDicts
|
|||||||
Vue.prototype.getConfigKey = getConfigKey
|
Vue.prototype.getConfigKey = getConfigKey
|
||||||
Vue.prototype.parseTime = parseTime
|
Vue.prototype.parseTime = parseTime
|
||||||
Vue.prototype.resetForm = resetForm
|
Vue.prototype.resetForm = resetForm
|
||||||
Vue.prototype.addDateRange = addDateRange
|
|
||||||
Vue.prototype.addBeginAndEndTime = addBeginAndEndTime
|
|
||||||
Vue.prototype.getDictDatas = getDictDatas
|
Vue.prototype.getDictDatas = getDictDatas
|
||||||
Vue.prototype.getDictDatas2 = getDictDatas2
|
Vue.prototype.getDictDatas2 = getDictDatas2
|
||||||
Vue.prototype.getDictDataLabel = getDictDataLabel
|
Vue.prototype.getDictDataLabel = getDictDataLabel
|
||||||
@ -84,8 +80,8 @@ import '@/styles/index.scss'
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
Vue.use(Element, {
|
Vue.use(Element, {
|
||||||
size: Cookies.get('size') || 'medium' // set element-ui default size
|
size: localStorage.getItem("size") || "medium", // set element-ui default size
|
||||||
})
|
});
|
||||||
|
|
||||||
Vue.config.productionTip = false
|
Vue.config.productionTip = false
|
||||||
|
|
||||||
|
@ -1,66 +1,66 @@
|
|||||||
import Cookies from 'js-cookie'
|
|
||||||
|
|
||||||
const state = {
|
const state = {
|
||||||
sidebar: {
|
sidebar: {
|
||||||
opened: Cookies.get('sidebarStatus') ? !!+Cookies.get('sidebarStatus') : true,
|
opened: localStorage.getItem("sidebarStatus")
|
||||||
|
? !!+localStorage.getItem("sidebarStatus")
|
||||||
|
: true,
|
||||||
withoutAnimation: false,
|
withoutAnimation: false,
|
||||||
hide: false
|
hide: false,
|
||||||
},
|
},
|
||||||
device: 'desktop',
|
device: "desktop",
|
||||||
size: Cookies.get('size') || 'medium'
|
size: localStorage.getItem("size") || "medium",
|
||||||
}
|
};
|
||||||
|
|
||||||
const mutations = {
|
const mutations = {
|
||||||
TOGGLE_SIDEBAR: state => {
|
TOGGLE_SIDEBAR: (state) => {
|
||||||
if (state.sidebar.hide) {
|
if (state.sidebar.hide) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
state.sidebar.opened = !state.sidebar.opened
|
state.sidebar.opened = !state.sidebar.opened;
|
||||||
state.sidebar.withoutAnimation = false
|
state.sidebar.withoutAnimation = false;
|
||||||
if (state.sidebar.opened) {
|
if (state.sidebar.opened) {
|
||||||
Cookies.set('sidebarStatus', 1)
|
localStorage.setItem("sidebarStatus", 1);
|
||||||
} else {
|
} else {
|
||||||
Cookies.set('sidebarStatus', 0)
|
localStorage.setItem("sidebarStatus", 0);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
CLOSE_SIDEBAR: (state, withoutAnimation) => {
|
CLOSE_SIDEBAR: (state, withoutAnimation) => {
|
||||||
Cookies.set('sidebarStatus', 0)
|
localStorage.setItem("sidebarStatus", 0);
|
||||||
state.sidebar.opened = false
|
state.sidebar.opened = false;
|
||||||
state.sidebar.withoutAnimation = withoutAnimation
|
state.sidebar.withoutAnimation = withoutAnimation;
|
||||||
},
|
},
|
||||||
TOGGLE_DEVICE: (state, device) => {
|
TOGGLE_DEVICE: (state, device) => {
|
||||||
state.device = device
|
state.device = device;
|
||||||
},
|
},
|
||||||
SET_SIZE: (state, size) => {
|
SET_SIZE: (state, size) => {
|
||||||
state.size = size
|
state.size = size;
|
||||||
Cookies.set('size', size)
|
localStorage.setItem("size", size);
|
||||||
},
|
},
|
||||||
SET_SIDEBAR_HIDE: (state, status) => {
|
SET_SIDEBAR_HIDE: (state, status) => {
|
||||||
state.sidebar.hide = status
|
state.sidebar.hide = status;
|
||||||
}
|
},
|
||||||
}
|
};
|
||||||
|
|
||||||
const actions = {
|
const actions = {
|
||||||
toggleSideBar({ commit }) {
|
toggleSideBar({ commit }) {
|
||||||
commit('TOGGLE_SIDEBAR')
|
commit("TOGGLE_SIDEBAR");
|
||||||
},
|
},
|
||||||
closeSideBar({ commit }, { withoutAnimation }) {
|
closeSideBar({ commit }, { withoutAnimation }) {
|
||||||
commit('CLOSE_SIDEBAR', withoutAnimation)
|
commit("CLOSE_SIDEBAR", withoutAnimation);
|
||||||
},
|
},
|
||||||
toggleDevice({ commit }, device) {
|
toggleDevice({ commit }, device) {
|
||||||
commit('TOGGLE_DEVICE', device)
|
commit("TOGGLE_DEVICE", device);
|
||||||
},
|
},
|
||||||
setSize({ commit }, size) {
|
setSize({ commit }, size) {
|
||||||
commit('SET_SIZE', size)
|
commit("SET_SIZE", size);
|
||||||
},
|
},
|
||||||
toggleSideBarHide({ commit }, status) {
|
toggleSideBarHide({ commit }, status) {
|
||||||
commit('SET_SIDEBAR_HIDE', status)
|
commit("SET_SIDEBAR_HIDE", status);
|
||||||
}
|
},
|
||||||
}
|
};
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
namespaced: true,
|
namespaced: true,
|
||||||
state,
|
state,
|
||||||
mutations,
|
mutations,
|
||||||
actions
|
actions,
|
||||||
}
|
};
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user