Commit 25630aa7 by qwmqiuwenmin

fix

parent b3f706ca
......@@ -152,12 +152,9 @@ 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 {
......@@ -166,7 +163,6 @@ public class MessageApiServiceImpl implements MessageApiService {
}
}
}
}
private void dealDepartment(QywxCallBackDTO qywxCallBackDTO){
DepartmentDTO departmentDTO = new DepartmentDTO();
......
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