application-dev.yml 18.5 KB
Newer Older
苗卫卫 committed
1 2
datasource:
  def:
苗卫卫 committed
3 4 5 6 7
#    driver-class-name: com.mysql.cj.jdbc.Driver
    type: com.alibaba.druid.pool.DruidDataSource
    url: jdbc:mysql://111.229.205.39:3306/wios-test?useUnicode=true&characterEncoding=utf8&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8
    username: root
    password: Xuri@2020!
苗卫卫 committed
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
    #type:
    filters: stat
    maxActive: 20
    initialSize: 1
    maxWait: 30000
    minIdle: 1
    timeBetweenEvictionRunsMillis: 60000
    minEvictableIdleTimeMillis: 90000
    validationQuery: SELECT 1 FROM DUAL
    testWhileIdle: true
    testOnBorrow: false
    testOnReturn: false
    poolPreparedStatements: true
    maxOpenPreparedStatements: 20
    connection-test-query: SELECT 1 FROM DUAL
    #filters: stat,wall,log4j2
    connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
  extdb:
苗卫卫 committed
26 27 28 29 30
#    driver-class-name: com.mysql.cj.jdbc.Driver
    type: com.alibaba.druid.pool.DruidDataSource
    url: jdbc:mysql://111.229.205.39:3306/warehouse?useUnicode=true&characterEncoding=utf8&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8
    username: root
    password: Xuri@2020!
苗卫卫 committed
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
    #type:
    filters: stat
    maxActive: 20
    initialSize: 1
    maxWait: 30000
    minIdle: 1
    timeBetweenEvictionRunsMillis: 60000
    minEvictableIdleTimeMillis: 90000
    validationQuery: SELECT 1 FROM DUAL
    testWhileIdle: true
    testOnBorrow: false
    testOnReturn: false
    poolPreparedStatements: true
    maxOpenPreparedStatements: 20
    connection-test-query: SELECT 1 FROM DUAL
    #filters: stat,wall,log4j2
    connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000

spring:
  redis:
苗卫卫 committed
51
    host: 127.0.0.1
苗卫卫 committed
52
    port: 6379
苗卫卫 committed
53 54 55
    password:
    database: 10
    timeout: 2000
苗卫卫 committed
56 57 58 59 60 61
    lettuce:
      pool:
        max-active: 8
        max-wait: 1000
        max-idle: 100
        min-idle: 0
苗卫卫 committed
62 63
  main:
    allow-bean-definition-overriding: true
苗卫卫 committed
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
jasypt.encryptor.password: 6dc19871-5299-4603-9b7a-2d7fa78defea

swagger:
  enable: true    #系统默认为false
  serviceUrl: http://127.0.0.1:30350
  version: v2.0
  basePackage: com.boco.nbd.wios.*.controller,com.boco.nbd.wios.export
  app:
    title: 开迈斯WIOS服务
    desc: 开迈斯WIOS服务

#流程数据源配置
activiti:
  #是否采用业务数据源
  useDefDataSource: true
  #是否创建表
  database-schema-update: true
苗卫卫 committed
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103
activitiDataSource:
  def:
    type: com.alibaba.druid.pool.DruidDataSource
    url: jdbc:mysql://111.229.205.39:3306/wios-test?useUnicode=true&characterEncoding=utf8&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true
    username: root
    password: Xuri@2020!
    #type:
    filters: stat
    maxActive: 20
    initialSize: 1
    maxWait: 30000
    minIdle: 1
    timeBetweenEvictionRunsMillis: 60000
    minEvictableIdleTimeMillis: 90000
    validationQuery: SELECT 1 FROM DUAL
    testWhileIdle: true
    testOnBorrow: false
    testOnReturn: false
    poolPreparedStatements: true
    maxOpenPreparedStatements: 20
    connection-test-query: SELECT 1 FROM DUAL
    #filters: stat,wall,log4j2
    connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
苗卫卫 committed
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119
auth:
  allowRepeatLogin: true

support:
  limit:
    pageSize: 10

api:
  v2:
    compatible: true
    log: false

url:
  api:
    wios: http://wios.api.dev.ccchong.com:8086
    push: http://push-gateway.test.k8s.star-charge.com/mts
苗卫卫 committed
120
    warehouse: http://127.0.0.1:30350/
