|
@@ -128,9 +128,7 @@ public class UserCompanyServiceImpl extends ServiceImpl<UserCompanyMapper, UserC
|
|
|
@Override
|
|
|
public List<UserCompany> getAllByUserId(String userId) {
|
|
|
QueryWrapper<UserCompany> queryWrapper = new QueryWrapper<>();
|
|
|
- if (!Check.isNull(userId)){
|
|
|
- queryWrapper.eq("user_id", userId);
|
|
|
- }
|
|
|
+ queryWrapper.eq("user_id", userId);
|
|
|
return this.list(queryWrapper);
|
|
|
}
|
|
|
|