服务指令-流程配置
This commit is contained in:
parent
18b0319068
commit
d82bf1d283
|
|
@ -0,0 +1,54 @@
|
|||
package com.nu.modules.config.flow.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.nu.modules.config.sendorderrule.entity.SendOrderRuleSub;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description: 服务指令-流程配置主表
|
||||
* @Author: caolei
|
||||
* @Date: 2025-12-5
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("nu_config_service_flow_main")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@ApiModel(value="nu_config_service_flow_main对象", description="服务指令-流程配置主表")
|
||||
public class FlowMain implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
/**id*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
private String id;
|
||||
|
||||
/**流程名称*/
|
||||
private String flowName;
|
||||
|
||||
/**是否启用 Y启用 N未启用*/
|
||||
private String izEnabled;
|
||||
|
||||
/**创建人*/
|
||||
private String createBy;
|
||||
/**创建日期*/
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||
private java.util.Date createTime;
|
||||
/**更新人*/
|
||||
private String updateBy;
|
||||
/**更新日期*/
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||
private java.util.Date updateTime;
|
||||
/**是否删除 0未删除 1删除*/
|
||||
private String delFlag;
|
||||
}
|
||||
|
|
@ -0,0 +1,53 @@
|
|||
package com.nu.modules.config.flow.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description: 服务指令-流程配置节点表
|
||||
* @Author: caolei
|
||||
* @Date: 2025-12-5
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("nu_config_service_flow_point")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@ApiModel(value="nu_config_service_flow_point对象", description="服务指令-流程配置节点表")
|
||||
public class FlowPoint implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
/**id*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
private String id;
|
||||
/**流程名称*/
|
||||
private String pointName;
|
||||
/**流程名称*/
|
||||
private String directiveId;
|
||||
/**流程名称*/
|
||||
private String appPath;
|
||||
/**是否启用 Y启用 N未启用*/
|
||||
private String izEnabled;
|
||||
/**创建人*/
|
||||
private String createBy;
|
||||
/**创建日期*/
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||
private java.util.Date createTime;
|
||||
/**更新人*/
|
||||
private String updateBy;
|
||||
/**更新日期*/
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||
private java.util.Date updateTime;
|
||||
/**是否删除 0未删除 1删除*/
|
||||
private String delFlag;
|
||||
}
|
||||
|
|
@ -0,0 +1,57 @@
|
|||
package com.nu.modules.config.flow.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.nu.modules.config.sendorderrule.entity.SendOrderRuleSub;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description: 服务指令-流程配置子表
|
||||
* @Author: caolei
|
||||
* @Date: 2025-12-5
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("nu_config_service_flow_sub")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@ApiModel(value="nu_config_service_flow_sub对象", description="服务指令-流程配置子表")
|
||||
public class FlowSub implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
/**id*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
private String id;
|
||||
/**流程名称*/
|
||||
private String mainId;
|
||||
/**流程名称*/
|
||||
private String pointId;
|
||||
/**流程名称*/
|
||||
private String nextPointId;
|
||||
/**流程名称*/
|
||||
private String flowCode;
|
||||
/**是否启用 Y启用 N未启用*/
|
||||
private String izEnabled;
|
||||
/**创建人*/
|
||||
private String createBy;
|
||||
/**创建日期*/
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||
private java.util.Date createTime;
|
||||
/**更新人*/
|
||||
private String updateBy;
|
||||
/**更新日期*/
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||
private java.util.Date updateTime;
|
||||
/**是否删除 0未删除 1删除*/
|
||||
private String delFlag;
|
||||
}
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
package com.nu.modules.config.flow.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.nu.modules.config.flow.entity.FlowMain;
|
||||
|
||||
/**
|
||||
* @Description: 服务指令-流程配置主表
|
||||
* @Author: caolei
|
||||
* @Date: 2025-12-5
|
||||
* @Version: V1.0
|
||||
*/
|
||||
public interface FlowMainMapper extends BaseMapper<FlowMain> {
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
package com.nu.modules.config.flow.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.nu.modules.config.flow.entity.FlowPoint;
|
||||
|
||||
/**
|
||||
* @Description: 服务指令-流程配置节点表
|
||||
* @Author: caolei
|
||||
* @Date: 2025-12-5
|
||||
* @Version: V1.0
|
||||
*/
|
||||
public interface FlowPointMapper extends BaseMapper<FlowPoint> {
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
package com.nu.modules.config.flow.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.nu.modules.config.flow.entity.FlowSub;
|
||||
|
||||
/**
|
||||
* @Description: 服务指令-流程配置子表
|
||||
* @Author: caolei
|
||||
* @Date: 2025-12-5
|
||||
* @Version: V1.0
|
||||
*/
|
||||
public interface FlowSubMapper extends BaseMapper<FlowSub> {
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.nu.modules.config.flow.mapper.FlowMainMapper">
|
||||
|
||||
</mapper>
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.nu.modules.config.flow.mapper.FlowPointMapper">
|
||||
|
||||
</mapper>
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.nu.modules.config.flow.mapper.FlowSubMapper">
|
||||
|
||||
</mapper>
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
package com.nu.modules.config.flow.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.nu.modules.config.flow.entity.FlowMain;
|
||||
|
||||
/**
|
||||
* @Description: 服务指令-流程配置主表
|
||||
* @Author: caolei
|
||||
* @Date: 2025-12-5
|
||||
* @Version: V1.0
|
||||
*/
|
||||
public interface IFlowMainService extends IService<FlowMain> {
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
package com.nu.modules.config.flow.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.nu.modules.config.flow.entity.FlowPoint;
|
||||
|
||||
/**
|
||||
* @Description: 服务指令-流程配置节点表
|
||||
* @Author: caolei
|
||||
* @Date: 2025-12-5
|
||||
* @Version: V1.0
|
||||
*/
|
||||
public interface IFlowPointService extends IService<FlowPoint> {
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
package com.nu.modules.config.flow.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.nu.modules.config.flow.entity.FlowSub;
|
||||
|
||||
/**
|
||||
* @Description: 服务指令-流程配置子表
|
||||
* @Author: caolei
|
||||
* @Date: 2025-12-5
|
||||
* @Version: V1.0
|
||||
*/
|
||||
public interface IFlowSubService extends IService<FlowSub> {
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
package com.nu.modules.config.flow.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.nu.modules.config.flow.entity.FlowMain;
|
||||
import com.nu.modules.config.flow.mapper.FlowMainMapper;
|
||||
import com.nu.modules.config.flow.service.IFlowMainService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* @Description: 服务指令-流程配置主表
|
||||
* @Author: caolei
|
||||
* @Date: 2025-12-5
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Service
|
||||
public class FlowMainServiceImpl extends ServiceImpl<FlowMainMapper, FlowMain> implements IFlowMainService {
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
package com.nu.modules.config.flow.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.nu.modules.config.flow.entity.FlowPoint;
|
||||
import com.nu.modules.config.flow.mapper.FlowPointMapper;
|
||||
import com.nu.modules.config.flow.service.IFlowPointService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* @Description: 服务指令-流程配置节点表
|
||||
* @Author: caolei
|
||||
* @Date: 2025-12-5
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Service
|
||||
public class FlowPointServiceImpl extends ServiceImpl<FlowPointMapper, FlowPoint> implements IFlowPointService {
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
package com.nu.modules.config.flow.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.nu.modules.config.flow.entity.FlowSub;
|
||||
import com.nu.modules.config.flow.mapper.FlowSubMapper;
|
||||
import com.nu.modules.config.flow.service.IFlowSubService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* @Description: 服务指令-流程配置子表
|
||||
* @Author: caolei
|
||||
* @Date: 2025-12-5
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Service
|
||||
public class FlowSubServiceImpl extends ServiceImpl<FlowSubMapper, FlowSub> implements IFlowSubService {
|
||||
|
||||
}
|
||||
|
|
@ -30,10 +30,10 @@ public class SendOrderRule implements Serializable {
|
|||
@TableId(type = IdType.ASSIGN_ID)
|
||||
private String id;
|
||||
|
||||
/**优先级编码值*/
|
||||
/**规则编码值*/
|
||||
private Integer ruleCode;
|
||||
|
||||
/**优先级名称*/
|
||||
/**规则名称*/
|
||||
private String ruleName;
|
||||
|
||||
/**是否启用 Y启用 N未启用*/
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ import org.springframework.format.annotation.DateTimeFormat;
|
|||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description: 服务指令-派单优先级配置子表
|
||||
* @Description: 服务指令-派单规则配置子表
|
||||
* @Author: caolei
|
||||
* @Date: 2025-12-1
|
||||
* @Version: V1.0
|
||||
|
|
@ -22,7 +22,7 @@ import java.io.Serializable;
|
|||
@TableName("nu_config_service_send_order_rule_sub")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@ApiModel(value="nu_config_service_send_order_rule_sub对象", description="服务指令-派单优先级配置子表")
|
||||
@ApiModel(value="nu_config_service_send_order_rule_sub对象", description="服务指令-派单规则配置子表")
|
||||
public class SendOrderRuleSub implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
/**id*/
|
||||
|
|
@ -32,10 +32,10 @@ public class SendOrderRuleSub implements Serializable {
|
|||
/**是否启用 Y启用 N未启用*/
|
||||
private String mainId;
|
||||
|
||||
/**优先级编码值*/
|
||||
/**规则编码值*/
|
||||
private Integer ruleCode;
|
||||
|
||||
/**优先级名称*/
|
||||
/**规则名称*/
|
||||
private String ruleName;
|
||||
|
||||
/**是否启用 Y启用 N未启用*/
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|||
import com.nu.modules.config.sendorderrule.entity.SendOrderRule;
|
||||
|
||||
/**
|
||||
* @Description: 派单优先级配置主表
|
||||
* @Description: 派单规则配置主表
|
||||
* @Author: caolei
|
||||
* @Date: 2025-12-1
|
||||
* @Version: V1.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|||
import com.nu.modules.config.sendorderrule.entity.SendOrderRuleSub;
|
||||
|
||||
/**
|
||||
* @Description: 派单优先级配置子表
|
||||
* @Description: 派单规则配置子表
|
||||
* @Author: caolei
|
||||
* @Date: 2025-12-1
|
||||
* @Version: V1.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import com.baomidou.mybatisplus.extension.service.IService;
|
|||
import com.nu.modules.config.sendorderrule.entity.SendOrderRule;
|
||||
|
||||
/**
|
||||
* @Description: 服务指令-派单优先级配置主表
|
||||
* @Description: 服务指令-派单规则配置主表
|
||||
* @Author: caolei
|
||||
* @Date: 2025-12-1
|
||||
* @Version: V1.0
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import com.baomidou.mybatisplus.extension.service.IService;
|
|||
import com.nu.modules.config.sendorderrule.entity.SendOrderRuleSub;
|
||||
|
||||
/**
|
||||
* @Description: 服务指令-派单优先级配置子表
|
||||
* @Description: 服务指令-派单规则配置子表
|
||||
* @Author: caolei
|
||||
* @Date: 2025-12-1
|
||||
* @Version: V1.0
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import com.nu.modules.config.sendorderrule.service.ISendOrderRuleService;
|
|||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* @Description: 服务指令-派单优先级配置主表
|
||||
* @Description: 服务指令-派单规则配置主表
|
||||
* @Author: caolei
|
||||
* @Date: 2025-12-1
|
||||
* @Version: V1.0
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import com.nu.modules.config.sendorderrule.service.ISendOrderRuleSubService;
|
|||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* @Description: 服务指令-派单优先级配置主表
|
||||
* @Description: 服务指令-派单规则配置主表
|
||||
* @Author: caolei
|
||||
* @Date: 2025-12-1
|
||||
* @Version: V1.0
|
||||
|
|
|
|||
Loading…
Reference in New Issue