浏览代码

投资成功修改

anderx 3 年之前
父节点
当前提交
a0f0203322
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      src/main/java/com/goafanti/ambSystem/service/Impl/AmbInvestServiceImpl.java

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