Commit 11e5ad7d by bilingfeng

fix : 欢迎语做非空判断

parent 1da18857
...@@ -504,7 +504,7 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA ...@@ -504,7 +504,7 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
TabWelcome tabWelcome = welcomeMapper.selectByWxEnterpriseId(staffClerkRelationDTO.getWxEnterpriseId()); TabWelcome tabWelcome = welcomeMapper.selectByWxEnterpriseId(staffClerkRelationDTO.getWxEnterpriseId());
if (tabWelcome.getOpenFlag() == 0) { if (tabWelcome != null && tabWelcome.getOpenFlag() == 0) {
log.info("不用发送欢迎语:{},{}", dto.getWxEnterpriseId(), JSONObject.toJSONString(tabWelcome)); log.info("不用发送欢迎语:{},{}", dto.getWxEnterpriseId(), JSONObject.toJSONString(tabWelcome));
return; return;
} }
......
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