mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-18 16:54:25 +08:00
support exporting transactions dated later than the current time
This commit is contained in:
@@ -2,6 +2,7 @@ package api
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"math"
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
@@ -383,7 +384,7 @@ func (a *DataManagementsApi) getExportedFileContent(c *core.WebContext, fileType
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
maxTransactionTime := utils.GetMaxTransactionTimeFromUnixTime(time.Now().Unix())
|
maxTransactionTime := int64(math.MaxInt64)
|
||||||
minTransactionTime := int64(0)
|
minTransactionTime := int64(0)
|
||||||
|
|
||||||
if exportTransactionDataReq.MaxTime > 0 {
|
if exportTransactionDataReq.MaxTime > 0 {
|
||||||
|
|||||||
Reference in New Issue
Block a user