| | |
| | | package com.matrix.system.app.mapper; |
| | | |
| | | import com.matrix.system.app.dto.CreateServiceOrderItemDto; |
| | | import com.matrix.system.app.vo.ServiceOrderDetailItemVo; |
| | | import com.matrix.system.hive.bean.SysBeauticianState; |
| | | import org.mapstruct.Mapper; |
| | | import org.mapstruct.Mapping; |
| | | import org.mapstruct.factory.Mappers; |
| | | |
| | | import java.util.List; |
| | |
| | | |
| | | public abstract List<SysBeauticianState> orderItmesVoToEntityList(List<CreateServiceOrderItemDto> dtoList); |
| | | |
| | | @Mapping(source = "projUse.price", target = "price") |
| | | @Mapping(source = "projInfo.name", target = "name") |
| | | @Mapping(source = "projInfo.timeLength", target = "timeLength") |
| | | @Mapping(source = "beautiStaffInfo.suName", target = "beautyName") |
| | | @Mapping(source = "extract", target = "commission") |
| | | public abstract ServiceOrderDetailItemVo entityToDetailItemVo(SysBeauticianState sysBeauticianState); |
| | | |
| | | public abstract List<ServiceOrderDetailItemVo> entitiesToDetailItemsVo(List<SysBeauticianState> list); |
| | | |
| | | } |