You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
77 lines
2.6 KiB
77 lines
2.6 KiB
spring:
|
|
datasource:
|
|
type: com.alibaba.druid.pool.DruidDataSource
|
|
druid:
|
|
driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
|
|
type: com.alibaba.druid.pool.DruidDataSource
|
|
# url: jdbc:sqlserver://192.168.1.90:1433;databaseName=CKT_MES_II_REAL
|
|
url: jdbc:sqlserver://xujiesoft.vicp.net:11515;databaseName=CKT_MES_II_REAL
|
|
# url: jdbc:sqlserver://xujiesoft.vicp.net:11515;databaseName=ckp-srm
|
|
username: sa
|
|
password: XJsoft123
|
|
initial-size: 10
|
|
max-active: 100
|
|
min-idle: 10
|
|
max-wait: 60000
|
|
pool-prepared-statements: true
|
|
max-pool-prepared-statement-per-connection-size: 20
|
|
time-between-eviction-runs-millis: 60000
|
|
min-evictable-idle-time-millis: 300000
|
|
#Oracle需要打开注释
|
|
#validation-query: SELECT 1 FROM DUAL
|
|
test-while-idle: true
|
|
test-on-borrow: false
|
|
test-on-return: false
|
|
stat-view-servlet:
|
|
allow: ""
|
|
enabled: true
|
|
url-pattern: /druid/*
|
|
#login-username: admin
|
|
#login-password: admin
|
|
filter:
|
|
stat:
|
|
log-slow-sql: true
|
|
slow-sql-millis: 1000
|
|
merge-sql: false
|
|
wall:
|
|
config:
|
|
multi-statement-allow: true
|
|
#文件的存放的路径
|
|
sys-file:
|
|
file-path: 'D:\ckp-file'#不可以放入中文字符
|
|
oss-url: 'http://192.168.1.160:9000/'
|
|
|
|
#--------------------------------------------定时器任务参数-------------------------------------------------
|
|
task:
|
|
data:
|
|
site: 2,3 #事业部
|
|
eamWorkPlanTime: 0 0 0 * * ? #点检、维保计划自动生成,每天0点执行
|
|
getExcelInformation: 0 0 0 * * ? #每天读取一次文件
|
|
modbusCommunicate: 0 0 0 * * ? #获取modbus数据
|
|
readPerSecond: 0 0 0 * * ? #每天执行一次
|
|
sendEmail: 0 0 12 ? * MON-FRI #发送邮件
|
|
createQCInspection: 0 01 17 * * ? # 创建质量任务
|
|
enabled: false
|
|
|
|
#--------------------------------------------接口地址和开关控制-------------------------------------------------
|
|
|
|
toacc:
|
|
name: 888 #ERP账套号
|
|
|
|
page helper:
|
|
helperDialect: sqlserver
|
|
reasonable: true
|
|
supportMethodsArguments: true
|
|
params: count=countSql
|
|
|
|
#--------------------------------------------手表设置-------------------------------------------------
|
|
|
|
loraurl:
|
|
requestLoraIp: 'http://172.26.58.244:9999'
|
|
requestGateway: 'http://192.168.1.1'
|
|
requestThreeColourLightIp: 'http://192.168.1.205:9999'
|
|
getLoraWatchTime: 0 0 0 29 2 ?
|
|
sendLoraWatchTime: 0 0 0 29 2 ?
|
|
#sendThreeColourTime: 0 0 0 29 2 ?
|
|
sendRedColourTime: 0 0 0 29 2 ?
|
|
|