feat(): 添加项目创建来源字段(手动创建/自动创建)
parent
91b0f36ffb
commit
f85d98241d
|
|
@ -113,6 +113,9 @@ public class KeyProjectCO extends ClientObject {
|
|||
//状态,0:暂存。1:未开工,2:开工申请中,3:已超期,4:进行中,5:完工申请中,6:已完工,7:开工申请驳回
|
||||
@ApiModelProperty(value = "状态,0:暂存。1:未开工,2:开工申请中,3:已超期,4:进行中,5:完工申请中,6:已完工,7:开工申请驳回")
|
||||
private Integer applyStatus;
|
||||
//创建来源,1:手动创建,2:自动创建
|
||||
@ApiModelProperty(value = "创建来源,1:手动创建,2:自动创建")
|
||||
private Integer createSource;
|
||||
//经度
|
||||
@ApiModelProperty(value = "经度")
|
||||
private String longitude;
|
||||
|
|
|
|||
|
|
@ -97,6 +97,9 @@ public class KeyProjectAddCmd implements Serializable {
|
|||
@ApiModelProperty(value = "状态,0:暂存。1:未开工,2:开工申请中,3:已超期,4:进行中,5:完工申请中,6:已完工", name = "applyStatus")
|
||||
private Integer applyStatus;
|
||||
|
||||
@ApiModelProperty(value = "创建来源,1:手动创建,2:自动创建")
|
||||
private Integer createSource;
|
||||
|
||||
@ApiModelProperty(value = "经度", name = "longitude")
|
||||
private String longitude;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
@ -66,6 +66,8 @@ public class KeyProjectE extends BaseE {
|
|||
private LocalDateTime completedConfirmDateTime;
|
||||
//状态,0:暂存。1:未开工,2:开工申请中,3:已超期,4:进行中,5:完工申请中,6:已完工,7:开工申请驳回
|
||||
private Integer applyStatus;
|
||||
//创建来源,1:手动创建,2:自动创建
|
||||
private Integer createSource;
|
||||
//驳回原因
|
||||
private String rejectReason;
|
||||
//经度
|
||||
|
|
|
|||
|
|
@ -110,6 +110,9 @@ public class KeyProjectDO extends BaseDO {
|
|||
//状态,0:暂存。1:未开工,2:开工申请中,3:已超期,4:进行中,5:完工申请中,6:已完工,7:开工申请驳回
|
||||
@ApiModelProperty(value = "状态,0:暂存。1:未开工,2:开工申请中,3:已超期,4:进行中,5:完工申请中,6:已完工,7:开工申请驳回")
|
||||
private Integer applyStatus;
|
||||
//创建来源,1:手动创建,2:自动创建
|
||||
@ApiModelProperty(value = "创建来源,1:手动创建,2:自动创建")
|
||||
private Integer createSource;
|
||||
//经度
|
||||
@ApiModelProperty(value = "经度")
|
||||
private String longitude;
|
||||
|
|
|
|||
Loading…
Reference in New Issue