1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
| server:
| port: 8088
| servlet:
| context-path: /mdc
|
| dbType: mysql #数据库类型,可选值mysql/oracle(暂时不支持)
|
| spring:
| profiles:
| active: dev
| servlet:
| multipart:
| max-file-size: 10MB
|
| mybatis:
| configuration:
| cache-enabled: true
| map-underscore-to-camel-case: true
| mapper-locations: classpath:mapper/*.xml
| type-aliases-package: com.qianwen.mdc.domain
|
| mybatis-plus:
| global-config:
| db-config:
| updateStrategy: 0
|
| wfg:
| # 请一定注意! WorkerIdBitLength + SeqBitLength + DataCenterIdBitLength <= 22
| # 1表示雪花漂移算法,2表示传统雪花算法
| method: 1
| # 基础时间,为2023-07-01 00:00:00 id>0
| baseTime: 1688140800000
| # 数据中心id
| dataCenterId: 0
| # 数据中心id位长,默认为0表示不开启数据中心id功能
| dataCenterIdBitLength: 0
| # 机器码(当前系统的机器码)
| workerId: 0
| # 机器码位长(能表示机器码的最大值)
| workerIdBitLength: 1
| # 序列数位长(能表示机器码的最大序列数)
| seqBitLength: 6
| # 最大序列数(含)
| maxSeqNumber: 0
| # 最小序列数(含)
| minSeqNumber: 5
| # 最大漂移次数,与计算能力有关
| topOverCostCount: 2000
|
| staticdata:
| useDepartments:
| - id: 1
| name: 工艺
| - id: 2
| name: 编制
| - id: 3
| name: 生产
| mdc:
| interval: 10000
| executor:
| corePoolSize: 10
| maxPoolSize: 200
| queueCapacity: 10
|
| localPath:
| mdc: d:\Qingan\Hangxing\MDCMax3\MDCMax.exe
|
|