Commit 9b67dac2 by 徐高华

Merge branch 'feature/xgh/2502朋友圈' into 'master'

非空判断

See merge request !2733
parents 8ad40bfb 720b05aa
...@@ -557,6 +557,10 @@ public class QwMomentPlanServiceImpl implements QwMomentPlanService { ...@@ -557,6 +557,10 @@ public class QwMomentPlanServiceImpl implements QwMomentPlanService {
private MomentResultDTO getData(String staffId , String momentId , WxEnterpriseQwDTO qwDTO) { private MomentResultDTO getData(String staffId , String momentId , WxEnterpriseQwDTO qwDTO) {
TabHaobanStaff staff = this.staffMapper.selectByPrimaryKey(staffId) ; TabHaobanStaff staff = this.staffMapper.selectByPrimaryKey(staffId) ;
if(null == staff) {
logger.info("无员工={}",staffId);
return null ;
}
String wxUserId = staff.getWxUserId() ; String wxUserId = staff.getWxUserId() ;
if(qwDTO.needOpenUserId3th()) { if(qwDTO.needOpenUserId3th()) {
wxUserId = staff.getWxOpenUseId() ; wxUserId = staff.getWxOpenUseId() ;
......
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