|
|
@@ -150,7 +150,6 @@ public class AmbInvestServiceImpl extends BaseMybatisDao<AmbInvestMapper> implem
|
|
|
AmbSystem newMy=new AmbSystem();
|
|
|
newMy.setId(myAmb.getId());
|
|
|
newMy.setTotalAmount(myAmb.getTotalAmount().subtract(ambInvest.getAmount()));
|
|
|
- newMy.setReceived(myAmb.getReceived().subtract(ambInvest.getAmount()));
|
|
|
newMy.setSurplus(myAmb.getSurplus().subtract(ambInvest.getAmount()));
|
|
|
newMy.setForeign(myAmb.getForeign().add(ambInvest.getAmount()));
|
|
|
AmbSystem newOther=new AmbSystem();
|