anderx лет назад: 3
Родитель
Сommit
a0f0203322

+ 0 - 1
src/main/java/com/goafanti/ambSystem/service/Impl/AmbInvestServiceImpl.java

@@ -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();