|
|
@@ -78,15 +78,17 @@ public class AmbInvestServiceImpl extends BaseMybatisDao<AmbInvestMapper> implem
|
|
|
str=str.append("发起的对[").append(other.getName()).append("]"+"的金额投资,已通过审核!");
|
|
|
notceType=NoticeStatus.AMB_INVEST_YES.getCode();
|
|
|
aid=myAmb.getLeader();
|
|
|
- StringBuffer str2=new StringBuffer()
|
|
|
- .append("[").append(myAmb.getName()).append("]负责人对[").append(other.getName()).append("]的金额投资已完成,请及时确认!");
|
|
|
- asyncUtils.addNoticAndEmail(other.getLeader(),notceType ,str2.toString());
|
|
|
+ if(other.getLeader()!=null){
|
|
|
+ StringBuffer str2=new StringBuffer()
|
|
|
+ .append("[").append(myAmb.getName()).append("]负责人对[").append(other.getName()).append("]的金额投资已完成,请及时确认!");
|
|
|
+ asyncUtils.addNoticAndEmail(other.getLeader(),notceType ,str2.toString());
|
|
|
+ }
|
|
|
}else if (i==3){
|
|
|
str=str.append("发起的对[").append(other.getName()).append("]"+"的金额投资,已拒绝,请及时修改!");
|
|
|
notceType=NoticeStatus.AMB_INVEST_NO.getCode();
|
|
|
aid=myAmb.getLeader();
|
|
|
}
|
|
|
- asyncUtils.addNoticAndEmail(aid,notceType ,str.toString());
|
|
|
+ if(aid!=null) asyncUtils.addNoticAndEmail(aid,notceType ,str.toString());
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
@@ -187,4 +189,9 @@ public class AmbInvestServiceImpl extends BaseMybatisDao<AmbInvestMapper> implem
|
|
|
|
|
|
return ambInvestMapper.selectAmbInvestDtailsList(id);
|
|
|
}
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public List<OutInvestList> AmbIncomeDtailsList(Long id) {
|
|
|
+ return ambInvestMapper.selectAmbIncomeDtailsList(id);
|
|
|
+ }
|
|
|
}
|