diff --git a/coolstore-partner-model/src/main/java/com/cool/store/request/ConstructionRequest.java b/coolstore-partner-model/src/main/java/com/cool/store/request/ConstructionRequest.java index 90e2001da..f9e923b96 100644 --- a/coolstore-partner-model/src/main/java/com/cool/store/request/ConstructionRequest.java +++ b/coolstore-partner-model/src/main/java/com/cool/store/request/ConstructionRequest.java @@ -15,9 +15,9 @@ public class ConstructionRequest { private Long shopId; @ApiModelProperty("装修计划开始时间") - private Long planStartTime; + private Long constructionPlanStartTime; @ApiModelProperty("装修计划结束时间") - private Long planEndTime; + private Long constructionPlanEndTime; @ApiModelProperty("装修附件") private String constructionAnnex; @ApiModelProperty("装修备注") diff --git a/coolstore-partner-service/src/main/java/com/cool/store/service/impl/DecorationServiceImpl.java b/coolstore-partner-service/src/main/java/com/cool/store/service/impl/DecorationServiceImpl.java index 1996ead73..fe3c46920 100644 --- a/coolstore-partner-service/src/main/java/com/cool/store/service/impl/DecorationServiceImpl.java +++ b/coolstore-partner-service/src/main/java/com/cool/store/service/impl/DecorationServiceImpl.java @@ -587,8 +587,8 @@ public class DecorationServiceImpl implements DecorationService { DecorationDesignInfoDO decoration = decorationDesignInfoDAO.getByShopId(request.getShopId()); decoration.setConstructionAnnex(request.getConstructionAnnex()); decoration.setConstructionRemark(request.getConstructionRemark()); - decoration.setConstructionPlanStartTime(new Date(request.getPlanStartTime())); - decoration.setConstructionPlanEndTime(new Date(request.getPlanEndTime())); + decoration.setConstructionPlanStartTime(new Date(request.getConstructionPlanStartTime())); + decoration.setConstructionPlanEndTime(new Date(request.getConstructionPlanEndTime())); decoration.setConstructionCreateTime(new Date()); decoration.setConstructionCreateUser(user.getUserId()); decorationDesignInfoDAO.updateByPrimaryKeySelective(decoration);