|
|
@@ -3,8 +3,8 @@ package com.hz.pm.api.projectlib.service; |
|
|
|
import com.baomidou.mybatisplus.core.conditions.Wrapper; |
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
|
|
|
import com.hz.pm.api.projectlib.entity.ProjectGovSystemReplaceInfos; |
|
|
|
import com.baomidou.mybatisplus.extension.service.IService; |
|
|
|
import com.hz.pm.api.projectlib.entity.ProjectGovSystemReplaceInfos; |
|
|
|
|
|
|
|
import java.util.Collection; |
|
|
|
import java.util.List; |
|
|
@@ -26,6 +26,12 @@ public interface IProjectGovSystemReplaceInfosService extends IService<ProjectGo |
|
|
|
return list(wrapper); |
|
|
|
} |
|
|
|
|
|
|
|
default List<ProjectGovSystemReplaceInfos> listByBidIds(Collection<Long> bidIds) { |
|
|
|
Wrapper<ProjectGovSystemReplaceInfos> wrapper = Wrappers.lambdaQuery(ProjectGovSystemReplaceInfos.class) |
|
|
|
.in(ProjectGovSystemReplaceInfos::getBidId, bidIds); |
|
|
|
return list(wrapper); |
|
|
|
} |
|
|
|
|
|
|
|
default void removeByProjectIds(Collection<Long> projectIds) { |
|
|
|
LambdaQueryWrapper<ProjectGovSystemReplaceInfos> query = Wrappers |
|
|
|
.lambdaQuery(ProjectGovSystemReplaceInfos.class) |
|
|
|