1. 统一包名修改

This commit is contained in:
chenbowen
2025-09-22 14:53:45 +08:00
parent 0d46897482
commit 386d47fde1
692 changed files with 2132 additions and 2132 deletions

View File

@@ -11,7 +11,7 @@ import java.util.List;
/**
* 规则 Convert
*
* @author ZT源码
* @author 芋道源码
*/
@Mapper
public interface RuleConvert {

View File

@@ -9,7 +9,7 @@ import lombok.*;
/**
* 规则 DO
*
* @author ZT源码
* @author 芋道源码
*/
@TableName("rule_rule")
@KeySequence("rule_rule_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。

View File

@@ -10,7 +10,7 @@ import org.apache.ibatis.annotations.Mapper;
/**
* 规则 Mapper
*
* @author ZT源码
* @author 芋道源码
*/
@Mapper
public interface RuleMapper extends BaseMapperX<RuleDO> {

View File

@@ -11,7 +11,7 @@ import java.util.Map;
* 数据设置组件
* 用于设置上下文数据
*
* @author ZT源码
* @author 芋道源码
*/
@LiteflowComponent("dataSetNode")
@Slf4j

View File

@@ -11,7 +11,7 @@ import java.math.RoundingMode;
* 数值计算组件
* 支持加减乘除等数学运算
*
* @author ZT源码
* @author 芋道源码
*/
@LiteflowComponent("mathCalculateNode")
@Slf4j

View File

@@ -11,7 +11,7 @@ import java.util.Map;
* 基础规则组件
* 提供通用的属性获取和上下文操作方法
*
* @author ZT源码
* @author 芋道源码
*/
public abstract class BaseRuleComponent extends NodeComponent {

View File

@@ -11,7 +11,7 @@ import java.math.BigDecimal;
* 条件判断组件 - 数值比较
* 支持大于、小于、等于、大于等于、小于等于比较
*
* @author ZT源码
* @author 芋道源码
*/
@LiteflowComponent("numberCompareNode")
@Slf4j

View File

@@ -9,7 +9,7 @@ import lombok.extern.slf4j.Slf4j;
* 字符串判断组件
* 支持字符串相等、包含、长度等判断
*
* @author ZT源码
* @author 芋道源码
*/
@LiteflowComponent("stringConditionNode")
@Slf4j

View File

@@ -7,7 +7,7 @@ import org.springframework.context.annotation.Configuration;
/**
* LiteFlow 配置类
*
* @author ZT源码
* @author 芋道源码
*/
@Configuration
public class LiteFlowConfiguration {

View File

@@ -22,7 +22,7 @@ import java.util.Map;
/**
* LiteFlow 服务实现类
*
* @author ZT源码
* @author 芋道源码
*/
@Service
@Slf4j

View File

@@ -9,7 +9,7 @@ import javax.validation.Valid;
/**
* 规则 Service 接口
*
* @author ZT源码
* @author 芋道源码
*/
public interface RuleService {

View File

@@ -25,7 +25,7 @@ import static com.zt.plat.module.rule.enums.ErrorCodeConstants.*;
/**
* 规则 Service 实现类
*
* @author ZT源码
* @author 芋道源码
*/
@Service
@Validated

View File

@@ -86,8 +86,8 @@ mybatis-plus:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
# ZT配置项,设置当前项目所有自定义的配置
cloud:
# 芋道配置项,设置当前项目所有自定义的配置
zt:
env: # 多环境的配置项
tag: ${HOSTNAME}
security:

View File

@@ -101,13 +101,13 @@ xxl:
logpath: ${user.home}/logs/xxl-job/${spring.application.name} # 执行器运行日志文件存储磁盘路径
accessToken: default_token # 执行器通讯TOKEN
cloud:
zt:
info:
version: 1.0.0
base-package: com.zt.plat.module.rule
web:
admin-ui:
url: http://dashboard.cloud.iocoder.cn # Admin 管理后台 UI 的地址
url: http://dashboard.zt.iocoder.cn # Admin 管理后台 UI 的地址
xss:
enable: false
exclude-urls: # 如下两个 url仅仅是为了演示去掉配置也没关系
@@ -116,7 +116,7 @@ cloud:
swagger:
title: 管理后台
description: 提供管理员管理的所有功能
version: ${cloud.info.version}
version: ${zt.info.version}
tenant: # 多租户相关配置项
enable: true

View File

@@ -13,7 +13,7 @@ import java.util.Map;
* 规则引擎使用示例
* 演示如何使用JSON配置来定义和组合原子规则
*
* @author ZT源码
* @author 芋道源码
*/
@Slf4j
public class RuleEngineExample {

View File

@@ -22,7 +22,7 @@ import static org.mockito.Mockito.*;
/**
* {@link RuleServiceImpl} 的单元测试类
*
* @author ZT源码
* @author 芋道源码
*/
@Import(RuleServiceImpl.class)
public class RuleServiceImplTest extends BaseDbUnitTest {