From e08e0d877a40db15ff667337ee34c2c1ab219d1c Mon Sep 17 00:00:00 2001 From: Mila <Mila@pollex.com.tw> Date: 星期一, 10 一月 2022 12:06:58 +0800 Subject: [PATCH] update: TODO#133824 企業識別Logo調整 --- pamapi/src/main/java/com/pollex/pam/service/mapper/AppointmentCustomerViewMapper.java | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/pamapi/src/main/java/com/pollex/pam/service/mapper/AppointmentCustomerViewMapper.java b/pamapi/src/main/java/com/pollex/pam/service/mapper/AppointmentCustomerViewMapper.java index 185103a..a6f73c7 100644 --- a/pamapi/src/main/java/com/pollex/pam/service/mapper/AppointmentCustomerViewMapper.java +++ b/pamapi/src/main/java/com/pollex/pam/service/mapper/AppointmentCustomerViewMapper.java @@ -6,17 +6,19 @@ import org.springframework.beans.BeanUtils; import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; import com.pollex.pam.domain.AppointmentCustomerView; import com.pollex.pam.service.dto.AppointmentCustomerViewDTO; -import com.pollex.pam.service.dto.AppointmentDTO; @Service public class AppointmentCustomerViewMapper { + @Transactional public AppointmentCustomerViewDTO toAppointmentCustomerViewDTO(AppointmentCustomerView source) { AppointmentCustomerViewDTO target = new AppointmentCustomerViewDTO(); BeanUtils.copyProperties(source, target); + target.setAppointmentMemoList(source.getAppointmentMemoList()); return target; } -- Gitblit v1.8.0