|
|
## 起因
|
|
|
daily clearance json 過早處理
|
|
|

|
|
|
|
|
|
transaction 未搬晒去 transactionArchive,pre processing 就做咗
|
|
|
|
|
|
而引起嘅錯數
|
|
|

|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
## 解決方法
|
|
|
直接駁 cloud report db
|
|
|
用以下嘅 SQL statement
|
|
|
http://gitlab.web-on.com/-/snippets/41
|
|
|
替換其中嘅 `shopCode`, `archiveStaff`, `archiveDate`, `startDate`, `endDate`
|
|
|
|
|
|
再 remote 去 cloud report VM
|
|
|
用以下 command 行多次 pre processing
|
|
|

|
|
|
|
|
|
就可以解決呢個問題
|
|
|
 |
|
|
\ No newline at end of file |