Commit 2c69d9f7 by fudahua

获取企业id

parent 2622062e
......@@ -575,7 +575,7 @@ public class DepartmentApiServiceImpl implements DepartmentApiService {
}
}
for(com.gic.wechat.api.dto.qywx.DepartmentDTO departmentDTO : list){
if(parentId == departmentDTO.getParentid()){
if (parentId.equals(departmentDTO.getParentid())) {
TabHaobanDepartment exist = this.departmentService.getByWxId(departmentDTO.getId() + "", wxEnterpriseId);
logger.info("分组是否存在:{}", JSON.toJSONString(exist));
if(exist == null){
......
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