|
|
@@ -204,7 +204,7 @@ public class AmbInvestServiceImpl extends BaseMybatisDao<AmbInvestMapper> implem
|
|
|
newOther.setTotalAmount(other.getTotalAmount().add(ambInvest.getAmount()));
|
|
|
ambSystemMapper.updateByPrimaryKeySelective(newOther);
|
|
|
//计算累计金额
|
|
|
- newAmbInvest.setCountAmount(sumCountAmount(ambInvest));
|
|
|
+ newAmbInvest.setCountAmount(sumCountAmount(ambInvest).add(ambInvest.getAmount()));
|
|
|
}
|
|
|
ambInvestMapper.updateByPrimaryKeySelective(newAmbInvest);
|
|
|
addAmbInvestLog(in, ambInvest);
|