8 changed files with 1014 additions and 4 deletions
-
104src/main/java/com/heai/modules/production/controller/DailyPlanController.java
-
91src/main/java/com/heai/modules/production/dao/DailyPlanMapper.java
-
115src/main/java/com/heai/modules/production/entity/OperatorData.java
-
224src/main/java/com/heai/modules/production/entity/ShopOrderRoutingData.java
-
224src/main/java/com/heai/modules/production/entity/WorkCenterData.java
-
80src/main/java/com/heai/modules/production/service/DailyPlanService.java
-
42src/main/java/com/heai/modules/production/service/impl/DailyPlanServiceImpl.java
-
138src/main/resources/mapper/production/DailyPlanMapper.xml
@ -0,0 +1,115 @@ |
|||||
|
package com.heai.modules.production.entity; |
||||
|
|
||||
|
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
|
import org.springframework.format.annotation.DateTimeFormat; |
||||
|
|
||||
|
import java.util.Date; |
||||
|
|
||||
|
public class OperatorData { |
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String site; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String operatorID; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String operatorName; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String active; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String department; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
||||
|
private Date createdDate; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String passwords; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String lineLeader; |
||||
|
|
||||
|
public String getSite() { |
||||
|
return site; |
||||
|
} |
||||
|
|
||||
|
public void setSite(String site) { |
||||
|
this.site = site; |
||||
|
} |
||||
|
|
||||
|
public String getOperatorID() { |
||||
|
return operatorID; |
||||
|
} |
||||
|
|
||||
|
public void setOperatorID(String operatorID) { |
||||
|
this.operatorID = operatorID; |
||||
|
} |
||||
|
|
||||
|
public String getOperatorName() { |
||||
|
return operatorName; |
||||
|
} |
||||
|
|
||||
|
public void setOperatorName(String operatorName) { |
||||
|
this.operatorName = operatorName; |
||||
|
} |
||||
|
|
||||
|
public String getActive() { |
||||
|
return active; |
||||
|
} |
||||
|
|
||||
|
public void setActive(String active) { |
||||
|
this.active = active; |
||||
|
} |
||||
|
|
||||
|
public String getDepartment() { |
||||
|
return department; |
||||
|
} |
||||
|
|
||||
|
public void setDepartment(String department) { |
||||
|
this.department = department; |
||||
|
} |
||||
|
|
||||
|
public Date getCreatedDate() { |
||||
|
return createdDate; |
||||
|
} |
||||
|
|
||||
|
public void setCreatedDate(Date createdDate) { |
||||
|
this.createdDate = createdDate; |
||||
|
} |
||||
|
|
||||
|
public String getPasswords() { |
||||
|
return passwords; |
||||
|
} |
||||
|
|
||||
|
public void setPasswords(String passwords) { |
||||
|
this.passwords = passwords; |
||||
|
} |
||||
|
|
||||
|
public String getLineLeader() { |
||||
|
return lineLeader; |
||||
|
} |
||||
|
|
||||
|
public void setLineLeader(String lineLeader) { |
||||
|
this.lineLeader = lineLeader; |
||||
|
} |
||||
|
} |
||||
|
|
||||
@ -0,0 +1,224 @@ |
|||||
|
package com.heai.modules.production.entity; |
||||
|
|
||||
|
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
|
import org.apache.ibatis.type.Alias; |
||||
|
import org.springframework.format.annotation.DateTimeFormat; |
||||
|
|
||||
|
import java.util.Date; |
||||
|
|
||||
|
@Alias("ShopOrderRoutingData") |
||||
|
public class ShopOrderRoutingData extends ShopOrderData{ |
||||
|
private float itemNo; |
||||
|
private String operationDesc; |
||||
|
private String workCenterNo; |
||||
|
private float machSetupTime; |
||||
|
private float machRunFactor; |
||||
|
private String factorUnitDB; |
||||
|
private String factorUnit; |
||||
|
private float qtyRequired; |
||||
|
private float qtyReported; |
||||
|
private float qtyApprove; |
||||
|
private float timeRequired; |
||||
|
private float timeReported; |
||||
|
private float efficiency; |
||||
|
private float scheduledQty; |
||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd") |
||||
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
||||
|
private Date startDate1; |
||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd") |
||||
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
||||
|
private Date endDate1; |
||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd") |
||||
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
||||
|
private Date startDate2; |
||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd") |
||||
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
||||
|
private Date endDate2; |
||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd") |
||||
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
||||
|
private Date startDate3; |
||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd") |
||||
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
||||
|
private Date endDate3; |
||||
|
private String planStatus; |
||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd") |
||||
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
||||
|
private Date orderDate; |
||||
|
public float getItemNo() { |
||||
|
return itemNo; |
||||
|
} |
||||
|
|
||||
|
public void setItemNo(float itemNo) { |
||||
|
this.itemNo = itemNo; |
||||
|
} |
||||
|
|
||||
|
public String getOperationDesc() { |
||||
|
return operationDesc; |
||||
|
} |
||||
|
|
||||
|
public void setOperationDesc(String operationDesc) { |
||||
|
this.operationDesc = operationDesc; |
||||
|
} |
||||
|
|
||||
|
public String getWorkCenterNo() { |
||||
|
return workCenterNo; |
||||
|
} |
||||
|
|
||||
|
public void setWorkCenterNo(String workCenterNo) { |
||||
|
this.workCenterNo = workCenterNo; |
||||
|
} |
||||
|
|
||||
|
public float getMachSetupTime() { |
||||
|
return machSetupTime; |
||||
|
} |
||||
|
|
||||
|
public void setMachSetupTime(float machSetupTime) { |
||||
|
this.machSetupTime = machSetupTime; |
||||
|
} |
||||
|
|
||||
|
public float getMachRunFactor() { |
||||
|
return machRunFactor; |
||||
|
} |
||||
|
|
||||
|
public void setMachRunFactor(float machRunFactor) { |
||||
|
this.machRunFactor = machRunFactor; |
||||
|
} |
||||
|
|
||||
|
public String getFactorUnitDB() { |
||||
|
return factorUnitDB; |
||||
|
} |
||||
|
|
||||
|
public void setFactorUnitDB(String factorUnitDB) { |
||||
|
this.factorUnitDB = factorUnitDB; |
||||
|
} |
||||
|
|
||||
|
public String getFactorUnit() { |
||||
|
return factorUnit; |
||||
|
} |
||||
|
|
||||
|
public void setFactorUnit(String factorUnit) { |
||||
|
this.factorUnit = factorUnit; |
||||
|
} |
||||
|
|
||||
|
public float getQtyRequired() { |
||||
|
return qtyRequired; |
||||
|
} |
||||
|
|
||||
|
public void setQtyRequired(float qtyRequired) { |
||||
|
this.qtyRequired = qtyRequired; |
||||
|
} |
||||
|
|
||||
|
public float getQtyReported() { |
||||
|
return qtyReported; |
||||
|
} |
||||
|
|
||||
|
public void setQtyReported(float qtyReported) { |
||||
|
this.qtyReported = qtyReported; |
||||
|
} |
||||
|
|
||||
|
public float getQtyApprove() { |
||||
|
return qtyApprove; |
||||
|
} |
||||
|
|
||||
|
public void setQtyApprove(float qtyApprove) { |
||||
|
this.qtyApprove = qtyApprove; |
||||
|
} |
||||
|
|
||||
|
public float getTimeRequired() { |
||||
|
return timeRequired; |
||||
|
} |
||||
|
|
||||
|
public void setTimeRequired(float timeRequired) { |
||||
|
this.timeRequired = timeRequired; |
||||
|
} |
||||
|
|
||||
|
public float getTimeReported() { |
||||
|
return timeReported; |
||||
|
} |
||||
|
|
||||
|
public void setTimeReported(float timeReported) { |
||||
|
this.timeReported = timeReported; |
||||
|
} |
||||
|
|
||||
|
public float getEfficiency() { |
||||
|
return efficiency; |
||||
|
} |
||||
|
|
||||
|
public void setEfficiency(float efficiency) { |
||||
|
this.efficiency = efficiency; |
||||
|
} |
||||
|
|
||||
|
public float getScheduledQty() { |
||||
|
return scheduledQty; |
||||
|
} |
||||
|
|
||||
|
public void setScheduledQty(float scheduledQty) { |
||||
|
this.scheduledQty = scheduledQty; |
||||
|
} |
||||
|
|
||||
|
public Date getStartDate1() { |
||||
|
return startDate1; |
||||
|
} |
||||
|
|
||||
|
public void setStartDate1(Date startDate1) { |
||||
|
this.startDate1 = startDate1; |
||||
|
} |
||||
|
|
||||
|
public Date getEndDate1() { |
||||
|
return endDate1; |
||||
|
} |
||||
|
|
||||
|
public void setEndDate1(Date endDate1) { |
||||
|
this.endDate1 = endDate1; |
||||
|
} |
||||
|
|
||||
|
public Date getStartDate2() { |
||||
|
return startDate2; |
||||
|
} |
||||
|
|
||||
|
public void setStartDate2(Date startDate2) { |
||||
|
this.startDate2 = startDate2; |
||||
|
} |
||||
|
|
||||
|
public Date getEndDate2() { |
||||
|
return endDate2; |
||||
|
} |
||||
|
|
||||
|
public void setEndDate2(Date endDate2) { |
||||
|
this.endDate2 = endDate2; |
||||
|
} |
||||
|
|
||||
|
public Date getStartDate3() { |
||||
|
return startDate3; |
||||
|
} |
||||
|
|
||||
|
public void setStartDate3(Date startDate3) { |
||||
|
this.startDate3 = startDate3; |
||||
|
} |
||||
|
|
||||
|
public Date getEndDate3() { |
||||
|
return endDate3; |
||||
|
} |
||||
|
|
||||
|
public void setEndDate3(Date endDate3) { |
||||
|
this.endDate3 = endDate3; |
||||
|
} |
||||
|
|
||||
|
public String getPlanStatus() { |
||||
|
return planStatus; |
||||
|
} |
||||
|
|
||||
|
public void setPlanStatus(String planStatus) { |
||||
|
this.planStatus = planStatus; |
||||
|
} |
||||
|
|
||||
|
public Date getOrderDate() { |
||||
|
return orderDate; |
||||
|
} |
||||
|
|
||||
|
public void setOrderDate(Date orderDate) { |
||||
|
this.orderDate = orderDate; |
||||
|
} |
||||
|
|
||||
|
|
||||
|
} |
||||
@ -0,0 +1,224 @@ |
|||||
|
package com.heai.modules.production.entity; |
||||
|
|
||||
|
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
|
import org.apache.ibatis.annotations.Param; |
||||
|
import org.apache.ibatis.type.Alias; |
||||
|
import org.springframework.format.annotation.DateTimeFormat; |
||||
|
|
||||
|
import java.util.Date; |
||||
|
@Alias("WorkCenterData") |
||||
|
public class WorkCenterData { |
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String site; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String workCenterNo; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String workCenterDesc; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String workCenterTypeDb; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String workCenterType; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Double averageCapacity; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Double efficiency; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private Double utilization; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String capacityTypeDb; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String capacityType; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String umid; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String active; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String remark; |
||||
|
private String operatorID; |
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
||||
|
private Date createdDate; |
||||
|
|
||||
|
/** |
||||
|
* |
||||
|
*/ |
||||
|
private String proLineNo; |
||||
|
private String user; |
||||
|
public String getSite() { |
||||
|
return site; |
||||
|
} |
||||
|
|
||||
|
public void setSite(String site) { |
||||
|
this.site = site; |
||||
|
} |
||||
|
|
||||
|
public String getWorkCenterNo() { |
||||
|
return workCenterNo; |
||||
|
} |
||||
|
|
||||
|
public void setWorkCenterNo(String workCenterNo) { |
||||
|
this.workCenterNo = workCenterNo; |
||||
|
} |
||||
|
|
||||
|
public String getWorkCenterDesc() { |
||||
|
return workCenterDesc; |
||||
|
} |
||||
|
|
||||
|
public void setWorkCenterDesc(String workCenterDesc) { |
||||
|
this.workCenterDesc = workCenterDesc; |
||||
|
} |
||||
|
|
||||
|
public String getWorkCenterTypeDb() { |
||||
|
return workCenterTypeDb; |
||||
|
} |
||||
|
|
||||
|
public void setWorkCenterTypeDb(String workCenterTypeDb) { |
||||
|
this.workCenterTypeDb = workCenterTypeDb; |
||||
|
} |
||||
|
|
||||
|
public String getWorkCenterType() { |
||||
|
return workCenterType; |
||||
|
} |
||||
|
|
||||
|
public void setWorkCenterType(String workCenterType) { |
||||
|
this.workCenterType = workCenterType; |
||||
|
} |
||||
|
|
||||
|
public Double getAverageCapacity() { |
||||
|
return averageCapacity; |
||||
|
} |
||||
|
|
||||
|
public void setAverageCapacity(Double averageCapacity) { |
||||
|
this.averageCapacity = averageCapacity; |
||||
|
} |
||||
|
|
||||
|
public Double getEfficiency() { |
||||
|
return efficiency; |
||||
|
} |
||||
|
|
||||
|
public void setEfficiency(Double efficiency) { |
||||
|
this.efficiency = efficiency; |
||||
|
} |
||||
|
|
||||
|
public Double getUtilization() { |
||||
|
return utilization; |
||||
|
} |
||||
|
|
||||
|
public void setUtilization(Double utilization) { |
||||
|
this.utilization = utilization; |
||||
|
} |
||||
|
|
||||
|
public String getCapacityTypeDb() { |
||||
|
return capacityTypeDb; |
||||
|
} |
||||
|
|
||||
|
public void setCapacityTypeDb(String capacityTypeDb) { |
||||
|
this.capacityTypeDb = capacityTypeDb; |
||||
|
} |
||||
|
|
||||
|
public String getCapacityType() { |
||||
|
return capacityType; |
||||
|
} |
||||
|
|
||||
|
public void setCapacityType(String capacityType) { |
||||
|
this.capacityType = capacityType; |
||||
|
} |
||||
|
|
||||
|
public String getUmid() { |
||||
|
return umid; |
||||
|
} |
||||
|
|
||||
|
public void setUmid(String umid) { |
||||
|
this.umid = umid; |
||||
|
} |
||||
|
|
||||
|
public String getActive() { |
||||
|
return active; |
||||
|
} |
||||
|
|
||||
|
public void setActive(String active) { |
||||
|
this.active = active; |
||||
|
} |
||||
|
|
||||
|
public String getRemark() { |
||||
|
return remark; |
||||
|
} |
||||
|
|
||||
|
public void setRemark(String remark) { |
||||
|
this.remark = remark; |
||||
|
} |
||||
|
|
||||
|
public Date getCreatedDate() { |
||||
|
return createdDate; |
||||
|
} |
||||
|
|
||||
|
public void setCreatedDate(Date createdDate) { |
||||
|
this.createdDate = createdDate; |
||||
|
} |
||||
|
|
||||
|
public String getProLineNo() { |
||||
|
return proLineNo; |
||||
|
} |
||||
|
|
||||
|
public void setProLineNo(String proLineNo) { |
||||
|
this.proLineNo = proLineNo; |
||||
|
} |
||||
|
|
||||
|
public String getOperatorID() { |
||||
|
return operatorID; |
||||
|
} |
||||
|
|
||||
|
public void setOperatorID(String operatorID) { |
||||
|
this.operatorID = operatorID; |
||||
|
} |
||||
|
|
||||
|
public String getUser() { |
||||
|
return user; |
||||
|
} |
||||
|
|
||||
|
public void setUser(String user) { |
||||
|
this.user = user; |
||||
|
} |
||||
|
} |
||||
|
|
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue