Commit b23846bf by jinxin

单人活码欢迎语未配置时,取欢迎语的配置进行发送

parent bd1a1688
......@@ -146,6 +146,10 @@ public class WelcomeSendServiceImpl implements WelcomeSendService {
&& (state.startsWith(Manage3Constants.HM) || state.startsWith(Manage3Constants.DT))) {
WelcomeReferBO welcomeReferBo = getWelcomeReferBo(state);
welcomeBO = welcomeService.getMatchWelcomeWithReferId(staffId, wxEnterpriseId, welcomeReferBo);
//单人活码欢迎语未配置时,取欢迎语的配置进行发送
if(state.startsWith(Manage3Constants.HM) && welcomeBO == null){
welcomeBO = welcomeService.getMatchWelcome(staffId, wxEnterpriseId);
}
} else {
welcomeBO = welcomeService.getMatchWelcome(staffId, wxEnterpriseId);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment