|
@@ -105,6 +105,7 @@ public class ProductionProcesses implements Serializable {
|
|
|
/**
|
|
|
* 工步生产时的设备
|
|
|
*/
|
|
|
+ @InverseRelationShadowVariable(sourceVariableName = "tasks")
|
|
|
private Equipment equipment;
|
|
|
|
|
|
/**
|
|
@@ -212,6 +213,7 @@ public class ProductionProcesses implements Serializable {
|
|
|
/**
|
|
|
* 开始时间
|
|
|
*/
|
|
|
+ @ShadowVariable(variableListenerClass = TaskStartTimeListenerTa.class, sourceEntityClass = Equipment.class, sourceVariableName = "tasks")
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
private LocalDateTime startTime;
|
|
|
|
|
@@ -397,7 +399,6 @@ public class ProductionProcesses implements Serializable {
|
|
|
this.equipmentType = equipmentType;
|
|
|
}
|
|
|
|
|
|
- @InverseRelationShadowVariable(sourceVariableName = "tasks")
|
|
|
// @PlanningVariable(valueRangeProviderRefs={"equipmentRange"})
|
|
|
// @AnchorShadowVariable(sourceVariableName = "previousStep")
|
|
|
public Equipment getEquipment() {
|
|
@@ -467,7 +468,6 @@ public class ProductionProcesses implements Serializable {
|
|
|
// @ShadowVariable(variableListenerClass = TaskStartTimeListener.class, sourceVariableName = "equipment")
|
|
|
// @ShadowVariable(variableListenerClass = TaskStartTimeListener.class, sourceVariableName = "delay")
|
|
|
// @AnchorShadowVariable(sourceVariableName = "equipment")
|
|
|
- @ShadowVariable(variableListenerClass = TaskStartTimeListenerTa.class, sourceEntityClass = Equipment.class, sourceVariableName = "tasks")
|
|
|
public LocalDateTime getStartTime() {
|
|
|
return startTime;
|
|
|
}
|