diff --git a/aucma-production/src/main/java/com/aucma/production/domain/ProductPlanInfo.java b/aucma-production/src/main/java/com/aucma/production/domain/ProductPlanInfo.java
index 6c9be92..649ddee 100644
--- a/aucma-production/src/main/java/com/aucma/production/domain/ProductPlanInfo.java
+++ b/aucma-production/src/main/java/com/aucma/production/domain/ProductPlanInfo.java
@@ -140,6 +140,29 @@ public class ProductPlanInfo extends BaseEntity {
@Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date updatedTime;
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ @Excel(name = "计划开始日期", width = 30, dateFormat = "yyyy-MM-dd")
+ private Date planBeginTime;
+
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ @Excel(name = "计划完成日期", width = 30, dateFormat = "yyyy-MM-dd")
+ private Date planEndTime;
+
+ public Date getPlanBeginTime() {
+ return planBeginTime;
+ }
+
+ public void setPlanBeginTime(Date planBeginTime) {
+ this.planBeginTime = planBeginTime;
+ }
+
+ public Date getPlanEndTime() {
+ return planEndTime;
+ }
+
+ public void setPlanEndTime(Date planEndTime) {
+ this.planEndTime = planEndTime;
+ }
public String getStationCode() {
return stationCode;
diff --git a/aucma-production/src/main/resources/mapper/production/ProductPlanInfoMapper.xml b/aucma-production/src/main/resources/mapper/production/ProductPlanInfoMapper.xml
index 8909466..38546c6 100644
--- a/aucma-production/src/main/resources/mapper/production/ProductPlanInfoMapper.xml
+++ b/aucma-production/src/main/resources/mapper/production/ProductPlanInfoMapper.xml
@@ -25,6 +25,8 @@
+
+
@@ -47,10 +49,13 @@
pp.created_by,
pp.created_time,
pp.updated_by,
- pp.updated_time
+ pp.updated_time,
+ bo.BEGIN_DATE planBeginTime,
+ bo.END_DATE planEndTime
from product_planinfo pp
left join BASE_PRODUCTLINE st on st.PRODUCT_LINE_CODE = pp.productline_code
left join BASE_PRODUCTLINE pl on pl.PRODUCT_LINE_CODE = st.PARENT_ID
+ left join BASE_ORDERINFO bo on bo.ORDER_CODE = pp.ORDER_CODE