|  |  |  | 
|---|
|  |  |  | package com.doumee.service.business.impl.hksync.ferp; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.alibaba.fastjson.JSONObject; | 
|---|
|  |  |  | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; | 
|---|
|  |  |  | import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; | 
|---|
|  |  |  | import com.doumee.biz.system.SystemDictDataBiz; | 
|---|
|  |  |  | 
|---|
|  |  |  | import com.doumee.service.business.impl.hksync.HkSyncBaseServiceImpl; | 
|---|
|  |  |  | import com.doumee.service.business.impl.hksync.HkSyncEmpowerServiceImpl; | 
|---|
|  |  |  | import com.github.yulichang.wrapper.MPJLambdaWrapper; | 
|---|
|  |  |  | import io.swagger.models.auth.In; | 
|---|
|  |  |  | import lombok.extern.slf4j.Slf4j; | 
|---|
|  |  |  | import org.apache.commons.collections.CollectionUtils; | 
|---|
|  |  |  | import org.apache.commons.lang3.StringUtils; | 
|---|
|  |  |  | 
|---|
|  |  |  | if(addList!=null &&addList.size()>0){ | 
|---|
|  |  |  | //处理新增 | 
|---|
|  |  |  | BaseResponse<OrgOrUserAddResponse> result =  HKService.addBatchOrg(addList); | 
|---|
|  |  |  | if(result !=null && StringUtils.equals(result.getCode(),HKConstants.RESPONSE_SUCCEE)){ | 
|---|
|  |  |  | if(result !=null && StringUtils.equals(result.getCode(), HKConstants.RESPONSE_SUCCEE)){ | 
|---|
|  |  |  | OrgOrUserAddResponse data = result.getData(); | 
|---|
|  |  |  | if(data.getSuccesses()!=null && data.getSuccesses().size()>0){ | 
|---|
|  |  |  | //处理新增成功的数据,修改海康同步状态 | 
|---|