Commit 993dc81c by liyanlin

增加typeId

parent 4c7f9111
...@@ -37,6 +37,9 @@ public class ScheduleManageDTOAssembler implements Function<ScheduleManage, Sche ...@@ -37,6 +37,9 @@ public class ScheduleManageDTOAssembler implements Function<ScheduleManage, Sche
public ScheduleServeDTO apply(ScheduleServe scheduleServe) { public ScheduleServeDTO apply(ScheduleServe scheduleServe) {
ScheduleServeDTO scheduleServeDTO = new ScheduleServeDTO(); ScheduleServeDTO scheduleServeDTO = new ScheduleServeDTO();
BeanUtils.copyProperties(scheduleServe, scheduleServeDTO); BeanUtils.copyProperties(scheduleServe, scheduleServeDTO);
if(scheduleServe.getServe() != null) {
scheduleServeDTO.setTypeId(scheduleServe.getServe().getTypeId());
}
if (scheduleServe.getOwnProduce() != null) { if (scheduleServe.getOwnProduce() != null) {
scheduleServeDTO.setOwnProduce(scheduleServe.getOwnProduce()); scheduleServeDTO.setOwnProduce(scheduleServe.getOwnProduce());
} }
......
...@@ -83,6 +83,9 @@ public class ScheduleServeDTO implements Serializable { ...@@ -83,6 +83,9 @@ public class ScheduleServeDTO implements Serializable {
private BigDecimal discountRate; private BigDecimal discountRate;
@ApiModelProperty("服务类型ID")
private Integer typeId;
/** /**
* 预约款式vo * 预约款式vo
*/ */
......
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