# 环境配置 server: port: 9055 servlet: context-path: /api/akds enable: scheduling: true # condition spel: scheduling: true # 定时任务是否执行 multiSource: false # 是否多数据源配置 nc: scheduling: true # 定时任务是否执行 multiSource: false # 是否多数据源配置 spring: # database datasource: hikari: connection-init-sql: SET NAMES utf8mb4 COLLATE utf8mb4_unicode_ci # SqlServer, Oracle 无需设置类型 driver-class-name: com.mysql.cj.jdbc.Driver username: root password: 123456 url: jdbc:mysql://58.247.23.192:3306/paineng?serverTimezone=GMT%2B8 jpa: database: MYSQL database-platform: org.hibernate.dialect.MySQL57Dialect # dingtalk dingtalk: agentId: 4310055556 appKey: dingkn5sejssd2cyokxn appSecret: bw-iCUwgtcVQ9t0FDB0tllsfOJDvJN5qoOI4AipuxCaPZ1cK9HpZ8aUCElJuHBLm corpId: ding52ae7f09b9166798a39a90f97fcb1e09 aesKey: token: operator: "" # OA管理员账号 [首字符若为0需要转一下字符串] beisen: appKey: "619FF6F9C1904C6E968AEA00C900DD1A" appSecret: "D41277DBDBD94F3593669EC5977B77A0A7AC436D3BE141BD8E6C2EF42BE544E1" baseUrl: "https://openapi.italent.cn" formUuidAttendance: "FORM-16DC9608752F44158AB1CE8103B685D6IIYB" formUuidOvertime: "FORM-988A166A9C0A4738A748B6EC1F888A0D7KYB" formUuidBusinessTrip: "FORM-FED49751A6D74700A1A54C0E04E52ED0B7FM" formUuidLeave: "FORM-D15D90EA85234A77B94564110F5D24424ERL" yidaAppType: "APP_ZQ3I7XO2RSHDJ4QDEVNB" yidaSystemToken: "FOD66381NOS25MERLN2UK92FY96Y21UMHD7LM36S" # 钉钉 -> 宜搭 人员档案同步 (生产) # 切换前需要: # 1. 在生产人员档案表新增"在职状态"字段 (RadioField 选项 在职/离职) 拿到 fieldId 回填 # 2. 通过 /personnel-sync/probe 确认 extAttrKeyUserType 实际 key personnel-sync: yidaAppType: "APP_ZQ3I7XO2RSHDJ4QDEVNB" yidaSystemToken: "FOD66381NOS25MERLN2UK92FY96Y21UMHD7LM36S" formUuidPersonnel: "FORM-CCEEE5D461694CBAB5999A8C2926D0C1RXQP" fieldEmployee: "employeeField_mkow4ydp" fieldUserType: "radioField_mkow4ydo" fieldJobNumber: "textField_mh8xhqc1" fieldDepartment: "departmentSelectField_mkow4ydr" fieldStatus: "" # 待生产表新增"在职状态"字段后填入 extAttrKeyUserType: "" extAttrValueInternal: "内部" extAttrValueExternal: "外部" statusValueActive: "在职" statusValueInactive: "离职" concurrency: 10 maxRetry: 2