|
@@ -277,7 +277,7 @@ func (cashPoolService *CashPoolService) CreateExchangeCashActivity(createExchang |
|
@@ -277,7 +277,7 @@ func (cashPoolService *CashPoolService) CreateExchangeCashActivity(createExchang |
277
|
var timeNow = time.Now()
|
277
|
var timeNow = time.Now()
|
278
|
var deadline = createExchangeCashActivityCommand.Deadline
|
278
|
var deadline = createExchangeCashActivityCommand.Deadline
|
279
|
var t1 = time.Date(timeNow.Year(), timeNow.Month(), timeNow.Day(), 0, 0, 0, 0, time.Local)
|
279
|
var t1 = time.Date(timeNow.Year(), timeNow.Month(), timeNow.Day(), 0, 0, 0, 0, time.Local)
|
280
|
- var t2 = time.Date(deadline.Year(), deadline.Month(), deadline.Day(), 23, 59, 59, 0, time.Local)
|
280
|
+ var t2 = time.Date(deadline.Year(), deadline.Month(), deadline.Day(), 23, 59, 59, 999999, time.Local)
|
281
|
|
281
|
|
282
|
newActivity := &domain.ExchangeCashActivity{
|
282
|
newActivity := &domain.ExchangeCashActivity{
|
283
|
ExchangeActivityName: createExchangeCashActivityCommand.ExchangeActivityName,
|
283
|
ExchangeActivityName: createExchangeCashActivityCommand.ExchangeActivityName,
|