苗卫卫 committed
121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159
    #warehouse: http://10.8.9.86:8056/
    invoice: http://47.111.208.192:8028/mts
  h5: http://wios.2ust.com
  FILE_UPLOAD_DEFAULT_URL: https://oss-cams.oss-cn-hangzhou.aliyuncs.com/wios/

appkey:
  warehouse: MA1YDN61X
  invoice: MA1YDN61X

mina:
  appId: wxcc364b1431128ad7
  appSecret: 2cc67ec6811ccb7dbdd57c2eadb627a5

weixin:
  appId: wxe343c909cc459c6a
  appSecret: d4624c36b6795d1d99dcf0547af5443d

sms:
  aliyun:
    enable: true
    weight: 1
    endpoint: cn-hangzhou
    access-key-id: LTAI5tFo5PHXPUEGP7zrbSGe
    access-key-secret: jU3mM34HWPdPKLnao9aF1ZFURt5sj3
    sign-name: FC100000118866049
    templates:
      appointmentUser: SMS_255885013
      businessRefused: SMS_256115007
      appointmentTimeConfirm: SMS_256040012
      appointmentTimeNotify: SMS_256030017

sap:
  url: https://dev-user-vqgd2we1.it-cpi010-rt.cpi.cn40.apps.platform.sapcloud.cn
  username: sb-ed7ae553-63c3-41cb-93e7-6d9eddd35998!b904|it-rt-dev-user-vqgd2we1!b39
  password: 3bc40402-dd4b-4400-bf61-29db7a5e9968$Ly2NGHzyxV6QJ1rphkrmHAy6nBSflaLEcEFAQLCQSUI=

# flowCode 流程标识,flowSuperGroupId:流程超级用户组(存在配置)
flow:
  flowCode: CamsOrder
苗卫卫 committed
160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635
  flowSuperGroupId: 836764183768485111
