Browse Source

添加节点类型、标签等

master
陈裕财 4 years ago
parent
commit
427abad609
  1. 24
      xm-core/src/main/java/com/xm/core/entity/XmBranchState.java
  2. 36
      xm-core/src/main/java/com/xm/core/entity/XmProject.java
  3. 36
      xm-core/src/main/java/com/xm/core/entity/XmProjectBaseline.java
  4. 6
      xm-core/src/main/java/com/xm/core/entity/XmProjectMBudgetCostNouser.java
  5. 24
      xm-core/src/main/java/com/xm/core/entity/XmProjectState.java
  6. 24
      xm-core/src/main/java/com/xm/core/entity/XmProjectStateHis.java
  7. 36
      xm-core/src/main/java/com/xm/core/entity/XmProjectTemplate.java
  8. 12
      xm-core/src/main/java/com/xm/core/entity/XmTaskExecuser.java
  9. 2
      xm-core/src/main/java/com/xm/core/service/XmProjectMBudgetCostNouserService.java
  10. 2
      xm-core/src/main/java/com/xm/core/service/XmProjectMBudgetCostUserService.java
  11. 2
      xm-core/src/main/java/com/xm/core/service/XmProjectMCostNouserService.java
  12. 2
      xm-core/src/main/java/com/xm/core/service/XmProjectMCostUserService.java
  13. 8
      xm-core/src/main/java/com/xm/core/service/XmProjectPhaseService.java
  14. 2
      xm-core/src/main/java/com/xm/core/service/XmTaskService.java

24
xm-core/src/main/java/com/xm/core/entity/XmBranchState.java

