| | |
| | | |
| | | @Autowired |
| | | SatisfactionService satisfactionService; |
| | | |
| | | |
| | | @Autowired |
| | | ConsultantDTOMapper consultantDTOMapper; |
| | | |
| | | |
| | | @Autowired |
| | | ApplicationProperties applicationProperty; |
| | | |
| | |
| | | customerFavoriteConsultantRepository.saveAll(notViewRelation); |
| | | } |
| | | |
| | | public Consultant findByAgentNo(String agentNo) { |
| | | return consultantRepository.findOneByAgentNo(agentNo).get(); |
| | | } |
| | | |
| | | public Consultant editConsultant(ConsultantEditDTO editDTO) { |
| | | Consultant consultant = consultantRepository.findOneByAgentNo(editDTO.getAgentNo()) |
| | | .orElseThrow(ConsultantNotFoundException::new); |