改名
This commit is contained in:
@@ -4,11 +4,11 @@
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>top.wms</groupId>
|
||||
<artifactId>wms-plugin</artifactId>
|
||||
<groupId>top.mes</groupId>
|
||||
<artifactId>mes-plugin</artifactId>
|
||||
<version>${revision}</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>wms-plugin-generator</artifactId>
|
||||
<artifactId>mes-plugin-generator</artifactId>
|
||||
<description>代码生成器插件</description>
|
||||
</project>
|
||||
@@ -1,4 +1,4 @@
|
||||
package top.wms.admin.generator.config.properties;
|
||||
package top.mes.admin.generator.config.properties;
|
||||
|
||||
import cn.hutool.core.io.file.FileNameUtil;
|
||||
import cn.hutool.core.map.MapUtil;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package top.wms.admin.generator.enums;
|
||||
package top.mes.admin.generator.enums;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package top.wms.admin.generator.enums;
|
||||
package top.mes.admin.generator.enums;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package top.wms.admin.generator.mapper;
|
||||
package top.mes.admin.generator.mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.apache.ibatis.annotations.Select;
|
||||
import top.wms.admin.generator.model.entity.FieldConfigDO;
|
||||
import top.mes.admin.generator.model.entity.FieldConfigDO;
|
||||
import top.continew.starter.data.mp.base.BaseMapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package top.wms.admin.generator.mapper;
|
||||
package top.mes.admin.generator.mapper;
|
||||
|
||||
import top.wms.admin.generator.model.entity.GenConfigDO;
|
||||
import top.mes.admin.generator.model.entity.GenConfigDO;
|
||||
import top.continew.starter.data.mp.base.BaseMapper;
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package top.wms.admin.generator.model.entity;
|
||||
package top.mes.admin.generator.model.entity;
|
||||
|
||||
import cn.hutool.core.util.StrUtil;
|
||||
import cn.hutool.db.meta.Column;
|
||||
@@ -12,8 +12,8 @@ import jakarta.validation.constraints.NotNull;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.NonNull;
|
||||
import top.wms.admin.generator.enums.FormTypeEnum;
|
||||
import top.wms.admin.generator.enums.QueryTypeEnum;
|
||||
import top.mes.admin.generator.enums.FormTypeEnum;
|
||||
import top.mes.admin.generator.enums.QueryTypeEnum;
|
||||
import top.continew.starter.core.constant.StringConstants;
|
||||
|
||||
import java.io.Serial;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package top.wms.admin.generator.model.entity;
|
||||
package top.mes.admin.generator.model.entity;
|
||||
|
||||
import cn.hutool.core.util.StrUtil;
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
@@ -9,7 +9,7 @@ import jakarta.validation.constraints.Pattern;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import org.hibernate.validator.constraints.Length;
|
||||
import top.wms.admin.common.constant.RegexConstants;
|
||||
import top.mes.admin.common.constant.RegexConstants;
|
||||
import top.continew.starter.core.constant.CharConstants;
|
||||
import top.continew.starter.core.util.StrUtils;
|
||||
|
||||
@@ -58,7 +58,7 @@ public class GenConfigDO implements Serializable {
|
||||
/**
|
||||
* 包名称
|
||||
*/
|
||||
@Schema(description = "包名称", example = "top.wms.admin.system")
|
||||
@Schema(description = "包名称", example = "top.mes.admin.system")
|
||||
@NotBlank(message = "包名称不能为空")
|
||||
@Pattern(regexp = RegexConstants.PACKAGE_NAME, message = "包名称格式错误")
|
||||
@Length(max = 60, message = "包名称不能超过 {max} 个字符")
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package top.wms.admin.generator.model.entity;
|
||||
package top.mes.admin.generator.model.entity;
|
||||
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import cn.hutool.core.date.DateUtil;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package top.wms.admin.generator.model.query;
|
||||
package top.mes.admin.generator.model.query;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
package top.wms.admin.generator.model.req;
|
||||
package top.mes.admin.generator.model.req;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import jakarta.validation.Valid;
|
||||
import jakarta.validation.constraints.NotEmpty;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import lombok.Data;
|
||||
import top.wms.admin.generator.model.entity.FieldConfigDO;
|
||||
import top.wms.admin.generator.model.entity.GenConfigDO;
|
||||
import top.mes.admin.generator.model.entity.FieldConfigDO;
|
||||
import top.mes.admin.generator.model.entity.GenConfigDO;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package top.wms.admin.generator.model.resp;
|
||||
package top.mes.admin.generator.model.resp;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
package top.wms.admin.generator.service;
|
||||
package top.mes.admin.generator.service;
|
||||
|
||||
import jakarta.servlet.http.HttpServletResponse;
|
||||
import top.wms.admin.generator.model.entity.FieldConfigDO;
|
||||
import top.wms.admin.generator.model.entity.GenConfigDO;
|
||||
import top.wms.admin.generator.model.query.GenConfigQuery;
|
||||
import top.wms.admin.generator.model.req.GenConfigReq;
|
||||
import top.wms.admin.generator.model.resp.GeneratePreviewResp;
|
||||
import top.mes.admin.generator.model.entity.FieldConfigDO;
|
||||
import top.mes.admin.generator.model.entity.GenConfigDO;
|
||||
import top.mes.admin.generator.model.query.GenConfigQuery;
|
||||
import top.mes.admin.generator.model.req.GenConfigReq;
|
||||
import top.mes.admin.generator.model.resp.GeneratePreviewResp;
|
||||
import top.continew.starter.extension.crud.model.query.PageQuery;
|
||||
import top.continew.starter.extension.crud.model.resp.PageResp;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package top.wms.admin.generator.service.impl;
|
||||
package top.mes.admin.generator.service.impl;
|
||||
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import cn.hutool.core.collection.CollUtil;
|
||||
@@ -24,18 +24,18 @@ import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import top.wms.admin.generator.config.properties.GeneratorProperties;
|
||||
import top.wms.admin.generator.enums.FormTypeEnum;
|
||||
import top.wms.admin.generator.enums.QueryTypeEnum;
|
||||
import top.wms.admin.generator.mapper.FieldConfigMapper;
|
||||
import top.wms.admin.generator.mapper.GenConfigMapper;
|
||||
import top.wms.admin.generator.model.entity.FieldConfigDO;
|
||||
import top.wms.admin.generator.model.entity.GenConfigDO;
|
||||
import top.wms.admin.generator.model.entity.InnerGenConfigDO;
|
||||
import top.wms.admin.generator.model.query.GenConfigQuery;
|
||||
import top.wms.admin.generator.model.req.GenConfigReq;
|
||||
import top.wms.admin.generator.model.resp.GeneratePreviewResp;
|
||||
import top.wms.admin.generator.service.GeneratorService;
|
||||
import top.mes.admin.generator.config.properties.GeneratorProperties;
|
||||
import top.mes.admin.generator.enums.FormTypeEnum;
|
||||
import top.mes.admin.generator.enums.QueryTypeEnum;
|
||||
import top.mes.admin.generator.mapper.FieldConfigMapper;
|
||||
import top.mes.admin.generator.mapper.GenConfigMapper;
|
||||
import top.mes.admin.generator.model.entity.FieldConfigDO;
|
||||
import top.mes.admin.generator.model.entity.GenConfigDO;
|
||||
import top.mes.admin.generator.model.entity.InnerGenConfigDO;
|
||||
import top.mes.admin.generator.model.query.GenConfigQuery;
|
||||
import top.mes.admin.generator.model.req.GenConfigReq;
|
||||
import top.mes.admin.generator.model.resp.GeneratePreviewResp;
|
||||
import top.mes.admin.generator.service.GeneratorService;
|
||||
import top.continew.starter.core.autoconfigure.project.ProjectProperties;
|
||||
import top.continew.starter.core.constant.StringConstants;
|
||||
import top.continew.starter.core.exception.BusinessException;
|
||||
@@ -105,7 +105,7 @@ public class GeneratorServiceImpl implements GeneratorService {
|
||||
genConfig = new GenConfigDO(tableName);
|
||||
// 默认包名(当前包名)
|
||||
String packageName = ClassUtil.getPackage(GeneratorService.class);
|
||||
genConfig.setPackageName(StrUtil.subBefore("top.wms.admin.", StringConstants.DOT, true));
|
||||
genConfig.setPackageName(StrUtil.subBefore("top.mes.admin.", StringConstants.DOT, true));
|
||||
genConfig.setModuleName("wms-module-system");
|
||||
// 默认业务名(表注释)
|
||||
List<Table> tableList = MetaUtils.getTables(dataSource, tableName);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package top.wms.admin.controller.${subPackageName};
|
||||
package top.mes.admin.controller.${subPackageName};
|
||||
|
||||
import top.continew.starter.extension.crud.enums.Api;
|
||||
|
||||
@@ -8,7 +8,7 @@ import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import top.continew.starter.extension.crud.annotation.CrudRequestMapping;
|
||||
import top.wms.admin.common.controller.BaseController;
|
||||
import top.mes.admin.common.controller.BaseController;
|
||||
import ${packageName}.model.query.${classNamePrefix}Query;
|
||||
import ${packageName}.model.req.${classNamePrefix}Req;
|
||||
import ${packageName}.model.resp.${classNamePrefix}DetailResp;
|
||||
|
||||
@@ -7,7 +7,7 @@ import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
||||
import com.alibaba.excel.annotation.ExcelProperty;
|
||||
|
||||
import top.wms.admin.common.model.resp.BaseDetailResp;
|
||||
import top.mes.admin.common.model.resp.BaseDetailResp;
|
||||
|
||||
import java.io.Serial;
|
||||
<#if hasTimeField>
|
||||
|
||||
@@ -4,7 +4,7 @@ import lombok.Data;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
|
||||
import top.wms.admin.common.model.entity.BaseDO;
|
||||
import top.mes.admin.common.model.entity.BaseDO;
|
||||
|
||||
import java.io.Serial;
|
||||
<#if hasTimeField>
|
||||
|
||||
@@ -4,7 +4,7 @@ import lombok.Data;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
|
||||
import top.wms.admin.common.model.resp.BaseDetailResp;
|
||||
import top.mes.admin.common.model.resp.BaseDetailResp;
|
||||
|
||||
import java.io.Serial;
|
||||
<#if hasTimeField>
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>top.wms</groupId>
|
||||
<artifactId>wms-plugin</artifactId>
|
||||
<groupId>top.mes</groupId>
|
||||
<artifactId>mes-plugin</artifactId>
|
||||
<version>${revision}</version>
|
||||
</parent>
|
||||
|
||||
|
||||
<artifactId>wms-plugin-schedule</artifactId>
|
||||
<artifactId>mes-plugin-schedule</artifactId>
|
||||
<description>任务调度插件</description>
|
||||
|
||||
<dependencies>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package top.wms.admin.schedule.api;
|
||||
package top.mes.admin.schedule.api;
|
||||
|
||||
import com.aizuda.snailjob.common.core.model.Result;
|
||||
import org.springframework.http.MediaType;
|
||||
@@ -7,10 +7,10 @@ import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.service.annotation.*;
|
||||
import top.wms.admin.schedule.model.JobPageResult;
|
||||
import top.wms.admin.schedule.model.req.JobReq;
|
||||
import top.wms.admin.schedule.model.req.JobStatusReq;
|
||||
import top.wms.admin.schedule.model.resp.JobResp;
|
||||
import top.mes.admin.schedule.model.JobPageResult;
|
||||
import top.mes.admin.schedule.model.req.JobReq;
|
||||
import top.mes.admin.schedule.model.req.JobStatusReq;
|
||||
import top.mes.admin.schedule.model.resp.JobResp;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package top.wms.admin.schedule.api;
|
||||
package top.mes.admin.schedule.api;
|
||||
|
||||
import com.aizuda.snailjob.common.core.model.Result;
|
||||
import org.springframework.http.MediaType;
|
||||
@@ -8,10 +8,10 @@ import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.service.annotation.GetExchange;
|
||||
import org.springframework.web.service.annotation.HttpExchange;
|
||||
import org.springframework.web.service.annotation.PostExchange;
|
||||
import top.wms.admin.schedule.model.JobInstanceLogPageResult;
|
||||
import top.wms.admin.schedule.model.JobPageResult;
|
||||
import top.wms.admin.schedule.model.resp.JobInstanceResp;
|
||||
import top.wms.admin.schedule.model.resp.JobLogResp;
|
||||
import top.mes.admin.schedule.model.JobInstanceLogPageResult;
|
||||
import top.mes.admin.schedule.model.JobPageResult;
|
||||
import top.mes.admin.schedule.model.resp.JobInstanceResp;
|
||||
import top.mes.admin.schedule.model.resp.JobLogResp;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package top.wms.admin.schedule.api;
|
||||
package top.mes.admin.schedule.api;
|
||||
|
||||
import cn.hutool.core.convert.Convert;
|
||||
import cn.hutool.core.date.DateUtil;
|
||||
@@ -16,8 +16,8 @@ import com.aizuda.snailjob.common.core.model.Result;
|
||||
import lombok.Data;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import top.wms.admin.schedule.constant.JobConstants;
|
||||
import top.wms.admin.schedule.model.JobPageResult;
|
||||
import top.mes.admin.schedule.constant.JobConstants;
|
||||
import top.mes.admin.schedule.model.JobPageResult;
|
||||
import top.continew.starter.cache.redisson.util.RedisUtils;
|
||||
import top.continew.starter.extension.crud.model.resp.PageResp;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package top.wms.admin.schedule.config;
|
||||
package top.mes.admin.schedule.config;
|
||||
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import io.netty.channel.ChannelOption;
|
||||
@@ -20,10 +20,10 @@ import org.springframework.web.reactive.function.client.support.WebClientAdapter
|
||||
import org.springframework.web.service.invoker.HttpServiceProxyFactory;
|
||||
import reactor.core.publisher.Mono;
|
||||
import reactor.netty.http.client.HttpClient;
|
||||
import top.wms.admin.schedule.api.JobApi;
|
||||
import top.wms.admin.schedule.api.JobBatchApi;
|
||||
import top.wms.admin.schedule.api.JobClient;
|
||||
import top.wms.admin.schedule.constant.JobConstants;
|
||||
import top.mes.admin.schedule.api.JobApi;
|
||||
import top.mes.admin.schedule.api.JobBatchApi;
|
||||
import top.mes.admin.schedule.api.JobClient;
|
||||
import top.mes.admin.schedule.constant.JobConstants;
|
||||
|
||||
/**
|
||||
* HTTP Exchange 配置
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package top.wms.admin.schedule.config;
|
||||
package top.mes.admin.schedule.config;
|
||||
|
||||
import ch.qos.logback.classic.Logger;
|
||||
import ch.qos.logback.classic.LoggerContext;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package top.wms.admin.schedule.constant;
|
||||
package top.mes.admin.schedule.constant;
|
||||
|
||||
/**
|
||||
* 任务调度常量
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package top.wms.admin.schedule.enums;
|
||||
package top.mes.admin.schedule.enums;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package top.wms.admin.schedule.enums;
|
||||
package top.mes.admin.schedule.enums;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package top.wms.admin.schedule.enums;
|
||||
package top.mes.admin.schedule.enums;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import top.wms.admin.common.constant.UiConstants;
|
||||
import top.mes.admin.common.constant.UiConstants;
|
||||
import top.continew.starter.core.enums.BaseEnum;
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package top.wms.admin.schedule.enums;
|
||||
package top.mes.admin.schedule.enums;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package top.wms.admin.schedule.enums;
|
||||
package top.mes.admin.schedule.enums;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import top.wms.admin.common.constant.UiConstants;
|
||||
import top.mes.admin.common.constant.UiConstants;
|
||||
import top.continew.starter.core.enums.BaseEnum;
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package top.wms.admin.schedule.enums;
|
||||
package top.mes.admin.schedule.enums;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import top.wms.admin.common.constant.UiConstants;
|
||||
import top.mes.admin.common.constant.UiConstants;
|
||||
import top.continew.starter.core.enums.BaseEnum;
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package top.wms.admin.schedule.enums;
|
||||
package top.mes.admin.schedule.enums;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package top.wms.admin.schedule.model;
|
||||
package top.mes.admin.schedule.model;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package top.wms.admin.schedule.model;
|
||||
package top.mes.admin.schedule.model;
|
||||
|
||||
import com.aizuda.snailjob.common.core.model.Result;
|
||||
import lombok.Data;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package top.wms.admin.schedule.model.query;
|
||||
package top.mes.admin.schedule.model.query;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import jakarta.validation.constraints.Min;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package top.wms.admin.schedule.model.query;
|
||||
package top.mes.admin.schedule.model.query;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package top.wms.admin.schedule.model.query;
|
||||
package top.mes.admin.schedule.model.query;
|
||||
|
||||
import cn.hutool.core.date.DatePattern;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
@@ -7,7 +7,7 @@ import jakarta.validation.constraints.Size;
|
||||
import lombok.Data;
|
||||
import org.hibernate.validator.constraints.Range;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import top.wms.admin.schedule.enums.JobExecuteStatusEnum;
|
||||
import top.mes.admin.schedule.enums.JobExecuteStatusEnum;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
package top.wms.admin.schedule.model.query;
|
||||
package top.mes.admin.schedule.model.query;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import jakarta.validation.constraints.Min;
|
||||
import lombok.Data;
|
||||
import org.hibernate.validator.constraints.Range;
|
||||
import top.wms.admin.schedule.enums.JobStatusEnum;
|
||||
import top.mes.admin.schedule.enums.JobStatusEnum;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
package top.wms.admin.schedule.model.req;
|
||||
package top.mes.admin.schedule.model.req;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import lombok.Data;
|
||||
import org.hibernate.validator.constraints.Length;
|
||||
import top.wms.admin.schedule.enums.*;
|
||||
import top.mes.admin.schedule.enums.*;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
package top.wms.admin.schedule.model.req;
|
||||
package top.mes.admin.schedule.model.req;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import lombok.Data;
|
||||
import top.wms.admin.schedule.enums.JobStatusEnum;
|
||||
import top.mes.admin.schedule.enums.JobStatusEnum;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package top.wms.admin.schedule.model.resp;
|
||||
package top.mes.admin.schedule.model.resp;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
package top.wms.admin.schedule.model.resp;
|
||||
package top.mes.admin.schedule.model.resp;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import top.wms.admin.schedule.enums.JobExecuteReasonEnum;
|
||||
import top.wms.admin.schedule.enums.JobExecuteStatusEnum;
|
||||
import top.mes.admin.schedule.enums.JobExecuteReasonEnum;
|
||||
import top.mes.admin.schedule.enums.JobExecuteStatusEnum;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package top.wms.admin.schedule.model.resp;
|
||||
package top.mes.admin.schedule.model.resp;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import top.wms.admin.schedule.enums.*;
|
||||
import top.mes.admin.schedule.enums.*;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
package top.wms.admin.schedule.service;
|
||||
package top.mes.admin.schedule.service;
|
||||
|
||||
import top.wms.admin.schedule.model.JobInstanceLogPageResult;
|
||||
import top.wms.admin.schedule.model.query.JobInstanceLogQuery;
|
||||
import top.wms.admin.schedule.model.query.JobInstanceQuery;
|
||||
import top.wms.admin.schedule.model.query.JobLogQuery;
|
||||
import top.wms.admin.schedule.model.resp.JobInstanceResp;
|
||||
import top.wms.admin.schedule.model.resp.JobLogResp;
|
||||
import top.mes.admin.schedule.model.JobInstanceLogPageResult;
|
||||
import top.mes.admin.schedule.model.query.JobInstanceLogQuery;
|
||||
import top.mes.admin.schedule.model.query.JobInstanceQuery;
|
||||
import top.mes.admin.schedule.model.query.JobLogQuery;
|
||||
import top.mes.admin.schedule.model.resp.JobInstanceResp;
|
||||
import top.mes.admin.schedule.model.resp.JobLogResp;
|
||||
import top.continew.starter.extension.crud.model.resp.PageResp;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
package top.wms.admin.schedule.service;
|
||||
package top.mes.admin.schedule.service;
|
||||
|
||||
import top.wms.admin.schedule.model.query.JobQuery;
|
||||
import top.wms.admin.schedule.model.req.JobReq;
|
||||
import top.wms.admin.schedule.model.req.JobStatusReq;
|
||||
import top.wms.admin.schedule.model.resp.JobResp;
|
||||
import top.mes.admin.schedule.model.query.JobQuery;
|
||||
import top.mes.admin.schedule.model.req.JobReq;
|
||||
import top.mes.admin.schedule.model.req.JobStatusReq;
|
||||
import top.mes.admin.schedule.model.resp.JobResp;
|
||||
import top.continew.starter.extension.crud.model.resp.PageResp;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@@ -1,18 +1,18 @@
|
||||
package top.wms.admin.schedule.service.impl;
|
||||
package top.mes.admin.schedule.service.impl;
|
||||
|
||||
import cn.hutool.core.date.DatePattern;
|
||||
import cn.hutool.core.date.DateUtil;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import org.springframework.stereotype.Service;
|
||||
import top.wms.admin.schedule.api.JobBatchApi;
|
||||
import top.wms.admin.schedule.api.JobClient;
|
||||
import top.wms.admin.schedule.model.JobInstanceLogPageResult;
|
||||
import top.wms.admin.schedule.model.query.JobInstanceLogQuery;
|
||||
import top.wms.admin.schedule.model.query.JobInstanceQuery;
|
||||
import top.wms.admin.schedule.model.query.JobLogQuery;
|
||||
import top.wms.admin.schedule.model.resp.JobInstanceResp;
|
||||
import top.wms.admin.schedule.model.resp.JobLogResp;
|
||||
import top.wms.admin.schedule.service.JobLogService;
|
||||
import top.mes.admin.schedule.api.JobBatchApi;
|
||||
import top.mes.admin.schedule.api.JobClient;
|
||||
import top.mes.admin.schedule.model.JobInstanceLogPageResult;
|
||||
import top.mes.admin.schedule.model.query.JobInstanceLogQuery;
|
||||
import top.mes.admin.schedule.model.query.JobInstanceQuery;
|
||||
import top.mes.admin.schedule.model.query.JobLogQuery;
|
||||
import top.mes.admin.schedule.model.resp.JobInstanceResp;
|
||||
import top.mes.admin.schedule.model.resp.JobLogResp;
|
||||
import top.mes.admin.schedule.service.JobLogService;
|
||||
import top.continew.starter.extension.crud.model.resp.PageResp;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
package top.wms.admin.schedule.service.impl;
|
||||
package top.mes.admin.schedule.service.impl;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import org.springframework.stereotype.Service;
|
||||
import top.wms.admin.schedule.api.JobApi;
|
||||
import top.wms.admin.schedule.api.JobClient;
|
||||
import top.wms.admin.schedule.model.query.JobQuery;
|
||||
import top.wms.admin.schedule.model.req.JobReq;
|
||||
import top.wms.admin.schedule.model.req.JobStatusReq;
|
||||
import top.wms.admin.schedule.model.resp.JobResp;
|
||||
import top.wms.admin.schedule.service.JobService;
|
||||
import top.mes.admin.schedule.api.JobApi;
|
||||
import top.mes.admin.schedule.api.JobClient;
|
||||
import top.mes.admin.schedule.model.query.JobQuery;
|
||||
import top.mes.admin.schedule.model.req.JobReq;
|
||||
import top.mes.admin.schedule.model.req.JobStatusReq;
|
||||
import top.mes.admin.schedule.model.resp.JobResp;
|
||||
import top.mes.admin.schedule.service.JobService;
|
||||
import top.continew.starter.extension.crud.model.resp.PageResp;
|
||||
|
||||
import java.util.Collections;
|
||||
|
||||
@@ -4,20 +4,20 @@
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>top.wms</groupId>
|
||||
<artifactId>wms-admin</artifactId>
|
||||
<groupId>top.mes</groupId>
|
||||
<artifactId>mes-admin</artifactId>
|
||||
<version>${revision}</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>wms-plugin</artifactId>
|
||||
<artifactId>mes-plugin</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<description>插件模块(存放代码生成、任务调度等扩展模块)</description>
|
||||
|
||||
<dependencies>
|
||||
<!-- 公共模块(存放公共工具类,公共配置等) -->
|
||||
<dependency>
|
||||
<groupId>top.wms</groupId>
|
||||
<artifactId>wms-common</artifactId>
|
||||
<groupId>top.mes</groupId>
|
||||
<artifactId>mes-common</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
Reference in New Issue
Block a user