Browse Source

Merge branch '20230904-project-collection-2.0' of http://git.ningdatech.com/liushuai/project-management into dev

master
PoffyZhang 1 year ago
parent
commit
8b749053d1
2 changed files with 6 additions and 1 deletions
  1. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/gov/manage/GovProjectCollectionManage.java
  2. +5
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/gov/model/entity/GovBizProjectDraft.java

+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/gov/manage/GovProjectCollectionManage.java View File

@@ -115,7 +115,7 @@ public class GovProjectCollectionManage {
.le(Objects.nonNull(req.getCreateOnMax()),GovBizProjectBaseinfo::getTongTime,req.getCreateOnMax()) .le(Objects.nonNull(req.getCreateOnMax()),GovBizProjectBaseinfo::getTongTime,req.getCreateOnMax())
.eq(GovBizProjectBaseinfo::getDeleted,Boolean.FALSE) .eq(GovBizProjectBaseinfo::getDeleted,Boolean.FALSE)
.orderByDesc(GovBizProjectBaseinfo::getBizTime); .orderByDesc(GovBizProjectBaseinfo::getBizTime);
permissions(wrapper);
// permissions(wrapper);
baseinfoService.page(page,wrapper); baseinfoService.page(page,wrapper);


if(CollUtil.isEmpty(page.getRecords())){ if(CollUtil.isEmpty(page.getRecords())){


+ 5
- 0
pmapi/src/main/java/com/ningdatech/pmapi/gov/model/entity/GovBizProjectDraft.java View File

@@ -1,7 +1,10 @@
package com.ningdatech.pmapi.gov.model.entity; package com.ningdatech.pmapi.gov.model.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import java.io.Serializable; import java.io.Serializable;
import java.math.BigDecimal; import java.math.BigDecimal;
@@ -19,6 +22,8 @@ import java.time.LocalDateTime;
public class GovBizProjectDraft implements Serializable { public class GovBizProjectDraft implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;


@ApiModelProperty("主键")
@TableId(type = IdType.AUTO)
private Long id; private Long id;
private String baseProjId; private String baseProjId;
private String baseProjName; private String baseProjName;


Loading…
Cancel
Save