cams:
  name: cams配置
  #枚举类数值配置
  enumNumberConfig:
    #是否
    - key: yesOrNo
      value: 0-否;1-是
    #是否需要立柱
    - key: needErectPile
      value: 0-否;1-是
    #是否需要特殊施工
    - key: needSpecialConstruction
      value: 0-否;1-是
    #是否为售车前预勘测
    - key: surveyBeforeSaleEnable
      value: 0-否;1-是
    #是否独立车位
    - key: hasIndependentParking
      value: 0-否;1-是
    #是否需要勘测
    - key: isNeedSurvey
      value: 0-否;1-是
    #是否联系上客户
    - key: isConnect
      value: 0-否;1-是
    #是否进行电力报装
    - key: electricExpand
      value: 0-否;1-是
    #报装状态
    - key: expandStatus
      value: 1-通过;2-不通过
    #报装不通过后订单后续操作
    - key: expandFailOperate
      value: 1-换其他用电类型继续安装;2-不安装了
    #报装方式
    - key: expandMethod
      value: 1-代报装;2-自主报装
    #安装紧急程度
    - key: installEmergencyLevel
      value: 1-一般;2-紧急
    #物业态度
    - key: propertyAgree
      value: 0-不同意;1-同意
    #安装位置
    - key: installPosition
      value: 1-室内;2-室外
    #类型
    - key: type
      value: 1-普通订单;2-移桩订单
    #是否需要人工派单
    - key: manuDispatchEnable
      value: 0-否;1-是
    #车主性别
    - key: userSex
      value: 0-女;1-男;2-未知
    #车位环境
    - key: parkingCondition
      value: 1-地上;2-地下
    #电力来源
    - key: powerType
      value: 1-电力报装;2-物业电;3-家用电;4-其他
    #电源点类型
    - key: installPowerType
      value: 1-电力报装;2-物业电;3-家用电;4-其他
    #住宅类型
    - key: houseType
      value: 1-普通高层;2-商业两住;3-别墅;4-公司;5-厂房;6-自建房;7-其他
    #车位类型
    - key: parkingType
      value: 1-自主产权;2-长期租赁;3-不固定;4-其他
    #是否露天
    - key: openAir
      value: 0-否;1-是
    #安装方式
    - key: installType
      value: 1-壁挂;2-立式;3-其他
    #实际安装方式
    - key: realInstallType
      value: 1-壁挂;2-立式
    #物业态度
    - key: propertyAgree
      value: 1-同意;2-不同意
    #信号类型
    - key: signalType
      value: 1-移动;2-电信;3-联通
    #费用是否超标
    - key: overStandard
      value: 0-未超标;1-超标
    #电缆敷设方式
    - key: cableInstallType
      value: 1-PVC电工管;2-JDG镀锌管;3-电缆桥架;4-其他
    #实际电敷设方式
    - key: realCableInstallType
      value: 1-PVC电工管;2-JDG镀锌管;3-电缆桥架;4-其他
    #选用电缆规格
    - key: cableType
      value: 1-ZR-YJV-3*6mm²;2-ZR-YJV-3*10mm²;3-ZR-YJV-3*16mm²;4-ZR-YJV-5*6mm²
    #实际电缆规格
    - key: realCableType
      value: 1-ZR-YJV-3*6mm²;2-ZR-YJV-3*10mm²;3-ZR-YJV-3*16mm²;4-ZR-YJV-5*6mm²
    #勘测结论
    - key: surveyResult
      value: 1-同意安装;2-不同意安装;3-待定
    #现场培训内容
    - key: trainContent
      value: 1-使用操作培训;2-故障排查及处理培训;3-维护保养培训待定;4-售后服务
    #附件交付
    - key: attachment
      value: 1-电卡2张;2-出厂检测报告;3-三年质保卡;4-使用说明书;5-其它
    #需要的资料准备
    - key: prepareInfo
      value: 1-关于在停车位安装电工汽车充电设备的申请;2-停车车位产权复印件;3-身份证正反面复印件;4-车位使用权证明书;5-无需资料准备
    #评分项
    - key: scoreItem
      value: 1-安全;2-快速响应;3-质量;4-时效;5-库存管理;6-采购;7-其它
    #考核部门
    - key: appraisalDepartment
      value: 1-区域PM;0-自动计算;2-售后;3-质量;4-质量PM;5-物控;6-采购
    #墙盒线缆的安装长度
    - key: installLength
      value: 1-10米以下;2-10-20米;3-20-30米;4-30-40米;5-40米以上
  #枚举类字符配置
  enumStringConfig:
    - key: isPickCar
      value: 是;否;已支付定金
  #时限配置,单位天
  dueDate:
    - key: 101
      value: 1
    - key: 103
      value: 1
    - key: 104
      value: 1
    - key: 106
      value: 3
    - key: 107
      value: 2
    - key: 108
      value: 1
    - key: 111
      value: 3
    - key: 112
      value: 2
    - key: 115
      value: 12
  #报告实体
  reportEntry:
    - key: 10
      parentKey: 1
      name: 勘测报告材料
    - key: 101
      parentKey: 10
      name: 勘测报告
      describe: CAMS 墙盒安装服务勘测报告
    - key: 102
      parentKey: 10
      name: 放弃电力报装声明
      describe: 放弃电力报装声明(非电力报装顾客提供)
    - key: 11
      parentKey: 1
      name: 勘测照片
    - key: 111
      parentKey: 11
      name: 取电点
      describe: 取电点方位,火零地线、参数清晰
    - key: 112
      parentKey: 11
      name: 安装车位环境照片
      describe: 车位号,墙盒安装位置可见
    - key: 113
      parentKey: 11
      name: 线路走向
      describe: 标识清楚大体线路走向
    - key: 114
      parentKey: 11
      name: 现场信号
      describe: 现场信号测量截图(三次测量)
    - key: 20
      parentKey: 2
      name: 安装验收单材料
    - key: 201
      parentKey: 20
      name: 安装验收单
      describe: CAMS 墙盒安装服务验收单
    - key: 202
      parentKey: 20
      name: 安装服务收费报价单
      describe: CAMS 墙盒安装服务收费报价单
    - key: 21
      parentKey: 2
      name: 安装照片
    - key: 211
      parentKey: 21
      name: 充电墙盒编号
      describe: 拍摄完整,数字清晰
    - key: 212
      parentKey: 21
      name: 控制单元标签
      describe:
    - key: 213
      parentKey: 21
      name: 绿灯图
      describe: 充电桩亮灯状态,开关盒及安装位置可见
    - key: 214
      parentKey: 21
      name: 充电模拟图测试
      describe:
    - key: 215
      parentKey: 21
      name: 人桩合照
      describe: 充电桩亮灯状态
    - key: 216
      parentKey: 21
      name: 安装完成车位照
      describe: 充电桩亮灯状态,车位号可见
    - key: 217
      parentKey: 21
      name: 保护开关
      describe: 火零地接线、线号、有电危险标识、线缆标识牌、开关参数、开关盒整体和接地、进出线杯梳可见
    - key: 218
      parentKey: 21
      name: 取电点
      describe: 火零地接线、线号、有电危险标识、线缆标识牌、开关参数、出线杯梳可见
    - key: 219
      parentKey: 21
      name: 电缆起点、终点米标
      describe: 数字清晰,以保护开关和取电点为背景,断头断尾
    - key: 220
      parentKey: 21
      name: 电缆标识
      describe: 品牌、型号可见,背景为相应安装现场
    - key: 221
      parentKey: 21
      name: 管材标识
      describe: 品牌、型号可见,背景为相应安装现场
    - key: 222
      parentKey: 21
      name: 经纬度截图
      describe:
    - key: 223
      parentKey: 21
      name: 线路走向
      describe: 标识清楚大体线路走向
    - key: 224
      parentKey: 21
      name: 车架号
      describe:
  #评分自动计算算法
  scoreAlgorithm:
    - key: 1
      parentKey: 0
      describe: 接单时效
      target: ≤2小时
      algorithm: 服务商有与客服首联动作时间-派单时间
    - key: 2
      parentKey: 0
      describe: 返工单数
      target: 0
      algorithm: 有一单扣二分,扣完为止
    - key: 3
      parentKey: 0
      describe: 勘测时效
      target: ≤3日
      algorithm: 勘测完成时间-预约勘测时间 (完成的订单)
    - key: 4
      parentKey: 0
      describe: 勘测资料上传
      target: ≤24小时
      algorithm: 勘测资料上传时间-勘测完成时间
    - key: 5
      parentKey: 0
      describe: 安装完成时效
      target: ≤9日
      algorithm: 安装完成时间-预约安装时间(完成的订单)
    - key: 6
      parentKey: 0
      describe: 安装资料上传
      target: ≤24小时
      algorithm: 安装资料上传时间-安装完成时间
    - key: 7
      parentKey: 0
      describe: 总体安装时效(无电力报装)
      target: ≤10日
      algorithm: 安装审核完成时间-派单时间 (完成的订单)(剔除受阻时间以及呆滞订单)
    - key: 8
      parentKey: 0
      describe: 总体安装时效(有电力报装)
      target: ≤20日
      algorithm: 安装审核完成时间-派单时间(完成的订单)(剔除受阻时间以及呆滞订单)
    - key: 9
      parentKey: 0
      describe: 累计安装完成率
      target: ≥90%
      algorithm: 累计完成安装的数量/累计派单总量(剔除关单订单)
    - key: 10
      parentKey: 0
      describe: 当月安装率
      target: ≥95%
      algorithm: 当月安装审核通过/当月派单
    - key: 11
      parentKey: 0
      describe: 扣分
      target:
      algorithm: 勘测,安装未在约定时间内到达约定地点签到订单,每一单扣10分扣完为止
    - key: 20
      parentKey: 3
      describe: 加分
      target:
      algorithm: 按照施工处罚单中实际分数进行扣减
    - key: 21
      parentKey: 3
      describe: 减分
      target:
      algorithm: 按照施工处罚单中实际分数进行扣减
