diff --git a/src/main/java/com/glxp/api/controller/purchase/IoPurChangeService.java b/src/main/java/com/glxp/api/controller/purchase/IoPurChangeService.java index a0d4f4b78..21a48fb43 100644 --- a/src/main/java/com/glxp/api/controller/purchase/IoPurChangeService.java +++ b/src/main/java/com/glxp/api/controller/purchase/IoPurChangeService.java @@ -131,6 +131,7 @@ public class IoPurChangeService { purPlanEntity.setApplyBillNo(purApplyEntity.getBillNo()); purPlanEntity.setApplyRemark(purApplyEntity.getRemark()); purPlanEntity.setPageType(purApplyEntity.getPageType()); + purPlanEntity.setProductType(purApplyEntity.getProductType()); if (basicBusTypeChangeEntity.getBusBeforeTime() != null) { purPlanEntity.setCreateTime(MsDateUtil.timeProcess(purApplyEntity.getCreateTime(), basicBusTypeChangeEntity.getBusBeforeTime())); purPlanEntity.setUpdateTime(MsDateUtil.timeProcess(purApplyEntity.getCreateTime(), basicBusTypeChangeEntity.getBusBeforeTime())); @@ -240,6 +241,7 @@ public class IoPurChangeService { purOrderEntity.setBillType(ConstantStatus.BUS_ORDER_CGDD); purOrderEntity.setPurPlanId(purPlanEntity.getBillNo()); purOrderEntity.setPageType(purPlanEntity.getPageType()); + purOrderEntity.setProductType(purPlanEntity.getProductType()); if (basicBusTypeChangeEntity.getBusBeforeTime() != null) { purOrderEntity.setCreateTime(MsDateUtil.timeProcess(new Date(), basicBusTypeChangeEntity.getBusBeforeTime())); purOrderEntity.setUpdateTime(new Date()); diff --git a/src/main/java/com/glxp/api/res/purchase/PurApplyResponse.java b/src/main/java/com/glxp/api/res/purchase/PurApplyResponse.java index 7ef0c94a3..161ece164 100644 --- a/src/main/java/com/glxp/api/res/purchase/PurApplyResponse.java +++ b/src/main/java/com/glxp/api/res/purchase/PurApplyResponse.java @@ -97,4 +97,5 @@ public class PurApplyResponse { private Integer pageType; + private Integer productType; }