Merge branch 'refs/heads/nanguangmall' into dev
This commit is contained in:
+2
@@ -52,4 +52,6 @@ public interface UserDriverEnterpriseService extends IService<UserDriverEnterpri
|
||||
List<UserDriverEnterprisePo> queryCaptainList(UserDriverEnterpriseDo userDriverEnterpriseDo);
|
||||
|
||||
UserDriverEnterprisePo getEnterpriseByUserId(Long userId);
|
||||
|
||||
UserDriverEnterprisePo getEnterpriseByUserIds(Long userId);
|
||||
}
|
||||
|
||||
+2
@@ -35,4 +35,6 @@ public interface UserDriverEnterpriseMapper extends BaseMapper<UserDriverEnterpr
|
||||
List<UserDriverEnterprisePo> queryCaptainList(@Param("userDriverEnterpriseDo") UserDriverEnterpriseDo userDriverEnterpriseDo);
|
||||
|
||||
UserDriverEnterprisePo getEnterpriseByUserId(@Param("userId") Long userId);
|
||||
|
||||
UserDriverEnterprisePo getEnterpriseByUserIds(@Param("userId") Long userId);
|
||||
}
|
||||
|
||||
+5
@@ -111,4 +111,9 @@ public class UserDriverEnterpriseImpl extends ServiceImpl<UserDriverEnterpriseMa
|
||||
public UserDriverEnterprisePo getEnterpriseByUserId(Long userId) {
|
||||
return userDriverEnterpriseMapper.getEnterpriseByUserId(userId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserDriverEnterprisePo getEnterpriseByUserIds(Long userId) {
|
||||
return userDriverEnterpriseMapper.getEnterpriseByUserIds(userId);
|
||||
}
|
||||
}
|
||||
|
||||
+4
@@ -154,4 +154,8 @@ public class UserDriverEnterpriseDomainService {
|
||||
.eq(UserDriverEnterprise::getUserId, userId)
|
||||
.update();
|
||||
}
|
||||
|
||||
public UserDriverEnterprisePo getEnterpriseByUserIds(Long userId) {
|
||||
return userDriverEnterpriseService.getEnterpriseByUserIds(userId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user