feat(): 添加项目创建来源字段(手动创建/自动创建)

dev
lishiwei 2026-06-12 10:30:56 +08:00
parent 91b0f36ffb
commit f85d98241d
5 changed files with 31 additions and 0 deletions

View File

@ -113,6 +113,9 @@ public class KeyProjectCO extends ClientObject {
//状态,0:暂存。1:未开工,2:开工申请中,3:已超期,4:进行中,5:完工申请中,6:已完工,7:开工申请驳回 //状态,0:暂存。1:未开工,2:开工申请中,3:已超期,4:进行中,5:完工申请中,6:已完工,7:开工申请驳回
@ApiModelProperty(value = "状态,0:暂存。1:未开工,2:开工申请中,3:已超期,4:进行中,5:完工申请中,6:已完工,7:开工申请驳回") @ApiModelProperty(value = "状态,0:暂存。1:未开工,2:开工申请中,3:已超期,4:进行中,5:完工申请中,6:已完工,7:开工申请驳回")
private Integer applyStatus; private Integer applyStatus;
//创建来源,1:手动创建,2:自动创建
@ApiModelProperty(value = "创建来源,1:手动创建,2:自动创建")
private Integer createSource;
//经度 //经度
@ApiModelProperty(value = "经度") @ApiModelProperty(value = "经度")
private String longitude; private String longitude;

View File

@ -97,6 +97,9 @@ public class KeyProjectAddCmd implements Serializable {
@ApiModelProperty(value = "状态,0:暂存。1:未开工,2:开工申请中,3:已超期,4:进行中,5:完工申请中,6:已完工", name = "applyStatus") @ApiModelProperty(value = "状态,0:暂存。1:未开工,2:开工申请中,3:已超期,4:进行中,5:完工申请中,6:已完工", name = "applyStatus")
private Integer applyStatus; private Integer applyStatus;
@ApiModelProperty(value = "创建来源,1:手动创建,2:自动创建")
private Integer createSource;
@ApiModelProperty(value = "经度", name = "longitude") @ApiModelProperty(value = "经度", name = "longitude")
private String longitude; private String longitude;

View File

@ -0,0 +1,20 @@
package com.zcloud.key.project.domain.enums;
import lombok.Getter;
/**
* ,1:,2:
*/
@Getter
public enum CreateSourceEnum {
MANUAL(1, "手动创建"),
AUTO(2, "自动创建");
private final Integer code;
private final String name;
CreateSourceEnum(Integer code, String name) {
this.code = code;
this.name = name;
}
}

View File

@ -66,6 +66,8 @@ public class KeyProjectE extends BaseE {
private LocalDateTime completedConfirmDateTime; private LocalDateTime completedConfirmDateTime;
//状态,0:暂存。1:未开工,2:开工申请中,3:已超期,4:进行中,5:完工申请中,6:已完工,7:开工申请驳回 //状态,0:暂存。1:未开工,2:开工申请中,3:已超期,4:进行中,5:完工申请中,6:已完工,7:开工申请驳回
private Integer applyStatus; private Integer applyStatus;
//创建来源,1:手动创建,2:自动创建
private Integer createSource;
//驳回原因 //驳回原因
private String rejectReason; private String rejectReason;
//经度 //经度

View File

@ -110,6 +110,9 @@ public class KeyProjectDO extends BaseDO {
//状态,0:暂存。1:未开工,2:开工申请中,3:已超期,4:进行中,5:完工申请中,6:已完工,7:开工申请驳回 //状态,0:暂存。1:未开工,2:开工申请中,3:已超期,4:进行中,5:完工申请中,6:已完工,7:开工申请驳回
@ApiModelProperty(value = "状态,0:暂存。1:未开工,2:开工申请中,3:已超期,4:进行中,5:完工申请中,6:已完工,7:开工申请驳回") @ApiModelProperty(value = "状态,0:暂存。1:未开工,2:开工申请中,3:已超期,4:进行中,5:完工申请中,6:已完工,7:开工申请驳回")
private Integer applyStatus; private Integer applyStatus;
//创建来源,1:手动创建,2:自动创建
@ApiModelProperty(value = "创建来源,1:手动创建,2:自动创建")
private Integer createSource;
//经度 //经度
@ApiModelProperty(value = "经度") @ApiModelProperty(value = "经度")
private String longitude; private String longitude;