保誠-保戶業務員媒合平台
wayne
2022-01-26 6fa4bba623713c396432ba8b863846883d6a1906
pamapi/src/main/java/com/pollex/pam/service/mapper/AppointmentMapper.java
@@ -13,7 +13,7 @@
import com.pollex.pam.enums.SatisfactionStatusEnum;
import com.pollex.pam.repository.AppointmentRepository;
import com.pollex.pam.service.dto.AppointmentDTO;
import com.pollex.pam.service.dto.SatisfactionCustomerCreateDTO;
import com.pollex.pam.service.dto.SatisfactionCustomerScoreDTO;
@Service
public class AppointmentMapper {
@@ -37,6 +37,7 @@
        target.setAppointmentId(appointment.getId());
      target.setAgentNo(appointment.getAgentNo());
      target.setCustomerId(appointment.getCustomerId());
      target.setStatus(SatisfactionStatusEnum.UNFILLED);
      return target;
   }