|
@@ -185,10 +185,8 @@ public class ManageServiceImpl implements ManageService {
|
|
|
for (Manage manage: totalManages) {
|
|
|
if (Objects.equals(manage.getType(), ManageTypeEnum.COST)){
|
|
|
sum = sum.subtract(new BigDecimal(Double.toString(manage.getAmount())));
|
|
|
- System.out.println(sum);
|
|
|
}else {
|
|
|
sum = sum.add(new BigDecimal(Double.toString(manage.getAmount())));
|
|
|
- System.out.println(sum);
|
|
|
}
|
|
|
}
|
|
|
if(Objects.isNull(manages)){
|