



package tw.com.abc.analysis.util; import org.springframework.stereotype.Component; import org.springframework.util.ResourceUtils; import java.io.File; import java.io.IOException; import java.nio.file.Files; import java.util.stream.Stream; @Component public class SqlFileLoader { public String getSqlFile(String fileName) throws IOException { StringBuilder sql = new StringBuilder(); try { File file = ResourceUtils.getFile("classpath:sql/common/" + fileName); Stream<String> lines = Files.lines(file.toPath()); lines.forEach(l -> sql.append(l).append(" \n ")); } catch (IOException e) { throw new IOException("cannot find sql file", e); } return sql.toString(); } }
excel: revenue: path: F:\\報表\\ fileName: %s年%s月報表.xls
Caused by: org.yaml.snakeyaml.scanner.ScannerException: while scanning for the next token found character '%' that cannot start any token. (Do not use % for indentation) in 'reader', line 8, column 15: fileName: %s年%s月報表.xls ^
excel: revenue: path: F:\\報表\\ fileName: `%s年%s月報表.xls`
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | // 為 cell 上色 CellStyle headerCellStyle = workbook.createCellStyle(); headerCellStyle.setFillForegroundColor(IndexedColors.LIME.getIndex()); headerCellStyle.setFillPattern(FillPatternType.SOLID_FOREGROUND); headerCellStyle.setDataFormat(workbook.createDataFormat().getFormat("#,##0")); headerCellStyle.setFont(font); CellStyle highlightCellStyle = workbook.createCellStyle(); highlightCellStyle.setFillForegroundColor(IndexedColors.LEMON_CHIFFON.getIndex()); highlightCellStyle.setFillPattern(FillPatternType.SOLID_FOREGROUND); highlightCellStyle.setDataFormat(workbook.createDataFormat().getFormat("#,##0")); CellStyle footerCellStyle = workbook.createCellStyle(); footerCellStyle.setFillForegroundColor(IndexedColors.LIME.getIndex()); footerCellStyle.setFillPattern(FillPatternType.SOLID_FOREGROUND); footerCellStyle.setDataFormat(workbook.createDataFormat().getFormat("#,##0")); footerCellStyle.setFont(font); // 為 cell value 加上 1000 seperator CellStyle nonHighlightCellStyle = workbook.createCellStyle(); nonHighlightCellStyle.setDataFormat(workbook.createDataFormat().getFormat("#,##0")); // 為 cell value 加上百分比 CellStyle percentageCellStyle = workbook.createCellStyle(); percentageCellStyle.setDataFormat(workbook.createDataFormat().getFormat("0.000%")); |
Critical areas in conversation
|
Description
|
目標設定與反思
(Goal setting and reflection)
|
員工的 OKR 計畫在於設定未來 OKR cycle 的目標。討論的重點在於個人的目標與關鍵成果,如何與組織的優先順序一致。
|
持續的工作進度報告
(Ongoing progress update)
|
快速瞭解員工即時的進度。progress update 會問兩個基本問題:有哪些事情有做好 (What’s working well)?哪些事情沒做好 (What’s not working well)?若有需要解決的問題,要儘速解決
|
雙向指導
(Two-way coaching)
|
主管協助激發下屬的潛力,下屬協助主管的工作做得更好
|
職涯發展
(Career growth)
|
主管協助下屬發展技能、找出成長的機會、擴展企業未來的視野
|
輕量級的績效評核
(Lightweight performance reviews)
|
回饋機制在於收集資訊,並且彙整員工從上次會議後迄今的完成狀況,是否符合組織的期望
|
Recognition approaches
|
Description
|
建立同儕間的認可文化
(Institute peer-to-peer recognition)
|
當員工的成就時常被同儕所認可,感謝的文化就會孕育而生
|
訂定清楚的標準
(Establish clear criteria)
|
認可員工的行爲與結果:完成特殊專案、達成企業目標、展現企業價值等 (取代每月之星的活動)
|
分享認可的故事
(Share recognition stories)
|
透過 email 或公司的 blogs 來補充成就背後的意義
|
讓認可更加頻繁與可及
(Make recognition frequent and attainable)
|
對於較小的成就也要給予認可
|
將認可與企業目標、策略,緊緊綁在一起
(Tie recognition to company goals and strategies)
|
任何可以支援組織優先目標的事情 (ex. 客服、創新、團隊合作、成本縮減等),都要及時給予認可
|
年度績效管理
|
持續績效管理
| |
設定優先順序
|
在年初的時候設定優先順序 (priorities),設定完後就不會再重新審視
|
優先順序 (priorities) 設定完成後,主管會定期審視與調整
|
回饋流程
|
會經歷繁複的程序,包含員工遞交完成的結果與請求給予回饋,主管再撰寫審核意見
|
持續進行回饋的流程,並採取開放的對話方式,不拘泥於正式的文件
|
分紅決定程序
|
繁重地為每個員工評分與排名,最後再決定分紅比例
|
沒有正式的評分或排名,主管根據員工所完成的事項是否與企業整體目標是否一致來決定
|
績效評核會議
|
年底的時候才會進行績效評核,在過程中,員工也不知道自己做的是否有符合企業的目標與價值
|
每季會與員工進行討論,持續地給予回饋是一種常態。整個年度都會進行持續地討論與回饋,確保員工努力的方向是否與企業的目標一致
|
HR 的角色
|
管理整個績效評核的流程與紙本作業
|
訓練員工與主管能進行建設性的對話
|
Elements
|
Description
|
Catalysts (催化劑)
|
包含支援工作的相關行為 (與 OKR 的精神相符):
|
Nourishers
(養分提供器)
|
包含人際間支援的行為 (與 CFR 相同):
|
OKRs
|
Description
|
Objectives
|
|
Key Results
|
|
Two variants
|
Description
|
Committed OKRs
|
|
Aspirational OKRs
|
|
Traps
|
Description
|
Trap #1 : 把 committed OKRs 與 aspirational OKRs 搞混
|
|
Trap #2 : 一如往常的 OKRs (business-as-usual OKRs)
|
|
Trap #3: 膽小的 Aspirational OKRs
|
|
Trap #4:威嚇 (Sandbagging)
|
|
Trap #5:低價值的目標 (aka 沒人在意的 OKR)
|
|
Trap #6:缺乏足夠的
KRs 來完成 Os
|
|