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

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

@@ -15,6 +15,7 @@ import com.goafanti.common.model.AmbInvest;
 import com.goafanti.common.model.AmbInvestLog;
 import com.goafanti.common.model.AmbSystem;
 import com.goafanti.common.utils.AsyncUtils;
+import com.goafanti.common.utils.StringUtils;
 import com.goafanti.core.mybatis.BaseMybatisDao;
 import com.goafanti.core.mybatis.page.Pagination;
 import com.goafanti.core.shiro.token.TokenManager;
@@ -78,7 +79,7 @@ public class AmbInvestServiceImpl extends BaseMybatisDao<AmbInvestMapper> implem
             str=str.append("发起的对[").append(other.getName()).append("]"+"的金额投资,已通过审核!");
             notceType=NoticeStatus.AMB_INVEST_YES.getCode();
             aid=myAmb.getLeader();
-            if(other.getLeader()!=null){
+            if(StringUtils.isNotBlank(other.getLeader())){
                 StringBuffer str2=new StringBuffer()
                         .append("[").append(myAmb.getName()).append("]负责人对[").append(other.getName()).append("]的金额投资已完成,请及时确认!");
                 asyncUtils.addNoticAndEmail(other.getLeader(),notceType ,str2.toString());