commit:添加多对多关联中间表更新支持,功能位于 班级管理 -> 课程 -> 编辑课程顺序

This commit is contained in:
Jerry
2020-09-27 22:22:59 +08:00
parent 295d466207
commit 307588694e
495 changed files with 7134 additions and 1183 deletions

View File

@@ -5,8 +5,8 @@ import org.springframework.boot.context.properties.EnableConfigurationProperties
/**
* common-sequence模块的自动配置引导类。
*
* @author Orange Team
* @date 2020-08-08
* @author Jerry
* @date 2020-09-27
*/
@EnableConfigurationProperties({IdGeneratorProperties.class})
public class IdGeneratorAutoConfigure {

View File

@@ -6,8 +6,8 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* common-sequence模块的配置类。
*
* @author Orange Team
* @date 2020-08-08
* @author Jerry
* @date 2020-09-27
*/
@Data
@ConfigurationProperties(prefix = "sequence")

View File

@@ -8,8 +8,8 @@ import cn.hutool.core.util.IdUtil;
* 和SnowflakeIdGenerator相比相同点是均为基于Snowflake算法的生成器。不同点在于当前类的
* WorkNodeId是通过配置文件静态指定的。而SnowflakeIdGenerator的WorkNodeId是由zk生成的。
*
* @author Orange Team
* @date 2020-08-08
* @author Jerry
* @date 2020-09-27
*/
public class BasicIdGenerator implements MyIdGenerator {

View File

@@ -3,8 +3,8 @@ package com.orange.demo.common.sequence.generator;
/**
* 分布式Id生成器的统一接口。
*
* @author Orange Team
* @date 2020-08-08
* @author Jerry
* @date 2020-09-27
*/
public interface MyIdGenerator {

View File

@@ -12,7 +12,7 @@ import java.util.Random;
* Snowflake Id生成器。该实现完全copy美团的leaf。
*
* @author MeiTuan.Team
* @date 2020-08-08
* @date 2020-09-27
*/
@Slf4j
public class SnowflakeIdGenerator implements MyIdGenerator {

View File

@@ -29,7 +29,7 @@ import java.util.concurrent.TimeUnit;
* Snowflake Id生成器所依赖的zk工具类。该实现完全copy美团的leaf。
*
* @author MeiTuan.Team
* @date 2020-08-08
* @date 2020-09-27
*/
@Slf4j
@Data

View File

@@ -12,8 +12,8 @@ import javax.annotation.PostConstruct;
/**
* 分布式Id生成器的封装类。该对象可根据配置选择不同的生成器实现类。
*
* @author Orange Team
* @date 2020-08-08
* @author Jerry
* @date 2020-09-27
*/
@Component
public class IdGeneratorWrapper {