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.

75 lines
2.5 KiB

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