Commit a9878b56 by qwmqiuwenmin

Merge branch 'developer_repair_contact20200408' into 'developer'

fix

See merge request !27
parents b0e51d53 25630aa7
......@@ -155,18 +155,14 @@ public class MessageApiServiceImpl implements MessageApiService {
QywxCallBackDTO dto = JSON.parseObject(param, QywxCallBackDTO.class);
log.info("【处理微信回调】dto={}",JSON.toJSONString(param));
if(dto != null){
String siteId = dto.getSuiteId();
String corpId = dto.getAuthCorpId();
TabHaobanWxEnterprise enterprise = this.enterpriseService.getEnterpriseBycorpId(corpId);
if(enterprise != null){
TabHaobanWxApplication application = wxApplicationService.selectBySiteIdAndWxEnterpriseId(siteId, enterprise.getWxEnterpriseId());
if(application != null && application.getApplicationType() == 1){
if(dto.getChangeType().endsWith("party")){
this.dealDepartment(dto);
}else {
this.dealUser(dto);
}
}
if(dto.getChangeType().endsWith("party")){
this.dealDepartment(dto);
}else {
this.dealUser(dto);
}
}
}
}
......
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