瀏覽代碼

modify:

1. 终验列表查询修改;
tags/24090601
WendyYang 2 月之前
父節點
當前提交
6cf87f2c3a
共有 2 個文件被更改,包括 11 次插入4 次删除
  1. +2
    -4
      hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/manage/FinalAcceptanceManage.java
  2. +9
    -0
      hz-pm-api/src/main/java/com/hz/pm/api/projectlib/model/req/ProjectListReq.java

+ 2
- 4
hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/manage/FinalAcceptanceManage.java 查看文件

@@ -108,8 +108,7 @@ public class FinalAcceptanceManage {
*/
public FinalAcceptProgressStatisticsVO finalAcceptProgressStatistics(ProjectListReq req) {
UserInfoDetails user = LoginUserUtil.loginUserDetail();
String buildOrgCode = req.getBuildOrgCode();
req.setBuildOrgCode(null);
String buildOrgCode = req.clearBuildOrgCode();
Long buildOrgCodeNum = NumberUtil.parseLong(buildOrgCode, null);
UnitQueryState queryState = mhUnitQueryHelper.listCanViewUnitIds(buildOrgCodeNum, user);
if (!queryState.isState()) {
@@ -156,8 +155,7 @@ public class FinalAcceptanceManage {
*/
public PageVo<ProjectLibListItemVO> projectLibList(ProjectListReq req) {
UserInfoDetails user = LoginUserUtil.loginUserDetail();
String buildOrgCode = req.getBuildOrgCode();
req.setBuildOrgCode(null);
String buildOrgCode = req.clearBuildOrgCode();
Long buildOrgCodeNum = NumberUtil.parseLong(buildOrgCode, null);
UnitQueryState queryState = mhUnitQueryHelper.listCanViewUnitIds(buildOrgCodeNum, user);
if (!queryState.isState()) {


+ 9
- 0
hz-pm-api/src/main/java/com/hz/pm/api/projectlib/model/req/ProjectListReq.java 查看文件

@@ -1,5 +1,6 @@
package com.hz.pm.api.projectlib.model.req;

import cn.hutool.core.util.StrUtil;
import com.hz.pm.api.common.enumeration.ExportOptionEnum;
import com.ningdatech.basic.model.PagePo;
import io.swagger.annotations.ApiModel;
@@ -130,4 +131,12 @@ public class ProjectListReq extends PagePo {
@ApiModelProperty("tab状态")
private Integer tabStatus;

public String clearBuildOrgCode() {
String tmpBuildOrgCode = this.getBuildOrgCode();
if (StrUtil.isNotBlank(tmpBuildOrgCode)) {
this.setBuildOrgCode(null);
}
return tmpBuildOrgCode;
}

}

Loading…
取消
儲存