| | |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.pollex.pam.aop.logging.audit.AuditLoggingInject; |
| | | import com.pollex.pam.aop.logging.audit.AuditLoggingType; |
| | | import com.pollex.pam.enums.SatisfactionTypeEnum; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | |
| | | @Autowired |
| | | SatisfactionService satisfactionService; |
| | | |
| | | @AuditLoggingInject(type = AuditLoggingType.CUSTOMER_FILL_SATISFACTION) |
| | | @PostMapping("/score") |
| | | public Satisfaction scorefaction(@RequestBody SatisfactionCustomerScoreDTO scoreDTO) { |
| | | return satisfactionService.scorefaction(scoreDTO); |
| | | } |
| | | |
| | | @PostMapping("/score/all") |
| | | @AuditLoggingInject(type = AuditLoggingType.CUSTOMER_FILL_SATISFACTION) |
| | | @PostMapping("/score/all") |
| | | public List<Satisfaction> scoreAllfaction(@RequestBody List<SatisfactionCustomerScoreDTO> scoreDTO) { |
| | | return satisfactionService.scoreAllfaction(scoreDTO); |
| | | } |