@ -60,10 +60,10 @@ public class XmBranchState implements java.io.Serializable {
@ApiModelProperty(notes="已完成任务总数-来自任务表",allowEmptyValue=true,example="",allowableValues="")
Integer totalCompleteTaskCnt;
@ApiModelProperty(notes="项目阶段计划数",allowEmptyValue=true,example="",allowableValues="")
@ApiModelProperty(notes="项目计划数",allowEmptyValue=true,example="",allowableValues="")
Integer totalPhaseCnt;
@ApiModelProperty(notes="项目阶段计划已完成数",allowEmptyValue=true,example="",allowableValues="")
@ApiModelProperty(notes="项目计划已完成数",allowEmptyValue=true,example="",allowableValues="")
Integer totalCompletePhaseCnt;
@ApiModelProperty(notes="待付款总金额",allowEmptyValue=true,example="",allowableValues="")
@ -150,10 +150,10 @@ public class XmBranchState implements java.io.Serializable {
@ApiModelProperty(notes="待付款总人数",allowEmptyValue=true,example="",allowableValues="")
BigDecimal totalNeedPayUserCnt;
@ApiModelProperty(notes="内部人力总工作量-应该大于或等于阶段计划内部人力总成本",allowEmptyValue=true,example="",allowableValues="")
@ApiModelProperty(notes="内部人力总工作量-应该大于或等于计划内部人力总成本",allowEmptyValue=true,example="",allowableValues="")
BigDecimal totalPlanInnerUserWorkload;
@ApiModelProperty(notes="外购人力总工作量-应该大于或等于阶段计划外购人力总成本",allowEmptyValue=true,example="",allowableValues="")
@ApiModelProperty(notes="外购人力总工作量-应该大于或等于计划外购人力总成本",allowEmptyValue=true,example="",allowableValues="")
BigDecimal totalPlanOutUserWorkload;
@ApiModelProperty(notes="测试案例总数",allowEmptyValue=true,example="",allowableValues="")
@ -265,13 +265,13 @@ public class XmBranchState implements java.io.Serializable {
this.totalCompleteTaskCnt = totalCompleteTaskCnt;
}
/**
* 项目阶段计划数
* 项目计划数
**/
public void setTotalPhaseCnt(Integer totalPhaseCnt) {
this.totalPhaseCnt = totalPhaseCnt;
}
/**
* 项目阶段计划已完成数
* 项目计划已完成数
**/
public void setTotalCompletePhaseCnt(Integer totalCompletePhaseCnt) {
this.totalCompletePhaseCnt = totalCompletePhaseCnt;
@ -445,13 +445,13 @@ public class XmBranchState implements java.io.Serializable {
this.totalNeedPayUserCnt = totalNeedPayUserCnt;
}
/**
* 内部人力总工作量-应该大于或等于阶段计划内部人力总成本
* 内部人力总工作量-应该大于或等于计划内部人力总成本
**/
public void setTotalPlanInnerUserWorkload(BigDecimal totalPlanInnerUserWorkload) {
this.totalPlanInnerUserWorkload = totalPlanInnerUserWorkload;
}
/**
* 外购人力总工作量-应该大于或等于阶段计划外购人力总成本
* 外购人力总工作量-应该大于或等于计划外购人力总成本
**/
public void setTotalPlanOutUserWorkload(BigDecimal totalPlanOutUserWorkload) {
this.totalPlanOutUserWorkload = totalPlanOutUserWorkload;
@ -578,13 +578,13 @@ public class XmBranchState implements java.io.Serializable {
return this.totalCompleteTaskCnt;
}
/**
* 项目阶段计划数
* 项目计划数
**/
public Integer getTotalPhaseCnt() {
return this.totalPhaseCnt;
}
/**
* 项目阶段计划已完成数
* 项目计划已完成数
**/
public Integer getTotalCompletePhaseCnt() {
return this.totalCompletePhaseCnt;
@ -758,13 +758,13 @@ public class XmBranchState implements java.io.Serializable {
return this.totalNeedPayUserCnt;
}
/**
* 内部人力总工作量-应该大于或等于阶段计划内部人力总成本
* 内部人力总工作量-应该大于或等于计划内部人力总成本
**/
public BigDecimal getTotalPlanInnerUserWorkload() {
return this.totalPlanInnerUserWorkload;
}
/**
* 外购人力总工作量-应该大于或等于阶段计划外购人力总成本
* 外购人力总工作量-应该大于或等于计划外购人力总成本
**/
public BigDecimal getTotalPlanOutUserWorkload() {
return this.totalPlanOutUserWorkload;

36
xm-core/src/main/java/com/xm/core/entity/XmProject.java

@ -77,13 +77,13 @@ public class XmProject implements java.io.Serializable {
@ApiModelProperty(notes="当前流程状态0初始1审批中2审批通过3审批不通过4流程取消或者删除",allowEmptyValue=true,example="",allowableValues="")
String bizFlowState;
@ApiModelProperty(notes="非人力成本总预算-应该大于或等于阶段计划非人力总成本",allowEmptyValue=true,example="",allowableValues="")
@ApiModelProperty(notes="非人力成本总预算-应该大于或等于计划非人力总成本",allowEmptyValue=true,example="",allowableValues="")
BigDecimal planNouserAt;
@ApiModelProperty(notes="内部人力成本总预算-应该大于或等于阶段计划内部人力总成本",allowEmptyValue=true,example="",allowableValues="")
@ApiModelProperty(notes="内部人力成本总预算-应该大于或等于计划内部人力总成本",allowEmptyValue=true,example="",allowableValues="")
BigDecimal planInnerUserAt;
@ApiModelProperty(notes="外购人力成本总预算-应该大于或等于阶段计划外购人力总成本",allowEmptyValue=true,example="",allowableValues="")
@ApiModelProperty(notes="外购人力成本总预算-应该大于或等于计划外购人力总成本",allowEmptyValue=true,example="",allowableValues="")
BigDecimal planOutUserAt;
@ApiModelProperty(notes="是否锁定整个项目不允许变化0否1是",allowEmptyValue=true,example="",allowableValues="")
@ -98,7 +98,7 @@ public class XmProject implements java.io.Serializable {
@ApiModelProperty(notes="基线主键",allowEmptyValue=true,example="",allowableValues="")
String baselineId;
@ApiModelProperty(notes="总预算工作量-应该大于或等于阶段计划总工作量",allowEmptyValue=true,example="",allowableValues="")
@ApiModelProperty(notes="总预算工作量-应该大于或等于计划总工作量",allowEmptyValue=true,example="",allowableValues="")
BigDecimal planWorkload;
@ApiModelProperty(notes="总预计收款金额",allowEmptyValue=true,example="",allowableValues="")
@ -128,10 +128,10 @@ public class XmProject implements java.io.Serializable {
@ApiModelProperty(notes="税率",allowEmptyValue=true,example="",allowableValues="")
BigDecimal taxRate;
@ApiModelProperty(notes="内部人力总工作量-应该大于或等于阶段计划内部人力总成本",allowEmptyValue=true,example="",allowableValues="")
@ApiModelProperty(notes="内部人力总工作量-应该大于或等于计划内部人力总成本",allowEmptyValue=true,example="",allowableValues="")
BigDecimal planInnerUserWorkload;
@ApiModelProperty(notes="外购人力总工作量-应该大于或等于阶段计划外购人力总成本",allowEmptyValue=true,example="",allowableValues="")
@ApiModelProperty(notes="外购人力总工作量-应该大于或等于计划外购人力总成本",allowEmptyValue=true,example="",allowableValues="")
BigDecimal planOutUserWorkload;
@ApiModelProperty(notes="关联模板编号",allowEmptyValue=true,example="",allowableValues="")
@ -270,19 +270,19 @@ public class XmProject implements java.io.Serializable {
this.bizFlowState = bizFlowState;
}
/**
* 非人力成本总预算-应该大于或等于阶段计划非人力总成本
* 非人力成本总预算-应该大于或等于计划非人力总成本
**/
public void setPlanNouserAt(BigDecimal planNouserAt) {
this.planNouserAt = planNouserAt;
}
/**
* 内部人力成本总预算-应该大于或等于阶段计划内部人力总成本
* 内部人力成本总预算-应该大于或等于计划内部人力总成本
**/
public void setPlanInnerUserAt(BigDecimal planInnerUserAt) {
this.planInnerUserAt = planInnerUserAt;
}
/**
* 外购人力成本总预算-应该大于或等于阶段计划外购人力总成本
* 外购人力成本总预算-应该大于或等于计划外购人力总成本
**/
public void setPlanOutUserAt(BigDecimal planOutUserAt) {
this.planOutUserAt = planOutUserAt;
@ -312,7 +312,7 @@ public class XmProject implements java.io.Serializable {
this.baselineId = baselineId;
}
/**
* 总预算工作量-应该大于或等于阶段计划总工作量
* 总预算工作量-应该大于或等于计划总工作量
**/
public void setPlanWorkload(BigDecimal planWorkload) {
this.planWorkload = planWorkload;
@ -372,13 +372,13 @@ public class XmProject implements java.io.Serializable {
this.taxRate = taxRate;
}
/**
* 内部人力总工作量-应该大于或等于阶段计划内部人力总成本
* 内部人力总工作量-应该大于或等于计划内部人力总成本
**/
public void setPlanInnerUserWorkload(BigDecimal planInnerUserWorkload) {
this.planInnerUserWorkload = planInnerUserWorkload;
}
/**
* 外购人力总工作量-应该大于或等于阶段计划外购人力总成本
* 外购人力总工作量-应该大于或等于计划外购人力总成本
**/
public void setPlanOutUserWorkload(BigDecimal planOutUserWorkload) {
this.planOutUserWorkload = planOutUserWorkload;
@ -523,19 +523,19 @@ public class XmProject implements java.io.Serializable {
return this.bizFlowState;
}
/**
* 非人力成本总预算-应该大于或等于阶段计划非人力总成本
* 非人力成本总预算-应该大于或等于计划非人力总成本
**/
public BigDecimal getPlanNouserAt() {
return this.planNouserAt;
}
/**
* 内部人力成本总预算-应该大于或等于阶段计划内部人力总成本
* 内部人力成本总预算-应该大于或等于计划内部人力总成本
**/
public BigDecimal getPlanInnerUserAt() {
return this.planInnerUserAt;
}
/**
* 外购人力成本总预算-应该大于或等于阶段计划外购人力总成本
* 外购人力成本总预算-应该大于或等于计划外购人力总成本
**/
public BigDecimal getPlanOutUserAt() {
return this.planOutUserAt;
@ -565,7 +565,7 @@ public class XmProject implements java.io.Serializable {
return this.baselineId;
}
/**
* 总预算工作量-应该大于或等于阶段计划总工作量
* 总预算工作量-应该大于或等于计划总工作量
**/
public BigDecimal getPlanWorkload() {
return this.planWorkload;
@ -625,13 +625,13 @@ public class XmProject implements java.io.Serializable {
return this.taxRate;
}
/**
* 内部人力总工作量-应该大于或等于阶段计划内部人力总成本
* 内部人力总工作量-应该大于或等于计划内部人力总成本
**/
public BigDecimal getPlanInnerUserWorkload() {
return this.planInnerUserWorkload;
}
/**
* 外购人力总工作量-应该大于或等于阶段计划外购人力总成本
* 外购人力总工作量-应该大于或等于计划外购人力总成本
**/
public BigDecimal getPlanOutUserWorkload() {
return this.planOutUserWorkload;

36
xm-core/src/main/java/com/xm/core/entity/XmProjectBaseline.java

@ -77,13 +77,13 @@ public class XmProjectBaseline implements java.io.Serializable {
@ApiModelProperty(notes="当前流程状态0初始1审批中2审批通过3审批不通过4流程取消或者删除",allowEmptyValue=true,example="",allowableValues="")
String bizFlowState;
@ApiModelProperty(notes="非人力成本总预算-应该大于或等于阶段计划非人力总成本",allowEmptyValue=true,example="",allowableValues="")
@ApiModelProperty(notes="非人力成本总预算-应该大于或等于计划非人力总成本",allowEmptyValue=true,example="",allowableValues="")
BigDecimal planNouserAt;
@ApiModelProperty(notes="内部人力成本总预算-应该大于或等于阶段计划内部人力总成本",allowEmptyValue=true,example="",allowableValues="")
@ApiModelProperty(notes="内部人力成本总预算-应该大于或等于计划内部人力总成本",allowEmptyValue=true,example="",allowableValues="")
BigDecimal planInnerUserAt;
@ApiModelProperty(notes="外购人力成本总预算-应该大于或等于阶段计划外购人力总成本",allowEmptyValue=true,example="",allowableValues="")
@ApiModelProperty(notes="外购人力成本总预算-应该大于或等于计划外购人力总成本",allowEmptyValue=true,example="",allowableValues="")
BigDecimal planOutUserAt;
@ApiModelProperty(notes="是否锁定整个项目不允许变化0否1是",allowEmptyValue=true,example="",allowableValues="")
@ -98,7 +98,7 @@ public class XmProjectBaseline implements java.io.Serializable {
@ApiModelProperty(notes="基线主键",allowEmptyValue=true,example="",allowableValues="")
String baselineId;
@ApiModelProperty(notes="总预算工作量-应该大于或等于阶段计划总工作量",allowEmptyValue=true,example="",allowableValues="")
@ApiModelProperty(notes="总预算工作量-应该大于或等于计划总工作量",allowEmptyValue=true,example="",allowableValues="")
BigDecimal planWorkload;
@ApiModelProperty(notes="总预计收款金额",allowEmptyValue=true,example="",allowableValues="")
@ -128,10 +128,10 @@ public class XmProjectBaseline implements java.io.Serializable {
@ApiModelProperty(notes="税率",allowEmptyValue=true,example="",allowableValues="")
BigDecimal taxRate;
@ApiModelProperty(notes="内部人力总工作量-应该大于或等于阶段计划内部人力总成本",allowEmptyValue=true,example="",allowableValues="")
@ApiModelProperty(notes="内部人力总工作量-应该大于或等于计划内部人力总成本",allowEmptyValue=true,example="",allowableValues="")
BigDecimal planInnerUserWorkload;
@ApiModelProperty(notes="外购人力总工作量-应该大于或等于阶段计划外购人力总成本",allowEmptyValue=true,example="",allowableValues="")
@ApiModelProperty(notes="外购人力总工作量-应该大于或等于计划外购人力总成本",allowEmptyValue=true,example="",allowableValues="")
BigDecimal planOutUserWorkload;
@ApiModelProperty(notes="关联模板编号",allowEmptyValue=true,example="",allowableValues="")
@ -270,19 +270,19 @@ public class XmProjectBaseline implements java.io.Serializable {
this.bizFlowState = bizFlowState;
}
/**
* 非人力成本总预算-应该大于或等于阶段计划非人力总成本
* 非人力成本总预算-应该大于或等于计划非人力总成本
**/
public void setPlanNouserAt(BigDecimal planNouserAt) {
this.planNouserAt = planNouserAt;
}
/**
* 内部人力成本总预算-应该大于或等于阶段计划内部人力总成本
* 内部人力成本总预算-应该大于或等于计划内部人力总成本
**/
public void setPlanInnerUserAt(BigDecimal planInnerUserAt) {
this.planInnerUserAt = planInnerUserAt;
}
/**
* 外购人力成本总预算-应该大于或等于阶段计划外购人力总成本
* 外购人力成本总预算-应该大于或等于计划外购人力总成本
**/
public void setPlanOutUserAt(BigDecimal planOutUserAt) {
this.planOutUserAt = planOutUserAt;
@ -312,7 +312,7 @@ public class XmProjectBaseline implements java.io.Serializable {
this.baselineId = baselineId;
}
/**
* 总预算工作量-应该大于或等于阶段计划总工作量
* 总预算工作量-应该大于或等于计划总工作量
**/
public void setPlanWorkload(BigDecimal planWorkload) {
this.planWorkload = planWorkload;
@ -372,13 +372,13 @@ public class XmProjectBaseline implements java.io.Serializable {
this.taxRate = taxRate;
}
/**
* 内部人力总工作量-应该大于或等于阶段计划内部人力总成本
* 内部人力总工作量-应该大于或等于计划内部人力总成本
**/
public void setPlanInnerUserWorkload(BigDecimal planInnerUserWorkload) {
this.planInnerUserWorkload = planInnerUserWorkload;
}
/**
* 外购人力总工作量-应该大于或等于阶段计划外购人力总成本
* 外购人力总工作量-应该大于或等于计划外购人力总成本
**/
public void setPlanOutUserWorkload(BigDecimal planOutUserWorkload) {
this.planOutUserWorkload = planOutUserWorkload;
@ -523,19 +523,19 @@ public class XmProjectBaseline implements java.io.Serializable {
return this.bizFlowState;
}
/**
* 非人力成本总预算-应该大于或等于阶段计划非人力总成本
* 非人力成本总预算-应该大于或等于计划非人力总成本
**/
public BigDecimal getPlanNouserAt() {
return this.planNouserAt;
}
/**
* 内部人力成本总预算-应该大于或等于阶段计划内部人力总成本
* 内部人力成本总预算-应该大于或等于计划内部人力总成本
**/
public BigDecimal getPlanInnerUserAt() {
return this.planInnerUserAt;
}
/**
* 外购人力成本总预算-应该大于或等于阶段计划外购人力总成本
* 外购人力成本总预算-应该大于或等于计划外购人力总成本
**/
public BigDecimal getPlanOutUserAt() {
return this.planOutUserAt;
@ -565,7 +565,7 @@ public class XmProjectBaseline implements java.io.Serializable {
return this.baselineId;
}
/**
* 总预算工作量-应该大于或等于阶段计划总工作量
* 总预算工作量-应该大于或等于计划总工作量
**/
public BigDecimal getPlanWorkload() {
return this.planWorkload;
@ -625,13 +625,13 @@ public class XmProjectBaseline implements java.io.Serializable {
return this.taxRate;
}
/**
* 内部人力总工作量-应该大于或等于阶段计划内部人力总成本
* 内部人力总工作量-应该大于或等于计划内部人力总成本
**/
public BigDecimal getPlanInnerUserWorkload() {
return this.planInnerUserWorkload;
}
/**
* 外购人力总工作量-应该大于或等于阶段计划外购人力总成本
* 外购人力总工作量-应该大于或等于计划外购人力总成本
**/
public BigDecimal getPlanOutUserWorkload() {
return this.planOutUserWorkload;

6
xm-core/src/main/java/com/xm/core/entity/XmProjectMBudgetCostNouser.java

@ -48,7 +48,7 @@ public class XmProjectMBudgetCostNouser implements java.io.Serializable {
@ApiModelProperty(notes="当前流程状态0初始1审批中2审批通过3审批不通过4流程取消或者删除",allowEmptyValue=true,example="",allowableValues="")
String bizFlowState;
@ApiModelProperty(notes="阶段计划",allowEmptyValue=true,example="",allowableValues="")
@ApiModelProperty(notes="计划",allowEmptyValue=true,example="",allowableValues="")
String projectPhaseId;
@ApiModelProperty(notes="成本类型0非人力1内部人力2外购人力",allowEmptyValue=true,example="",allowableValues="")
@ -121,7 +121,7 @@ public class XmProjectMBudgetCostNouser implements java.io.Serializable {
this.bizFlowState = bizFlowState;
}
/**
* 阶段计划
* 计划
**/
public void setProjectPhaseId(String projectPhaseId) {
this.projectPhaseId = projectPhaseId;
@ -194,7 +194,7 @@ public class XmProjectMBudgetCostNouser implements java.io.Serializable {
return this.bizFlowState;
}
/**
* 阶段计划
* 计划
**/
public String getProjectPhaseId() {
return this.projectPhaseId;

24
xm-core/src/main/java/com/xm/core/entity/XmProjectState.java

@ -66,10 +66,10 @@ public class XmProjectState implements java.io.Serializable {
@ApiModelProperty(notes="已完成任务总数-来自任务表",allowEmptyValue=true,example="",allowableValues="")
Integer totalCompleteTaskCnt;
@ApiModelProperty(notes="项目阶段计划数",allowEmptyValue=true,example="",allowableValues="")
@ApiModelProperty(notes="项目计划数",allowEmptyValue=true,example="",allowableValues="")
Integer totalPhaseCnt;
@ApiModelProperty(notes="项目阶段计划已完成数",allowEmptyValue=true,example="",allowableValues="")
@ApiModelProperty(notes="项目计划已完成数",allowEmptyValue=true,example="",allowableValues="")
Integer totalCompletePhaseCnt;
@ApiModelProperty(notes="待付款总金额",allowEmptyValue=true,example="",allowableValues="")
@ -156,10 +156,10 @@ public class XmProjectState implements java.io.Serializable {
@ApiModelProperty(notes="待付款总人数",allowEmptyValue=true,example="",allowableValues="")
Integer totalNeedPayUserCnt;
@ApiModelProperty(notes="内部人力总工作量-应该大于或等于阶段计划内部人力总成本",allowEmptyValue=true,example="",allowableValues="")
@ApiModelProperty(notes="内部人力总工作量-应该大于或等于计划内部人力总成本",allowEmptyValue=true,example="",allowableValues="")
BigDecimal totalPlanInnerUserWorkload;
@ApiModelProperty(notes="外购人力总工作量-应该大于或等于阶段计划外购人力总成本",allowEmptyValue=true,example="",allowableValues="")
@ApiModelProperty(notes="外购人力总工作量-应该大于或等于计划外购人力总成本",allowEmptyValue=true,example="",allowableValues="")
BigDecimal totalPlanOutUserWorkload;
@ApiModelProperty(notes="测试案例总数",allowEmptyValue=true,example="",allowableValues="")
@ -283,13 +283,13 @@ public class XmProjectState implements java.io.Serializable {
this.totalCompleteTaskCnt = totalCompleteTaskCnt;
}
/**
* 项目阶段计划数
* 项目计划数
**/
public void setTotalPhaseCnt(Integer totalPhaseCnt) {
this.totalPhaseCnt = totalPhaseCnt;
}
/**
* 项目阶段计划已完成数
* 项目计划已完成数
**/
public void setTotalCompletePhaseCnt(Integer totalCompletePhaseCnt) {
this.totalCompletePhaseCnt = totalCompletePhaseCnt;
@ -463,13 +463,13 @@ public class XmProjectState implements java.io.Serializable {
this.totalNeedPayUserCnt = totalNeedPayUserCnt;
}
/**
* 内部人力总工作量-应该大于或等于阶段计划内部人力总成本
* 内部人力总工作量-应该大于或等于计划内部人力总成本
**/
public void setTotalPlanInnerUserWorkload(BigDecimal totalPlanInnerUserWorkload) {
this.totalPlanInnerUserWorkload = totalPlanInnerUserWorkload;
}
/**
* 外购人力总工作量-应该大于或等于阶段计划外购人力总成本
* 外购人力总工作量-应该大于或等于计划外购人力总成本
**/
public void setTotalPlanOutUserWorkload(BigDecimal totalPlanOutUserWorkload) {
this.totalPlanOutUserWorkload = totalPlanOutUserWorkload;
@ -608,13 +608,13 @@ public class XmProjectState implements java.io.Serializable {
return this.totalCompleteTaskCnt;
}
/**
* 项目阶段计划数
* 项目计划数
**/
public Integer getTotalPhaseCnt() {
return this.totalPhaseCnt;
}
/**
* 项目阶段计划已完成数
* 项目计划已完成数
**/
public Integer getTotalCompletePhaseCnt() {
return this.totalCompletePhaseCnt;
@ -788,13 +788,13 @@ public class XmProjectState implements java.io.Serializable {
return this.totalNeedPayUserCnt;
}
/**
* 内部人力总工作量-应该大于或等于阶段计划内部人力总成本
* 内部人力总工作量-应该大于或等于计划内部人力总成本
**/
public BigDecimal getTotalPlanInnerUserWorkload() {
return this.totalPlanInnerUserWorkload;
}
/**
* 外购人力总工作量-应该大于或等于阶段计划外购人力总成本
* 外购人力总工作量-应该大于或等于计划外购人力总成本
**/
public BigDecimal getTotalPlanOutUserWorkload() {
return this.totalPlanOutUserWorkload;

24
xm-core/src/main/java/com/xm/core/entity/XmProjectStateHis.java

@ -66,10 +66,10 @@ public class XmProjectStateHis implements java.io.Serializable {
@ApiModelProperty(notes="已完成任务总数-来自任务表",allowEmptyValue=true,example="",allowableValues="")
Integer totalCompleteTaskCnt;
@ApiModelProperty(notes="项目阶段计划数",allowEmptyValue=true,example="",allowableValues="")
@ApiModelProperty(notes="项目计划数",allowEmptyValue=true,example="",allowableValues="")
Integer totalPhaseCnt;
@ApiModelProperty(notes="项目阶段计划已完成数",allowEmptyValue=true,example="",allowableValues="")
@ApiModelProperty(notes="项目计划已完成数",allowEmptyValue=true,example="",allowableValues="")
Integer totalCompletePhaseCnt;
@ApiModelProperty(notes="待付款总金额",allowEmptyValue=true,example="",allowableValues="")
@ -156,10 +156,10 @@ public class XmProjectStateHis implements java.io.Serializable {
@ApiModelProperty(notes="待付款总人数",allowEmptyValue=true,example="",allowableValues="")
Integer totalNeedPayUserCnt;
@ApiModelProperty(notes="内部人力总工作量-应该大于或等于阶段计划内部人力总成本",allowEmptyValue=true,example="",allowableValues="")
@ApiModelProperty(notes="内部人力总工作量-应该大于或等于计划内部人力总成本",allowEmptyValue=true,example="",allowableValues="")
BigDecimal totalPlanInnerUserWorkload;
@ApiModelProperty(notes="外购人力总工作量-应该大于或等于阶段计划外购人力总成本",allowEmptyValue=true,example="",allowableValues="")
@ApiModelProperty(notes="外购人力总工作量-应该大于或等于计划外购人力总成本",allowEmptyValue=true,example="",allowableValues="")
BigDecimal totalPlanOutUserWorkload;
@ApiModelProperty(notes="测试案例总数",allowEmptyValue=true,example="",allowableValues="")
@ -283,13 +283,13 @@ public class XmProjectStateHis implements java.io.Serializable {
this.totalCompleteTaskCnt = totalCompleteTaskCnt;
}
/**
* 项目阶段计划数
* 项目计划数
**/
public void setTotalPhaseCnt(Integer totalPhaseCnt) {
this.totalPhaseCnt = totalPhaseCnt;
}
/**
* 项目阶段计划已完成数
* 项目计划已完成数
**/
public void setTotalCompletePhaseCnt(Integer totalCompletePhaseCnt) {
this.totalCompletePhaseCnt = totalCompletePhaseCnt;
@ -463,13 +463,13 @@ public class XmProjectStateHis implements java.io.Serializable {
this.totalNeedPayUserCnt = totalNeedPayUserCnt;
}
/**
* 内部人力总工作量-应该大于或等于阶段计划内部人力总成本
* 内部人力总工作量-应该大于或等于计划内部人力总成本
**/
public void setTotalPlanInnerUserWorkload(BigDecimal totalPlanInnerUserWorkload) {
this.totalPlanInnerUserWorkload = totalPlanInnerUserWorkload;
}
/**
* 外购人力总工作量-应该大于或等于阶段计划外购人力总成本
* 外购人力总工作量-应该大于或等于计划外购人力总成本
**/
public void setTotalPlanOutUserWorkload(BigDecimal totalPlanOutUserWorkload) {
this.totalPlanOutUserWorkload = totalPlanOutUserWorkload;
@ -608,13 +608,13 @@ public class XmProjectStateHis implements java.io.Serializable {
return this.totalCompleteTaskCnt;
}
/**
* 项目阶段计划数
* 项目计划数
**/
public Integer getTotalPhaseCnt() {
return this.totalPhaseCnt;
}
/**
* 项目阶段计划已完成数
* 项目计划已完成数
**/
public Integer getTotalCompletePhaseCnt() {
return this.totalCompletePhaseCnt;
@ -788,13 +788,13 @@ public class XmProjectStateHis implements java.io.Serializable {
return this.totalNeedPayUserCnt;
}
/**
* 内部人力总工作量-应该大于或等于阶段计划内部人力总成本
* 内部人力总工作量-应该大于或等于计划内部人力总成本
**/
public BigDecimal getTotalPlanInnerUserWorkload() {
return this.totalPlanInnerUserWorkload;
}
/**
* 外购人力总工作量-应该大于或等于阶段计划外购人力总成本
* 外购人力总工作量-应该大于或等于计划外购人力总成本
**/
public BigDecimal getTotalPlanOutUserWorkload() {
return this.totalPlanOutUserWorkload;

36
xm-core/src/main/java/com/xm/core/entity/XmProjectTemplate.java

@ -78,13 +78,13 @@ public class XmProjectTemplate implements java.io.Serializable {
@ApiModelProperty(notes="当前流程状态0初始1审批中2审批通过3审批不通过4流程取消或者删除",allowEmptyValue=true,example="",allowableValues="")
String bizFlowState;
@ApiModelProperty(notes="非人力成本总预算-应该大于或等于阶段计划非人力总成本",allowEmptyValue=true,example="",allowableValues="")
@ApiModelProperty(notes="非人力成本总预算-应该大于或等于计划非人力总成本",allowEmptyValue=true,example="",allowableValues="")
BigDecimal planNouserAt;
@ApiModelProperty(notes="内部人力成本总预算-应该大于或等于阶段计划内部人力总成本",allowEmptyValue=true,example="",allowableValues="")
@ApiModelProperty(notes="内部人力成本总预算-应该大于或等于计划内部人力总成本",allowEmptyValue=true,example="",allowableValues="")
BigDecimal planInnerUserAt;
@ApiModelProperty(notes="外购人力成本总预算-应该大于或等于阶段计划外购人力总成本",allowEmptyValue=true,example="",allowableValues="")
@ApiModelProperty(notes="外购人力成本总预算-应该大于或等于计划外购人力总成本",allowEmptyValue=true,example="",allowableValues="")
BigDecimal planOutUserAt;
@ApiModelProperty(notes="是否锁定整个项目不允许变化0否1是",allowEmptyValue=true,example="",allowableValues="")
@ -99,7 +99,7 @@ public class XmProjectTemplate implements java.io.Serializable {
@ApiModelProperty(notes="基线主键",allowEmptyValue=true,example="",allowableValues="")
String baselineId;
@ApiModelProperty(notes="总预算工作量-应该大于或等于阶段计划总工作量",allowEmptyValue=true,example="",allowableValues="")
@ApiModelProperty(notes="总预算工作量-应该大于或等于计划总工作量",allowEmptyValue=true,example="",allowableValues="")
BigDecimal planWorkload;
@ApiModelProperty(notes="总预计收款金额",allowEmptyValue=true,example="",allowableValues="")
@ -129,10 +129,10 @@ public class XmProjectTemplate implements java.io.Serializable {
@ApiModelProperty(notes="税率",allowEmptyValue=true,example="",allowableValues="")
BigDecimal taxRate;
@ApiModelProperty(notes="内部人力总工作量-应该大于或等于阶段计划内部人力总成本",allowEmptyValue=true,example="",allowableValues="")
@ApiModelProperty(notes="内部人力总工作量-应该大于或等于计划内部人力总成本",allowEmptyValue=true,example="",allowableValues="")
BigDecimal planInnerUserWorkload;
@ApiModelProperty(notes="外购人力总工作量-应该大于或等于阶段计划外购人力总成本",allowEmptyValue=true,example="",allowableValues="")
@ApiModelProperty(notes="外购人力总工作量-应该大于或等于计划外购人力总成本",allowEmptyValue=true,example="",allowableValues="")
BigDecimal planOutUserWorkload;
@ApiModelProperty(notes="产品编号",allowEmptyValue=true,example="",allowableValues="")
@ -286,19 +286,19 @@ public class XmProjectTemplate implements java.io.Serializable {
this.bizFlowState = bizFlowState;
}
/**
* 非人力成本总预算-应该大于或等于阶段计划非人力总成本
* 非人力成本总预算-应该大于或等于计划非人力总成本
**/
public void setPlanNouserAt(BigDecimal planNouserAt) {
this.planNouserAt = planNouserAt;
}
/**
* 内部人力成本总预算-应该大于或等于阶段计划内部人力总成本
* 内部人力成本总预算-应该大于或等于计划内部人力总成本
**/
public void setPlanInnerUserAt(BigDecimal planInnerUserAt) {
this.planInnerUserAt = planInnerUserAt;
}
/**
* 外购人力成本总预算-应该大于或等于阶段计划外购人力总成本
* 外购人力成本总预算-应该大于或等于计划外购人力总成本
**/
public void setPlanOutUserAt(BigDecimal planOutUserAt) {
this.planOutUserAt = planOutUserAt;
@ -328,7 +328,7 @@ public class XmProjectTemplate implements java.io.Serializable {
this.baselineId = baselineId;
}
/**
* 总预算工作量-应该大于或等于阶段计划总工作量
* 总预算工作量-应该大于或等于计划总工作量
**/
public void setPlanWorkload(BigDecimal planWorkload) {
this.planWorkload = planWorkload;
@ -388,13 +388,13 @@ public class XmProjectTemplate implements java.io.Serializable {
this.taxRate = taxRate;
}
/**
* 内部人力总工作量-应该大于或等于阶段计划内部人力总成本
* 内部人力总工作量-应该大于或等于计划内部人力总成本
**/
public void setPlanInnerUserWorkload(BigDecimal planInnerUserWorkload) {
this.planInnerUserWorkload = planInnerUserWorkload;
}
/**
* 外购人力总工作量-应该大于或等于阶段计划外购人力总成本
* 外购人力总工作量-应该大于或等于计划外购人力总成本
**/
public void setPlanOutUserWorkload(BigDecimal planOutUserWorkload) {
this.planOutUserWorkload = planOutUserWorkload;
@ -569,19 +569,19 @@ public class XmProjectTemplate implements java.io.Serializable {
return this.bizFlowState;
}
/**
* 非人力成本总预算-应该大于或等于阶段计划非人力总成本
* 非人力成本总预算-应该大于或等于计划非人力总成本
**/
public BigDecimal getPlanNouserAt() {
return this.planNouserAt;
}
/**
* 内部人力成本总预算-应该大于或等于阶段计划内部人力总成本
* 内部人力成本总预算-应该大于或等于计划内部人力总成本
**/
public BigDecimal getPlanInnerUserAt() {
return this.planInnerUserAt;
}
/**
* 外购人力成本总预算-应该大于或等于阶段计划外购人力总成本
* 外购人力成本总预算-应该大于或等于计划外购人力总成本
**/
public BigDecimal getPlanOutUserAt() {
return this.planOutUserAt;
@ -611,7 +611,7 @@ public class XmProjectTemplate implements java.io.Serializable {
return this.baselineId;
}
/**
* 总预算工作量-应该大于或等于阶段计划总工作量
* 总预算工作量-应该大于或等于计划总工作量
**/
public BigDecimal getPlanWorkload() {
return this.planWorkload;
@ -671,13 +671,13 @@ public class XmProjectTemplate implements java.io.Serializable {
return this.taxRate;
}
/**
* 内部人力总工作量-应该大于或等于阶段计划内部人力总成本
* 内部人力总工作量-应该大于或等于计划内部人力总成本
**/
public BigDecimal getPlanInnerUserWorkload() {
return this.planInnerUserWorkload;
}
/**
* 外购人力总工作量-应该大于或等于阶段计划外购人力总成本
* 外购人力总工作量-应该大于或等于计划外购人力总成本
**/
public BigDecimal getPlanOutUserWorkload() {
return this.planOutUserWorkload;

12
xm-core/src/main/java/com/xm/core/entity/XmTaskExecuser.java

@ -86,7 +86,7 @@ public class XmTaskExecuser implements java.io.Serializable {
@ApiModelProperty(notes="项目编号",allowEmptyValue=true,example="",allowableValues="")
String projectId;
@ApiModelProperty(notes="阶段计划编号",allowEmptyValue=true,example="",allowableValues="")
@ApiModelProperty(notes="计划编号",allowEmptyValue=true,example="",allowableValues="")
String projectPhaseId;
@ApiModelProperty(notes="技能说明",allowEmptyValue=true,example="",allowableValues="")
@ -104,7 +104,7 @@ public class XmTaskExecuser implements java.io.Serializable {
@ApiModelProperty(notes="项目所属机构",allowEmptyValue=true,example="",allowableValues="")
String branchId;
@ApiModelProperty(notes="阶段计划名称",allowEmptyValue=true,example="",allowableValues="")
@ApiModelProperty(notes="计划名称",allowEmptyValue=true,example="",allowableValues="")
String projectPhaseName;
@ApiModelProperty(notes="任务名称",allowEmptyValue=true,example="",allowableValues="")
@ -261,7 +261,7 @@ public class XmTaskExecuser implements java.io.Serializable {
this.projectId = projectId;
}
/**
* 阶段计划编号
* 计划编号
**/
public void setProjectPhaseId(String projectPhaseId) {
this.projectPhaseId = projectPhaseId;
@ -297,7 +297,7 @@ public class XmTaskExecuser implements java.io.Serializable {
this.branchId = branchId;
}
/**
* 阶段计划名称
* 计划名称
**/
public void setProjectPhaseName(String projectPhaseName) {
this.projectPhaseName = projectPhaseName;
@ -460,7 +460,7 @@ public class XmTaskExecuser implements java.io.Serializable {
return this.projectId;
}
/**
* 阶段计划编号
* 计划编号
**/
public String getProjectPhaseId() {
return this.projectPhaseId;
@ -496,7 +496,7 @@ public class XmTaskExecuser implements java.io.Serializable {
return this.branchId;
}
/**
* 阶段计划名称
* 计划名称
**/
public String getProjectPhaseName() {
return this.projectPhaseName;

2
xm-core/src/main/java/com/xm/core/service/XmProjectMBudgetCostNouserService.java

@ -27,7 +27,7 @@ public class XmProjectMBudgetCostNouserService extends BaseService {
XmRecordService xmRecordService;
/**
* 查询项目及阶段计划总预算用于判断是否超出预算
* 查询项目及计划总预算用于判断是否超出预算
*/
public Map<String,Object> selectTotalProjectAndNouserBudgetCost(String projectId,List<String> excludeIds){
Map<String,Object> p=new HashMap<>();

2
xm-core/src/main/java/com/xm/core/service/XmProjectMBudgetCostUserService.java

@ -27,7 +27,7 @@ public class XmProjectMBudgetCostUserService extends BaseService {
@Autowired
XmRecordService xmRecordService;
/**
* 查询项目及阶段计划总预算用于判断是否超出预算
* 查询项目及计划总预算用于判断是否超出预算
*/
public Map<String,Object> selectTotalProjectAndUserBudgetCost(String projectId,List<String> excludeIds){
Map<String,Object> p=new HashMap<>();

2
xm-core/src/main/java/com/xm/core/service/XmProjectMCostNouserService.java

@ -114,7 +114,7 @@ public class XmProjectMCostNouserService extends BaseService {
}
/**
* 查询项目及阶段计划总预算用于判断是否超出预算
* 查询项目及计划总预算用于判断是否超出预算
*/
public Map<String,Object> selectTotalProjectAndNouserActCost(String projectId,List<String> excludeIds){
Map<String,Object> p=new HashMap<>();

2
xm-core/src/main/java/com/xm/core/service/XmProjectMCostUserService.java

@ -116,7 +116,7 @@ public class XmProjectMCostUserService extends BaseService {
}
/**
* 查询项目及阶段计划总预算用于判断是否超出预算
* 查询项目及计划总预算用于判断是否超出预算
*/
public Map<String,Object> selectTotalProjectAndUserActCost(String projectId,List<String> excludeIds){
Map<String,Object> p=new HashMap<>();

8
xm-core/src/main/java/com/xm/core/service/XmProjectPhaseService.java

@ -37,7 +37,7 @@ public class XmProjectPhaseService extends BaseService {
@Autowired
XmProjectGroupService groupService;
/**
* 查询项目及阶段计划总预算用于判断是否超出预算
* 查询项目及计划总预算用于判断是否超出预算
*/
public Map<String,Object> selectTotalProjectAndPhaseBudgetCost(String projectId,List<String> excludePhaseIds){
Map<String,Object> p=new HashMap<>();
@ -52,12 +52,12 @@ public class XmProjectPhaseService extends BaseService {
boolean meIsPm=groupService.checkUserIsProjectManager(groupVoList,user.getUserid());
boolean meIsTeamHead=groupService.checkUserIsOtherUserTeamHead(groupVoList,user.getUserid(),user.getUserid());
if( !meIsPm && !meIsTeamHead ){
tips.setFailureMsg("您不是组长、也不是项目管理者,不允许设置阶段计划负责人");
tips.setFailureMsg("您不是组长、也不是项目管理者,不允许设置计划负责人");
return tips;
}
boolean meIsHisTeamHead=groupService.checkUserIsOtherUserTeamHead(groupVoList,mngUserid,myUserid);
if( !meIsPm && !meIsHisTeamHead ){
tips.setFailureMsg("您不是"+mngUsername+"的组长,不允许设置其为阶段计划负责人");
tips.setFailureMsg("您不是"+mngUsername+"的组长,不允许设置其为计划负责人");
return tips;
}
return tips;
@ -137,7 +137,7 @@ public class XmProjectPhaseService extends BaseService {
BigDecimal phaseBudgetCostAt=phaseBudgetCost.add(phaseBudgetInnerUserAt).add(phaseBudgetOutUserAt).add(phaseBudgetNouserAt);
phaseBudgetCostAt=phaseBudgetCostAt.add(addPhaseBudgetCost);
if(phaseBudgetCostAt.compareTo(planTotalCost)>0) {
tips.setFailureMsg("阶段计划总体预算超出项目总预算"+phaseBudgetCostAt.subtract(planTotalCost)+"元");
tips.setFailureMsg("计划总体预算超出项目总预算"+phaseBudgetCostAt.subtract(planTotalCost)+"元");
return tips;
}else {
return tips;

2
xm-core/src/main/java/com/xm/core/service/XmTaskService.java

@ -121,7 +121,7 @@ public class XmTaskService extends BaseService {
BigDecimal phaseBudgetCostAt=phaseBudgetCost.add(phaseBudgetInnerUserAt).add(phaseBudgetOutUserAt).add(phaseBudgetNouserAt);
if(phaseBudgetCostAt.compareTo(taskBudgetTotalCost)<0) {
tips.setFailureMsg("任务合计总预算超出阶段计划总预算");
tips.setFailureMsg("任务合计总预算超出计划总预算");
return tips;
}else {
return tips;

Loading…
Cancel
Save