Commit 4e57217e by qwmqiuwenmin

fix

parent 1d1e1178
...@@ -59,8 +59,9 @@ public class WxEnterpriseApiServiceImpl implements WxEnterpriseApiService { ...@@ -59,8 +59,9 @@ public class WxEnterpriseApiServiceImpl implements WxEnterpriseApiService {
wxDTO.setWxEnterpriseId(enterprise.getWxEnterpriseId()); wxDTO.setWxEnterpriseId(enterprise.getWxEnterpriseId());
wxDTO.setStatusFlag(1); wxDTO.setStatusFlag(1);
wxEnterpriseService.update(wxDTO); wxEnterpriseService.update(wxDTO);
}else{
wxEnterpriseId = wxEnterpriseService.add(wxDTO);
} }
wxEnterpriseId = wxEnterpriseService.add(wxDTO);
String userId = dto.getUserid(); String userId = dto.getUserid();
String name = dto.getName(); String name = dto.getName();
if(StringUtils.isNotBlank(userId)) { if(StringUtils.isNotBlank(userId)) {
......
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