Package com.bytedesk.core.quality
Interface QualityService
- All Known Implementing Classes:
QualityServiceImpl
public interface QualityService
-
Method Summary
Modifier and TypeMethodDescriptionvoid
autoInspectThread
(String threadUid) createInspection
(String threadUid, String inspectorUid) createRule
(QualityRuleDTO dto) void
deleteInspection
(Long inspectionId) void
deleteRule
(Long ruleId) getAverageScore
(String agentUid, LocalDateTime startTime, LocalDateTime endTime) getInspection
(Long inspectionId) org.springframework.data.domain.Page<QualityInspectionEntity>
getInspections
(org.springframework.data.domain.Pageable pageable) org.springframework.data.domain.Page<QualityInspectionEntity>
getInspectionsByAgent
(String agentUid, org.springframework.data.domain.Pageable pageable) org.springframework.data.domain.Page<QualityInspectionEntity>
getInspectionsByInspector
(String inspectorUid, org.springframework.data.domain.Pageable pageable) getLowScoreInspections
(Integer threshold) getRules()
getScoreDistribution
(String agentUid) void
updateInspection
(Long inspectionId, QualityInspectionDTO dto) updateRule
(Long ruleId, QualityRuleDTO dto)
-
Method Details
-
createInspection
-
updateInspection
-
deleteInspection
-
getInspection
-
getInspections
org.springframework.data.domain.Page<QualityInspectionEntity> getInspections(org.springframework.data.domain.Pageable pageable) -
getInspectionsByAgent
org.springframework.data.domain.Page<QualityInspectionEntity> getInspectionsByAgent(String agentUid, org.springframework.data.domain.Pageable pageable) -
getInspectionsByInspector
org.springframework.data.domain.Page<QualityInspectionEntity> getInspectionsByInspector(String inspectorUid, org.springframework.data.domain.Pageable pageable) -
getAverageScore
-
getScoreDistribution
-
getLowScoreInspections
-
createRule
-
updateRule
-
deleteRule
-
getRules
List<QualityRuleEntity> getRules() -
autoInspectThread
-
scheduleAutoInspection
void scheduleAutoInspection()
-