Commit 9e012b3e by huluobin

update

parent 1866c01f
...@@ -294,6 +294,20 @@ public class OrderManageServiceImpl extends ServiceImpl<OrderManageMapper, Order ...@@ -294,6 +294,20 @@ public class OrderManageServiceImpl extends ServiceImpl<OrderManageMapper, Order
else { else {
//服务时长=服务时长 //服务时长=服务时长
orderServe.setServeDuration(baseServe.getServiceDuration()); orderServe.setServeDuration(baseServe.getServiceDuration());
orderServe.setProduceBargainPrice(null);
//款式现价
orderServe.setProduceCurrentPrice(null);
//款式Id
orderServe.setProduceId(null);
//款式名称
orderServe.setProduceName(null);
//款式图片
orderServe.setProducePicturePath(null);
orderServe.setProducePromotionTimeId(null);
orderServe.setPromotionPrice(null);
} }
if (orderServeParam.getServeChangePrice() != null) { if (orderServeParam.getServeChangePrice() != null) {
......
...@@ -336,16 +336,6 @@ public class ScheduleManageServiceImpl extends ServiceImpl<ScheduleManageMapper, ...@@ -336,16 +336,6 @@ public class ScheduleManageServiceImpl extends ServiceImpl<ScheduleManageMapper,
}) })
.collect(Collectors.toList()); .collect(Collectors.toList());
//
// for (IdleTimeDTO idleTimeDTO : idleTimeDTOList) {
// List<ScheduleServeQuery> scheduleServeQueryList = idleTimeDTO.getDefaultNodeList().stream().map(TreeProgram::getScheduleServeQuery).collect(Collectors.toList());
// for (ScheduleServeQuery scheduleServeQuery : scheduleServeQueryList) {
// if (this.isLeisureTime(idleTimeDTO.getTime(), idleTimeDTO.getDateTime(), scheduleServeQuery.getServeId())) {
// //闲时打折
// idleTimeDTO.setIsLeisureDiscount(1);
// }
// }
// }
return idleTimeDTOList; return idleTimeDTOList;
} }
......
package com.gogirl.domain.order.serve; package com.gogirl.domain.order.serve;
import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonFormat;
import com.gogirl.domain.product.serve.BaseProduce; import com.gogirl.domain.product.serve.BaseProduce;
import com.gogirl.domain.product.serve.BaseServe; import com.gogirl.domain.product.serve.BaseServe;
...@@ -78,17 +75,27 @@ public class OrderServe implements Serializable { ...@@ -78,17 +75,27 @@ public class OrderServe implements Serializable {
private String serveType; private String serveType;
private Integer serveTypeId; private Integer serveTypeId;
/** /**
* 预约款式vo * 预约款式vo
*/ */
@TableField(strategy = FieldStrategy.IGNORED)
@ApiModelProperty("预约款式id") @ApiModelProperty("预约款式id")
private Integer produceId; private Integer produceId;
@TableField(strategy = FieldStrategy.IGNORED)
@ApiModelProperty("款式名称") @ApiModelProperty("款式名称")
private String produceName; private String produceName;
@TableField(strategy = FieldStrategy.IGNORED)
@ApiModelProperty("款式图片地址") @ApiModelProperty("款式图片地址")
private String producePicturePath; private String producePicturePath;
@TableField(strategy = FieldStrategy.IGNORED)
@ApiModelProperty("款式当前价格") @ApiModelProperty("款式当前价格")
private BigDecimal produceCurrentPrice; private BigDecimal produceCurrentPrice;
@TableField(strategy = FieldStrategy.IGNORED)
@ApiModelProperty("款式特价") @ApiModelProperty("款式特价")
private BigDecimal produceBargainPrice; private BigDecimal produceBargainPrice;
/** /**
...@@ -186,13 +193,16 @@ public class OrderServe implements Serializable { ...@@ -186,13 +193,16 @@ public class OrderServe implements Serializable {
private Integer actualServeDuration; private Integer actualServeDuration;
@ApiModelProperty("服务配置时长") @ApiModelProperty("服务配置时长")
@TableField(strategy = FieldStrategy.IGNORED)
private Integer serveDuration; private Integer serveDuration;
@ApiModelProperty("是否已经被卡券或者次卡折扣过 1-已经绑定了次卡或者优惠券 2-未绑定") @ApiModelProperty("是否已经被卡券或者次卡折扣过 1-已经绑定了次卡或者优惠券 2-未绑定")
private Integer bindCoupon = 2; private Integer bindCoupon = 2;
@TableField(strategy = FieldStrategy.IGNORED)
private BigDecimal promotionPrice; private BigDecimal promotionPrice;
@TableField(strategy = FieldStrategy.IGNORED)
private Integer producePromotionTimeId; private Integer producePromotionTimeId;
private BigDecimal discountRate; private BigDecimal discountRate;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment