Commit dbba6f64 by 陶光胜

企业微信取消授权回调处理

parent 7c98515a
package com.gic.haoban.manage.service.service.impl;
import java.util.Date;
import java.util.List;
import org.apache.commons.collections.CollectionUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
......@@ -42,7 +44,11 @@ public class WxApplicationServiceImpl implements WxApplicationService {
@Override
public TabHaobanWxApplication selectByWxEnterpriseIdAndApplicationType(String wxEnterpriseId, int applicationType) {
return mapper.selectByWxEnterpriseIdAndApplicationType(wxEnterpriseId,applicationType);
List<TabHaobanWxApplication> list = mapper.selectByWxEnterpriseIdAndApplicationType(wxEnterpriseId, applicationType);
if(CollectionUtils.isNotEmpty(list)){
return list.get(0);
}
return null;
}
@Override
......
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