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

4 months ago
4 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
  1. spring:
  2. datasource:
  3. type: com.alibaba.druid.pool.DruidDataSource
  4. druid:
  5. driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
  6. type: com.alibaba.druid.pool.DruidDataSource
  7. # url: jdbc:sqlserver://192.168.1.90:1433;databaseName=CKT_MES_II_REAL
  8. url: jdbc:sqlserver://xujiesoft.vicp.net:11515;databaseName=CKT_MES_II_REAL
  9. # url: jdbc:sqlserver://xujiesoft.vicp.net:11515;databaseName=ckp-srm
  10. username: sa
  11. password: XJsoft123
  12. initial-size: 10
  13. max-active: 100
  14. min-idle: 10
  15. max-wait: 60000
  16. pool-prepared-statements: true
  17. max-pool-prepared-statement-per-connection-size: 20
  18. time-between-eviction-runs-millis: 60000
  19. min-evictable-idle-time-millis: 300000
  20. #Oracle需要打开注释
  21. #validation-query: SELECT 1 FROM DUAL
  22. test-while-idle: true
  23. test-on-borrow: false
  24. test-on-return: false
  25. stat-view-servlet:
  26. allow: ""
  27. enabled: true
  28. url-pattern: /druid/*
  29. #login-username: admin
  30. #login-password: admin
  31. filter:
  32. stat:
  33. log-slow-sql: true
  34. slow-sql-millis: 1000
  35. merge-sql: false
  36. wall:
  37. config:
  38. multi-statement-allow: true
  39. #文件的存放的路径
  40. sys-file:
  41. file-path: 'D:\ckp-file'#不可以放入中文字符
  42. oss-url: 'http://192.168.1.160:9000/'
  43. #--------------------------------------------定时器任务参数-------------------------------------------------
  44. task:
  45. data:
  46. site: 2,3 #事业部
  47. eamWorkPlanTime: 0 0 0 * * ? #点检、维保计划自动生成,每天0点执行
  48. getExcelInformation: 0 0 0 * * ? #每天读取一次文件
  49. modbusCommunicate: 0 0 0 * * ? #获取modbus数据
  50. readPerSecond: 0 0 0 * * ? #每天执行一次
  51. sendEmail: 0 0 12 ? * MON-FRI #发送邮件
  52. createQCInspection: 0 01 17 * * ? # 创建质量任务
  53. enabled: false
  54. #--------------------------------------------接口地址和开关控制-------------------------------------------------
  55. toacc:
  56. name: 888 #ERP账套号
  57. page helper:
  58. helperDialect: sqlserver
  59. reasonable: true
  60. supportMethodsArguments: true
  61. params: count=countSql
  62. #--------------------------------------------手表设置-------------------------------------------------
  63. loraurl:
  64. requestLoraIp: 'http://172.26.58.244:9999'
  65. requestGateway: 'http://192.168.1.1'
  66. requestThreeColourLightIp: 'http://192.168.1.205:9999'
  67. getLoraWatchTime: 0 0 0 29 2 ?
  68. sendLoraWatchTime: 0 0 0 29 2 ?
  69. #sendThreeColourTime: 0 0 0 29 2 ?
  70. sendRedColourTime: 0 0 0 29 2 ?