diff --git a/hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/model/dto/EditPurchaseDTO.java b/hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/model/dto/EditPurchaseDTO.java index 06facbd..35faa30 100644 --- a/hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/model/dto/EditPurchaseDTO.java +++ b/hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/model/dto/EditPurchaseDTO.java @@ -146,7 +146,7 @@ public class EditPurchaseDTO { private BigDecimal bidPayAmount; @ApiModelProperty("采购时间") - @JsonFormat(pattern = "yyyy-MM-dd HH:mm") + @JsonFormat(pattern = "yyyy-MM-dd") private LocalDate purchaseDate; @ApiModelProperty("是否发布信创云图") diff --git a/hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/model/req/SubmitPurchaseNoticeReq.java b/hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/model/req/SubmitPurchaseNoticeReq.java index 351b114..9f8af6a 100644 --- a/hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/model/req/SubmitPurchaseNoticeReq.java +++ b/hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/model/req/SubmitPurchaseNoticeReq.java @@ -48,7 +48,7 @@ public class SubmitPurchaseNoticeReq { private BigDecimal bidPayAmount; @ApiModelProperty("采购时间") - @JsonFormat(pattern = "yyyy-MM-dd HH:mm") + @JsonFormat(pattern = "yyyy-MM-dd") private LocalDate purchaseDate; @ApiModelProperty("开标时间") diff --git a/hz-pm-api/src/main/java/com/hz/pm/api/projectlib/model/dto/ProjectDTO.java b/hz-pm-api/src/main/java/com/hz/pm/api/projectlib/model/dto/ProjectDTO.java index 101752c..af072d2 100644 --- a/hz-pm-api/src/main/java/com/hz/pm/api/projectlib/model/dto/ProjectDTO.java +++ b/hz-pm-api/src/main/java/com/hz/pm/api/projectlib/model/dto/ProjectDTO.java @@ -195,7 +195,7 @@ public class ProjectDTO implements Serializable { @ApiModelProperty("批复-政府投资-上级补助资金(万元)") private BigDecimal approvalGovSuperiorFinanceAmount; - @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime annualPlanAddTime; @ApiModelProperty("核心业务-核心业务模块") diff --git a/hz-pm-api/src/main/java/com/hz/pm/api/workbench/manage/WorkbenchManage.java b/hz-pm-api/src/main/java/com/hz/pm/api/workbench/manage/WorkbenchManage.java index ee25158..8dc6e22 100644 --- a/hz-pm-api/src/main/java/com/hz/pm/api/workbench/manage/WorkbenchManage.java +++ b/hz-pm-api/src/main/java/com/hz/pm/api/workbench/manage/WorkbenchManage.java @@ -518,6 +518,10 @@ public class WorkbenchManage { Long unitId = Optional.ofNullable(req.getUnitId()).orElseGet(LoginUserUtil::getMhUnitId); List viewUnitIds = mhUnitCache.getViewChildIdsRecursion(unitId); LambdaQueryWrapper query = Wrappers.lambdaQuery(Project.class) + .select(Project::getId, Project::getStage, Project::getStatus, Project::getProjectCode, + Project::getBuildOrgCode, Project::getBuildOrgName, Project::getApprovalAmount, + Project::getCreateOn, Project::getProjectName, Project::getProjectYear, + Project::getDeclareAmount, Project::getReviewAmount) .eq(req.getProjectYear() != null, Project::getProjectYear, req.getProjectYear()) .like(StrUtil.isNotBlank(req.getBuildOrg()), Project::getBuildOrgName, req.getBuildOrg()) .like(StrUtil.isNotBlank(req.getProjectName()), Project::getProjectName, req.getProjectName()) @@ -573,7 +577,6 @@ public class WorkbenchManage { .projectYear(w.getProjectYear()) .buildOrg(w.getBuildOrgName()) .buildOrgCode(w.getBuildOrgCode()) - .bizDomain(w.getBizDomain()) .approvedAmount(w.getApprovalAmount()) .reviewAmount(w.getReviewAmount()) .declaredAmount(w.getDeclareAmount())