Skip to content

Commit

Permalink
modified
Browse files Browse the repository at this point in the history
  • Loading branch information
codeyung committed Aug 21, 2020
1 parent 5496e1d commit c2d622e
Show file tree
Hide file tree
Showing 46 changed files with 50 additions and 46 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,10 @@ query|查询模块
</project>
```

## 5. 开发事项
## 5. 业务抽象逻辑
![image]( https://github.com/ljheee/HexTransform/blob/master/abc.jpg)

## 6. 开发事项
1. 抽象结构
2. 系统流程
3. 问题点
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/cy/generate/GenerateApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/**
* @Description:
* @Author: YongJingChuan
* @Date: 2020/8/17 23:56
* @Date: 2020/8/22 23:56
*/
@SpringBootApplication
public class GenerateApplication {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/cy/generate/MybatisPlusConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/**
* @Description:
* @Author: YongJingChuan
* @Date: 2020/8/17 23:56
* @Date: 2020/8/22 23:56
*/
@Configuration
@MapperScan(basePackages = {"com.cy.generate.mapper"})
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/cy/generate/common/BaseController.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* @Description:
* @Author: YongJingChuan
* @Date: 2020/8/17 23:56
* @Date: 2020/8/22 23:56
*/
public class BaseController {
}
2 changes: 1 addition & 1 deletion src/main/java/com/cy/generate/common/BaseEntity.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/**
* @Description:
* @Author: YongJingChuan
* @Date: 2019/10/5 23:01
* @Date: 2020/8/22 23:01
*/
@Data
@Accessors(chain = true)
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/cy/generate/common/BaseRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* @Description:
* @Author: YongJingChuan
* @Date: 2020/8/18 18:47
* @Date: 2020/8/22 18:47
*/
public class BaseRequest {
}
2 changes: 1 addition & 1 deletion src/main/java/com/cy/generate/common/BaseResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* @Description:
* @Author: YongJingChuan
* @Date: 2020/8/18 15:49
* @Date: 2020/8/22 15:49
*/
public class BaseResponse<T> implements Serializable {

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/cy/generate/common/ErrorCode.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* @Description:
* @Author: YongJingChuan
* @Date: 2020/8/18 15:50
* @Date: 2020/8/22 15:50
*/
public enum ErrorCode {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* @Description:自定义数据源
* @Author: YongJingChuan
* @Date: 2020/8/19 19:46
* @Date: 2020/8/22 19:46
*/
//@Configuration
//@MapperScan(basePackages = {"xxx.xxx.a.mapper", "xxx.xxx.mapper"}, sqlSessionTemplateRef = "sqlSessionTemplate1")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* @Description:数据源属性文件
* @Author: YongJingChuan
* @Date: 2020/8/19 14:44
* @Date: 2020/8/22 14:44
*/
@Data
public class DataSourceProperties {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/**
* @Description:
* @Author: YongJingChuan
* @Date: 2020/8/19 14:42
* @Date: 2020/8/22 14:42
*/
//@Configuration
public class MybatisPlusConfig {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* @Description:Redis属性文件
* @Author: YongJingChuan
* @Date: 2020/8/19 15:02
* @Date: 2020/8/22 15:02
*/
@Data
public class RedisProperties {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* @Description:
* @Author: YongJingChuan
* @Date: 2020/8/20 16:20
* @Date: 2020/8/22 16:20
*/
public class CommonException extends RuntimeException {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/**
* @Description:
* @Author: YongJingChuan
* @Date: 2020/8/19 14:42
* @Date: 2020/8/22 14:42
*/
public class MyDateFormat extends DateFormat {
private DateFormat dateFormat;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/cy/generate/common/util/GsonUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
/**
* @Description:
* @Author: YongJingChuan
* @Date: 2020/8/17 23:56
* @Date: 2020/8/22 23:56
*/
public class GsonUtils {
private static Gson gson = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/**
* @Description:
* @Author: YongJingChuan
* @Date: 2020/8/17 23:23
* @Date: 2020/8/22 23:23
*/
@RestController
public class DemoController {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/cy/generate/domain/DemoObject.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/**
* @Description:
* @Author: YongJingChuan
* @Date: 2020/8/17 23:04
* @Date: 2020/8/22 23:04
*/
@Data
@Accessors(chain = true)
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/cy/generate/mapper/DemoMapper.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* @Description:
* @Author: YongJingChuan
* @Date: 2020/8/17 23:04
* @Date: 2020/8/22 23:04
*/
public interface DemoMapper {

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/cy/generate/service/DemoService.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/**
* @Description:
* @Author: YongJingChuan
* @Date: 2020/8/17 23:04
* @Date: 2020/8/22 23:04
*/
@Service
public class DemoService {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/cy/generate/support/BaseExecutor.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/**
* @Description:执行体链
* @Author: YongJingChuan
* @Date: 2020/8/18 10:41
* @Date: 2020/8/22 10:41
*/
public abstract class BaseExecutor {

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/cy/generate/support/BaseHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* @Description:执行体
* @Author: YongJingChuan
* @Date: 2020/8/18 10:43
* @Date: 2020/8/22 10:43
*/
public abstract class BaseHandler {

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/cy/generate/support/BaseProcessor.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/**
* @Description:处理器
* @Author: YongJingChuan
* @Date: 2020/8/18 10:33
* @Date: 2020/8/22 10:33
*/
public abstract class BaseProcessor {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/**
* @Description:处理器链
* @Author: YongJingChuan
* @Date: 2020/8/18 10:41
* @Date: 2020/8/22 10:41
*/
public abstract class BaseProcessorChain {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* @Description:流程起始类
* @Author: YongJingChuan
* @Date: 2020/8/18 12:24
* @Date: 2020/8/22 12:24
*/
public abstract class BaseProcessorChainFactory<R, P> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/**
* @Description:与线程绑定环境变量
* @Author: YongJingChuan
* @Date: 2020/8/18 15:28
* @Date: 2020/8/22 15:28
*/
@Component("contextHolder")
public class ContextHolder<T, R> {
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
type: com.mysql.cj.jdbc.MysqlDataSource
url: jdbc:mysql:https://140.143.11.131:3306/cf_limit?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=false&serverTimezone=Hongkong
url: jdbc:mysql:https://my.server.com:3306/cf_limit?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=false&serverTimezone=Hongkong
username: codeyung
password: d$EsG46g53H
http:
Expand Down
Binary file added src/main/resources/biz.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/test/java/com/cy/generate/CodeGeneratorTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
/**
* @Description:演示例子,执行 main 方法控制台输入模块表名回车自动生成对应项目目录中
* @Author: YongJingChuan
* @Date: 2020/8/17 23:56
* @Date: 2020/8/22 23:56
*/
public class CodeGeneratorTest {

Expand Down
2 changes: 1 addition & 1 deletion src/test/java/com/cy/generate/MpGeneratorTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/**
* @Description:
* @Author: YongJingChuan
* @Date: 2020/8/17 23:56
* @Date: 2020/8/22 23:56
*/
public class MpGeneratorTest {
@Test
Expand Down
5 changes: 3 additions & 2 deletions src/test/java/com/cy/generate/common/ResponseTest.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
package com.cy.generate.common;

/**
* @author: codeyung E-mail:[email protected]
* @date: 2020-08-18.21:47
* @Description:
* @Author: YongJingChuan
* @Date: 2020/8/22 15:50
*/
public class ResponseTest {

Expand Down
2 changes: 1 addition & 1 deletion src/test/java/com/cy/generate/exception/ExceptionTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/**
* @Description:
* @Author: YongJingChuan
* @Date: 2020/8/20 16:29
* @Date: 2020/8/22 16:29
*/
public class ExceptionTest {

Expand Down
2 changes: 1 addition & 1 deletion src/test/java/com/cy/generate/facade/CheckFacade.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/**
* @Description:
* @Author: YongJingChuan
* @Date: 2020/8/18 14:08
* @Date: 2020/8/22 14:08
*/
public class CheckFacade extends BaseProcessorChainFactory {

Expand Down
2 changes: 1 addition & 1 deletion src/test/java/com/cy/generate/facade/CheckTestFacade.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/**
* @Description:
* @Author: YongJingChuan
* @Date: 2020/8/18 14:08
* @Date: 2020/8/22 14:08
*/
public class CheckTestFacade {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/**
* @Description:模板-文件工具类
* @Author: YongJingChuan
* @Date: 2020/8/17 23:56
* @Date: 2020/8/22 23:56
*/
public class FileUtil {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/**
* @Description:Freemarket模板-配置类
* @Author: YongJingChuan
* @Date: 2020/8/17 23:56
* @Date: 2020/8/22 23:56
*/
public class FreemarketConfigUtils {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/**
* @Description:
* @Author: YongJingChuan
* @Date: 2020/8/18 14:09
* @Date: 2020/8/22 14:09
*/
public class CheckProcessorChain extends BaseProcessorChain {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/**
* @Description:
* @Author: YongJingChuan
* @Date: 2020/8/18 13:58
* @Date: 2020/8/22 13:58
*/
public class RequestCheckExecutor extends BaseExecutor {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/**
* @Description:
* @Author: YongJingChuan
* @Date: 2020/8/18 13:58
* @Date: 2020/8/22 13:58
*/
public class TokenCheckExecutor extends BaseExecutor {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/**
* @Description:
* @Author: YongJingChuan
* @Date: 2020/8/18 13:56
* @Date: 2020/8/22 13:56
*/
public class RequestCheckHandler extends BaseHandler {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/**
* @Description:
* @Author: YongJingChuan
* @Date: 2020/8/18 13:56
* @Date: 2020/8/22 13:56
*/
public class TokenCheckHandler extends BaseHandler {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/**
* @Description:
* @Author: YongJingChuan
* @Date: 2020/8/18 13:53
* @Date: 2020/8/22 13:53
*/
public class RequestCheckProcessor extends BaseProcessor {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/**
* @Description:
* @Author: YongJingChuan
* @Date: 2020/8/18 13:53
* @Date: 2020/8/22 13:53
*/
public class TokenCheckProcessor extends BaseProcessor {

Expand Down
2 changes: 1 addition & 1 deletion src/test/java/com/cy/generate/thread/ThreadA.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/**
* @Description:
* @Author: YongJingChuan
* @Date: 2020/8/20 12:23
* @Date: 2020/8/22 12:23
*/
@Service
public class ThreadA {
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/com/cy/generate/thread/ThreadB.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/**
* @Description:
* @Author: YongJingChuan
* @Date: 2020/8/20 12:23
* @Date: 2020/8/22 12:23
*/
@Service
public class ThreadB {
Expand Down
Loading

0 comments on commit c2d622e

Please sign in to comment.