|
|
|
@ -88,7 +88,7 @@ public class TransferSchedule { |
|
|
|
|
startTime.set(Calendar.SECOND, 00); |
|
|
|
|
|
|
|
|
|
Calendar endTime = Calendar.getInstance(); |
|
|
|
|
startTime.add(Calendar.DAY_OF_MONTH, -1); |
|
|
|
|
endTime.add(Calendar.DAY_OF_MONTH, -1); |
|
|
|
|
endTime.setTime(new Date()); |
|
|
|
|
endTime.set(Calendar.HOUR_OF_DAY, 00); |
|
|
|
|
endTime.set(Calendar.MINUTE, 00); |
|
|
|
@ -113,6 +113,7 @@ public class TransferSchedule { |
|
|
|
|
transferAccounts.setOrderNo("1000"+System.currentTimeMillis()+""); |
|
|
|
|
transferAccounts.setAmount(new BigDecimal(MapUtils.getString(param, "totalPrice"))); |
|
|
|
|
transferAccounts.setRebateTransferCycleIdentifier(transferCycle.getId()); |
|
|
|
|
transferAccounts.setContent(DateUtil.date2String(startTime.getTime(),"yyyy-MM-dd") + "活动结算"); |
|
|
|
|
transferAccountsService.transfer(transferAccounts); |
|
|
|
|
} |
|
|
|
|
} catch (Exception e) { |
|
|
|
|