|  |  |  | 
|---|
|  |  |  | //查询全部相关方人员信息 | 
|---|
|  |  |  | List<Member> list =  memberJoinMapper.selectJoinList(Member.class,new MPJLambdaWrapper<Member>() | 
|---|
|  |  |  | .selectAll(Member.class) | 
|---|
|  |  |  | .leftJoin(Company.class,Company::getId,Member::getId) | 
|---|
|  |  |  | .leftJoin(Company.class,Company::getId,Member::getCompanyId) | 
|---|
|  |  |  | .eq(Company::getType,Constants.ZERO) | 
|---|
|  |  |  | //                    .in(Company::getId,loginUserInfo.getCompanyIdList() ) | 
|---|
|  |  |  | .eq(Member::getIsdeleted, com.doumee.core.utils.Constants.ZERO)); | 
|---|
|  |  |  | 
|---|
|  |  |  | if(newList == null || newList.size() ==0){ | 
|---|
|  |  |  | throw new BusinessException(ResponseStatus.BAD_REQUEST.getCode(),"对不起,录入有效数据为空!"); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | trainTimeMapper.insertBatchSomeColumn(newList); | 
|---|
|  |  |  | trainTimeMapper.insert(newList); | 
|---|
|  |  |  | return "导入成功"; | 
|---|
|  |  |  | }catch (BusinessException e){ | 
|---|
|  |  |  | throw e; | 
|---|