womc:
  name: cams配置
  #枚举类字符配置
  enumStringConfig:
    #故障时间
    - key: faultTime
      value: 使用中;安装时
    #紧急程度
    - key: emergencyLevel
      value: 投诉;抱怨;正常
    #是否
    - key: yesOrNo
      value: 是;否
    #处理结果
    - key: processResult
      value: 已解决;未解决;需要技术支持
    #客户意见
    - key: customerOpinion
      value: 非常满意;满意;一般;不满意;非常不满意
    #安装位置
    - key: installPosition
      value: 地上;地下
    #故障场景
    - key: faultScene
      value: 使用中;安装中
    #费用类型
    - key: expenseType
      value: 上门拆装;上门检修
    #对接人
    - key: recipients
      value: 何建波;孟元逊
    #一级故障
    - key: oneLevelFault
      value: 充电枪问题;主板硬件问题;线路问题;急停故障;接地故障;电源点问题;墙盒断网;操作问题;车桩匹配问题;APP问题;充电卡问题;其他
  #二级故障
  twoLevelFault:
    - oneLevelFault: 充电枪问题
      twoLevelFault: 充电枪问题
      faultSolutionWay: 后续补充完善
    - oneLevelFault: 主板硬件问题
      twoLevelFault: 主板硬件问题
      faultSolutionWay: 后续补充完善
    - oneLevelFault: 线路问题
      twoLevelFault: 线路问题
      faultSolutionWay: 后续补充完善
    - oneLevelFault: 急停故障
      twoLevelFault: 急停故障
      faultSolutionWay: 后续补充完善
    - oneLevelFault: 接地故障
      twoLevelFault: 零线带电
      faultSolutionWay: 后续补充完善
    - oneLevelFault: 接地故障
      twoLevelFault: 接地问题
      faultSolutionWay: 后续补充完善
    - oneLevelFault: 电源点问题
      twoLevelFault: 电源点问题
      faultSolutionWay: 后续补充完善
    - oneLevelFault: 墙盒断网
      twoLevelFault: 墙盒断网
      faultSolutionWay: 后续补充完善
    - oneLevelFault: 操作问题
      twoLevelFault: 车机操作
      faultSolutionWay: 后续补充完善
    - oneLevelFault: 操作问题
      twoLevelFault: APP操作
      faultSolutionWay: 后续补充完善
    - oneLevelFault: 操作问题
      twoLevelFault: 充电桩操作
      faultSolutionWay: 后续补充完善
    - oneLevelFault: 操作问题
      twoLevelFault: 其他
      faultSolutionWay: 后续补充完善
    - oneLevelFault: 车桩匹配问题
      twoLevelFault: 车桩匹配问题
      faultSolutionWay: 后续补充完善
    - oneLevelFault: APP问题
      twoLevelFault: APP问题
      faultSolutionWay: 后续补充完善
    - oneLevelFault: 充电卡问题
      twoLevelFault: 充电卡问题
      faultSolutionWay: 后续补充完善
    - oneLevelFault: 其他
      twoLevelFault: 咨询误报
      faultSolutionWay: 后续补充完善
    - oneLevelFault: 其他
      twoLevelFault: 客户自行处理
      faultSolutionWay: 后续补充完善
    - oneLevelFault: 其他
      twoLevelFault: 其他
      faultSolutionWay: 后续补充完善
  #故障类型
