Changes between Version 3 and Version 4 of waue/2010/0205-00
- Timestamp:
- Feb 3, 2010, 10:01:30 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
waue/2010/0205-00
v3 v4 11 11 * 請先準備以下檔案 12 12 * /tmp/tsmc/store.txt 13 {{{ 14 #!text 15 T01;GunLong; 01;20;40;30;50 16 T02;Esing; 02;50 17 T03;SunDon; 03;40;30 18 T04;StarBucks; 04;50;50;20 19 }}} 13 20 14 21 * 請準備以下檔案,並將 income 資料夾上傳到hdfs 22 * /tmp/tsmc/income/0202.txt 23 {{{ 24 #!text 25 waue:T01:P1:xxxxx 26 jazz:T01:P2:xxxxx 27 lia:T01:P3:xxxxx 28 hung:T02:P1:xxxxx 29 lia:T04:P1:xxxxx 30 lia:T04:P1:xxxxx 31 hung:T04:P3:xxxxx 32 hung:T04:P2:xxxxx 33 }}} 15 34 * /tmp/tsmc/income/0203.txt 16 * /tmp/tsmc/income/0202.txt 17 35 {{{ 36 #!text 37 xxx:T01:P4:xxxxx 38 ooo:T02:P1:xxxxx 39 oo:T03:P1:xxxxx 40 xxx:T03:P1:xxxxx 41 aaa:T03:P1:xxxxx 42 }}} 18 43 19 44 == 1. 建立商店資料 == 20 45 21 [wiki:waue/2010/0205-01 act1],46 [wiki:waue/2010/0205-01 TSMC1LoadFile], 22 47 23 48 || || Detail || || Products || || || … … 55 80 == 2 計算單月每個品項的購買次數 == 56 81 57 [wiki:waue/2010/0205-02 act2] ,82 [wiki:waue/2010/0205-02 TSMC2Count] , 58 83 59 84 {{{ … … 93 118 == 3. 計算當天營業額 == 94 119 95 [wiki:waue/2010/0205-03 act3],120 [wiki:waue/2010/0205-03 TSMC3CalculateMR], 96 121 97 122 {{{ … … 134 159 135 160 == 4. 產生最終報表 == 136 [wiki:waue/2010/0205-04 act4]161 [wiki:waue/2010/0205-04 TSMC4SortTurnover] 137 162 138 163 {{{