Authored by qinchao

修正bug-流水计算sum

... ... @@ -2,7 +2,6 @@ package com.yohoufo.order.service.impl;
import com.google.common.cache.Cache;
import com.google.common.cache.CacheBuilder;
import com.yoho.core.cache.LocalCache;
import com.yohoufo.dal.order.TradeBillsMapper;
import com.yohoufo.dal.order.model.TradeBills;
import com.yohoufo.order.common.TradeType;
... ... @@ -17,7 +16,6 @@ import org.springframework.stereotype.Service;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.Callable;
... ... @@ -174,12 +172,5 @@ public class AssetsService {
throw new RuntimeException(e);
}
}
public static void main(String[] args) {
BigDecimal a=new BigDecimal(1.2);
BigDecimal b=new BigDecimal(2.4);
a= a.add(b);
System.out.println(a);
}
}
... ...