faultTypeEntry:
  - key: 1201
    parentKey: 12
    faultType: 充电枪问题
    faultSolutionWay: 后续补充完善
  - key: 1202
    parentKey: 12
    faultType: 主板硬件问题
    faultSolutionWay: 后续补充完善
  - key: 1203
    parentKey: 12
    faultType: 线路问题
    faultSolutionWay: 后续补充完善
  - key: 1204
    parentKey: 12
    faultType: 急停故障
    faultSolutionWay: 后续补充完善
  - key: 1205
    parentKey: 12
    faultType: 接地故障
    faultSolutionWay: 后续补充完善
  - key: 1206
    parentKey: 12
    faultType: 电源点问题
    faultSolutionWay: 后续补充完善
  - key: 1207
    parentKey: 12
    faultType: 墙盒断网
    faultSolutionWay: 后续补充完善
  - key: 1208
    parentKey: 12
    faultType: 操作问题
    faultSolutionWay: 后续补充完善
  - key: 1209
    parentKey: 12
    faultType: 车桩匹配问题
    faultSolutionWay: 后续补充完善
  - key: 1210
    parentKey: 12
    faultType: APP问题
    faultSolutionWay: 后续补充完善
  - key: 1211
    parentKey: 12
    faultType: 充电卡问题
    faultSolutionWay: 后续补充完善
  - key: 1212
    parentKey: 12
    faultType: 其他
    faultSolutionWay: 后续补充完善



#调用第三方接口相关配置
oss:
  endpoint: oss-cn-hangzhou.aliyuncs.com
  accessKeyId: LTAI4G53jcWvinAGWUk1ZkXt
  accessKeySecret: 8NXH4qbByfS60NVNYMMH6GplZAVuTA
  bucketName: oss-cams


# flowable配置
flowable:
  database-schema-update: true
  #pg用户使用指定,mysql不用
  #  database-schema: base_data
  activity-font-name: "宋体"
  label-font-name: "宋体"
  annotation-font-name: "宋体"
  async-executor-activate: false