Commit e381d498 authored by 赵鹏翔's avatar 赵鹏翔

修改结算打印时间

parent a48387b8
...@@ -87,7 +87,7 @@ class MainActivity : BaseActivity() { ...@@ -87,7 +87,7 @@ class MainActivity : BaseActivity() {
var timeMillis = LocalKeyDataMKManageKit.getBalanceDate() var timeMillis = LocalKeyDataMKManageKit.getBalanceDate()
if (timeMillis > 0L && timeMillis <= System.currentTimeMillis()) { if (timeMillis > 0L && timeMillis <= System.currentTimeMillis()) {
val currentDate = Date() val currentDate = Date()
var daysAgoCurrent: Long = DateUtils.getDaysAgoCurrent(currentDate, 3) var daysAgoCurrent: Long = DateUtils.getDaysAgoCurrent(currentDate, 2)
if (timeMillis <= daysAgoCurrent) { if (timeMillis <= daysAgoCurrent) {
timeMillis = daysAgoCurrent timeMillis = daysAgoCurrent
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment