| | |
| | | import java.util.List; |
| | | |
| | | import com.pollex.pam.enums.SatisfactionTypeEnum; |
| | | import com.pollex.pam.service.dto.SatisfactionSystemScoreDTO; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | } |
| | | log.error("Not has agent code and customer id"); |
| | | throw new IllegalArgumentException("Not has agent code and customer id"); |
| | | } |
| | | |
| | | @PostMapping("/system/score") |
| | | public Satisfaction fillSystemSatisfaction(@RequestBody SatisfactionSystemScoreDTO scoreDTO) { |
| | | return satisfactionService.fillSystemSatisfaction(scoreDTO); |
| | | } |
| | | } |