Commit 32a02b03 by qwmqiuwenmin

fix

parent 2489727d
......@@ -23,11 +23,8 @@ public class WxEnterpriseRelatedServiceImpl implements WxEnterpriseRelatedServic
@Override
public TabHaobanWxEnterpriseRelated getEnterpriseByGicEnterpriseId(String gicEnterpriseId) {
List<TabHaobanWxEnterpriseRelated> list = mapper.findOneByEnterpriseId(gicEnterpriseId);
if(CollectionUtils.isNotEmpty(list)){
return list.get(0);
}
return null;
TabHaobanWxEnterpriseRelated tab = mapper.findOneByEnterpriseId(gicEnterpriseId);
return tab;
}
}
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