master
parent
b22cd4ab2a
commit
a082b4dbbf
|
@ -17,7 +17,7 @@ import com.baomidou.mybatisplus.annotation.IdType;
|
|||
/**
|
||||
* 节点管理对象 node_source
|
||||
*
|
||||
* @author 2112A
|
||||
* @Author: 胡杨
|
||||
* @date 2024-08-23
|
||||
*/
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ import org.apache.commons.lang3.builder.ToStringStyle;
|
|||
/**
|
||||
* 节点配置对象 node_disposition
|
||||
*
|
||||
* @author 2112A
|
||||
* @Author: 胡杨
|
||||
* @date 2024-08-29
|
||||
*/
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ import org.apache.commons.lang3.builder.ToStringStyle;
|
|||
/**
|
||||
* 任务对象 task_source
|
||||
*
|
||||
* @author 2112A
|
||||
* @Author: 胡杨
|
||||
* @date 2024-08-22
|
||||
*/
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ import java.io.Serializable;
|
|||
/**
|
||||
* 任务执行记录对象 task_export
|
||||
*
|
||||
* @author 2112A
|
||||
* @Author: 胡杨
|
||||
* @date 2024-09-06
|
||||
*/
|
||||
|
||||
|
|
|
@ -6,9 +6,9 @@ import lombok.NoArgsConstructor;
|
|||
import lombok.experimental.SuperBuilder;
|
||||
|
||||
/**
|
||||
* @author Lenovo
|
||||
* @Author: 胡杨
|
||||
* @ Tool:IntelliJ IDEA
|
||||
* @ Author:CHX
|
||||
* @ Author: 胡杨
|
||||
* @ Date:2024-08-23-9:41
|
||||
* @ Version:1.0
|
||||
* @ Description:数据转换对象
|
||||
|
|
|
@ -6,9 +6,9 @@ import lombok.NoArgsConstructor;
|
|||
import lombok.experimental.SuperBuilder;
|
||||
|
||||
/**
|
||||
* @author Lenovo
|
||||
* @Author: 胡杨
|
||||
* @ Tool:IntelliJ IDEA
|
||||
* @ Author:CHX
|
||||
* @ Author: 胡杨
|
||||
* @ Date:2024-09-03-22:14
|
||||
* @ Version:1.0
|
||||
* @ Description:任务表查询时用到
|
||||
|
|
|
@ -8,7 +8,7 @@ import org.apache.commons.lang3.builder.ToStringStyle;
|
|||
/**
|
||||
* 节点管理对象 node_source
|
||||
*
|
||||
* @author 2112A
|
||||
* @Author: 胡杨
|
||||
* @date 2024-08-23
|
||||
*/
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ import org.apache.commons.lang3.builder.ToStringStyle;
|
|||
/**
|
||||
* 任务对象 task_source
|
||||
*
|
||||
* @author 2112A
|
||||
* @Author: 胡杨
|
||||
* @date 2024-08-22
|
||||
*/
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ import org.apache.commons.lang3.builder.ToStringStyle;
|
|||
/**
|
||||
* 节点管理对象 node_source
|
||||
*
|
||||
* @author 2112A
|
||||
* @Author: 胡杨
|
||||
* @date 2024-08-23
|
||||
*/
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ import org.apache.commons.lang3.builder.ToStringStyle;
|
|||
/**
|
||||
* 任务对象 task_source
|
||||
*
|
||||
* @author 2112A
|
||||
* @Author: 胡杨
|
||||
* @date 2024-08-22
|
||||
*/
|
||||
|
||||
|
|
|
@ -14,11 +14,11 @@ import java.util.List;
|
|||
|
||||
/**
|
||||
* @ Tool:IntelliJ IDEA
|
||||
* @ Author:CHX
|
||||
* @ Author:胡杨
|
||||
* @ Date:2024-08-21-10:50
|
||||
* @ Version:1.0
|
||||
* @ Description:数据源远程调用
|
||||
* @author Lenovo
|
||||
* @Author: 胡杨
|
||||
*/
|
||||
@FeignClient(contextId = "RemoteDataSourceService",
|
||||
value = ServiceNameConstants.SOURCE_SERVICE,
|
||||
|
|
|
@ -7,11 +7,11 @@ import org.springframework.cloud.openfeign.FallbackFactory;
|
|||
|
||||
/**
|
||||
* @ Tool:IntelliJ IDEA
|
||||
* @ Author:CHX
|
||||
* @ Author: 胡杨
|
||||
* @ Date:2024-08-21-10:54
|
||||
* @ Version:1.0
|
||||
* @ Description:
|
||||
* @author Lenovo
|
||||
* @Author: 胡杨
|
||||
*/
|
||||
public class RemoteDataSourceFactory implements FallbackFactory<RemoteDataSourceService> {
|
||||
@Override
|
||||
|
|
|
@ -30,7 +30,7 @@ import com.muyu.common.core.web.page.TableDataInfo;
|
|||
/**
|
||||
* 节点管理Controller
|
||||
*
|
||||
* @author 2112A
|
||||
* @Author: 胡杨
|
||||
* @date 2024-08-23
|
||||
*/
|
||||
@RestController
|
||||
|
|
|
@ -31,7 +31,7 @@ import com.muyu.common.core.web.page.TableDataInfo;
|
|||
/**
|
||||
* 节点配置Controller
|
||||
*
|
||||
* @author 2112A
|
||||
* @Author: 胡杨
|
||||
* @date 2024-08-29
|
||||
*/
|
||||
@RestController
|
||||
|
|
|
@ -31,7 +31,7 @@ import com.muyu.common.core.web.page.TableDataInfo;
|
|||
/**
|
||||
* 任务Controller
|
||||
*
|
||||
* @author 2112A
|
||||
* @Author: 胡杨
|
||||
* @date 2024-08-22
|
||||
*/
|
||||
@RestController
|
||||
|
|
|
@ -25,7 +25,7 @@ import com.muyu.common.core.web.page.TableDataInfo;
|
|||
/**
|
||||
* 任务执行记录Controller
|
||||
*
|
||||
* @author 2112A
|
||||
* @Author: 胡杨
|
||||
* @date 2024-09-06
|
||||
*/
|
||||
@RestController
|
||||
|
|
|
@ -7,7 +7,7 @@ import org.apache.ibatis.annotations.Mapper;
|
|||
/**
|
||||
* 节点配置Mapper接口
|
||||
*
|
||||
* @author 2112A
|
||||
* @Author: 胡杨
|
||||
* @date 2024-08-29
|
||||
*/
|
||||
@Mapper
|
||||
|
|
|
@ -8,7 +8,7 @@ import org.apache.ibatis.annotations.Mapper;
|
|||
/**
|
||||
* 节点管理Mapper接口
|
||||
*
|
||||
* @author 2112A
|
||||
* @Author: 胡杨
|
||||
* @date 2024-08-23
|
||||
*/
|
||||
@Mapper
|
||||
|
|
|
@ -8,7 +8,7 @@ import org.apache.ibatis.annotations.Mapper;
|
|||
/**
|
||||
* 任务执行记录Mapper接口
|
||||
*
|
||||
* @author 2112A
|
||||
* @Author: 胡杨
|
||||
* @date 2024-09-06
|
||||
*/
|
||||
@Mapper
|
||||
|
|
|
@ -10,7 +10,7 @@ import org.apache.ibatis.annotations.Mapper;
|
|||
/**
|
||||
* 任务Mapper接口
|
||||
*
|
||||
* @author 2112A
|
||||
* @Author: 胡杨
|
||||
* @date 2024-08-22
|
||||
*/
|
||||
@Mapper
|
||||
|
|
|
@ -7,7 +7,7 @@ import com.baomidou.mybatisplus.extension.service.IService;
|
|||
/**
|
||||
* 节点配置Service接口
|
||||
*
|
||||
* @author 2112A
|
||||
* @Author: 胡杨
|
||||
* @date 2024-08-29
|
||||
*/
|
||||
public interface INodeDispositionService extends IService<NodeDisposition> {
|
||||
|
|
|
@ -8,7 +8,7 @@ import com.muyu.quest.req.NodeReq;
|
|||
/**
|
||||
* 节点管理Service接口
|
||||
*
|
||||
* @author 2112A
|
||||
* @Author: 胡杨
|
||||
* @date 2024-08-23
|
||||
*/
|
||||
public interface INodeService extends IService<Node> {
|
||||
|
|
|
@ -7,7 +7,7 @@ import com.baomidou.mybatisplus.extension.service.IService;
|
|||
/**
|
||||
* 任务执行记录Service接口
|
||||
*
|
||||
* @author 2112A
|
||||
* @Author: 胡杨
|
||||
* @date 2024-09-06
|
||||
*/
|
||||
public interface ITaskExportService extends IService<TaskExport> {
|
||||
|
|
|
@ -11,7 +11,7 @@ import com.muyu.quest.resp.TaskResp;
|
|||
/**
|
||||
* 任务Service接口
|
||||
*
|
||||
* @author 2112A
|
||||
* @Author: 胡杨
|
||||
* @date 2024-08-22
|
||||
*/
|
||||
public interface TaskService extends IService<Task> {
|
||||
|
|
|
@ -13,7 +13,7 @@ import org.springframework.util.Assert;
|
|||
/**
|
||||
* 节点配置Service业务层处理
|
||||
*
|
||||
* @author 2112A
|
||||
* @Author: 胡杨
|
||||
* @date 2024-08-29
|
||||
*/
|
||||
@Service
|
||||
|
|
|
@ -19,7 +19,7 @@ import javax.annotation.Resource;
|
|||
/**
|
||||
* 节点管理Service业务层处理
|
||||
*
|
||||
* @author 2112A
|
||||
* @Author: 胡杨
|
||||
* @date 2024-08-23
|
||||
*/
|
||||
@Service
|
||||
|
|
|
@ -15,7 +15,7 @@ import org.springframework.util.Assert;
|
|||
/**
|
||||
* 任务执行记录Service业务层处理
|
||||
*
|
||||
* @author 2112A
|
||||
* @Author: 胡杨
|
||||
* @date 2024-09-06
|
||||
*/
|
||||
@Service
|
||||
|
|
|
@ -31,7 +31,7 @@ import javax.annotation.Resource;
|
|||
/**
|
||||
* 任务Service业务层处理
|
||||
*
|
||||
* @author 2112A
|
||||
* @Author: 胡杨
|
||||
* @date 2024-08-22
|
||||
*/
|
||||
@Slf4j
|
||||
|
|
|
@ -307,10 +307,10 @@ public class NodeUtils {
|
|||
datum.forEach(dataModel -> {
|
||||
// 检查 getValue 是否为空
|
||||
String value = dataModel.getValue() != null ? dataModel.getValue().toString() : null;
|
||||
// 规则执行 清除单引号'和`
|
||||
// 规则执行 非法字符转换 单引号'和` => ‘
|
||||
if (value!=null){
|
||||
value = StringUtils.replace(value, "'", "");
|
||||
value = StringUtils.replace(value, "`", "");
|
||||
value = StringUtils.replace(value, "'", "‘");
|
||||
value = StringUtils.replace(value, "`", "‘");
|
||||
}
|
||||
dataMap.put(dataModel.getKey(), value);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue