|
|
@@ -321,6 +321,19 @@ public class GovProjectCollectionManage { |
|
|
|
return baseinfoService.count(wrapper); |
|
|
|
} |
|
|
|
|
|
|
|
public Long operationCount(ProjectListReq req) { |
|
|
|
LambdaQueryWrapper<GovOperationProjectBaseinfo> wrapper = Wrappers.lambdaQuery(GovOperationProjectBaseinfo.class) |
|
|
|
.like(StringUtils.isNotBlank(req.getProjectName()),GovOperationProjectBaseinfo::getBaseProjName,req.getProjectName()) |
|
|
|
.like(StringUtils.isNotBlank(req.getBuildOrg()),GovOperationProjectBaseinfo::getBaseBuildDeprt,req.getBuildOrg()) |
|
|
|
.eq(StringUtils.isNotBlank(req.getAreaCode()),GovOperationProjectBaseinfo::getAreaCode,req.getAreaCode()) |
|
|
|
.eq(StringUtils.isNotBlank(req.getRegionCode()),GovOperationProjectBaseinfo::getAreaCode,req.getRegionCode()) |
|
|
|
.gt(Objects.nonNull(req.getCreateOnMin()),GovOperationProjectBaseinfo::getTongTime,req.getCreateOnMin()) |
|
|
|
.le(Objects.nonNull(req.getCreateOnMax()),GovOperationProjectBaseinfo::getTongTime,req.getCreateOnMax()) |
|
|
|
.eq(GovOperationProjectBaseinfo::getDeleted,Boolean.FALSE) |
|
|
|
.orderByDesc(GovOperationProjectBaseinfo::getBizTime); |
|
|
|
return operationProjectBaseinfoService.count(wrapper); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 项目归集详情 |
|
|
|
* @param projId |
|
|
|