|
@@ -63,10 +63,10 @@ public class BatchServiceImpl implements IBatchService {
|
|
|
*/
|
|
|
@Override
|
|
|
public BigDecimal getCost(Long accountId) {
|
|
|
- BigDecimal dailyCost = batchMapper.getDailyCost(accountId);
|
|
|
+ //BigDecimal dailyCost = batchMapper.getDailyCost(accountId);
|
|
|
BigDecimal hourlyCost = batchMapper.getHourCost(accountId, DateUtils.formatDate(new Date()));
|
|
|
- BigDecimal totalCost = dailyCost.add(hourlyCost);
|
|
|
- return totalCost;
|
|
|
+ // BigDecimal totalCost = dailyCost.add(hourlyCost);
|
|
|
+ return hourlyCost;
|
|
|
}
|
|
|
|
|
|
/**
|