package com.qianwen.smartman.modules.mdc.service; import com.baomidou.mybatisplus.extension.service.IService; import java.time.LocalDate; import java.util.List; import com.qianwen.smartman.common.constant.ExtCacheConstant; import com.qianwen.smartman.modules.mdc.dto.WorkstationNoImmediateFeedBackDTO; import com.qianwen.smartman.modules.mdc.entity.WorkstationFeedbackDetail; import org.springframework.cache.annotation.Cacheable; public interface IWorkstationFeedbackDetailService extends IService { @Cacheable(cacheNames = {ExtCacheConstant.WORK_FEEDBACK_DETAIL}, key = "'list:cancel:workstationId:'.concat(#workstationId).concat(':').concat(#queryDate.toString())") List cancelFeedback(final LocalDate queryDate, final Long workstationId); /** * 批量撤销反馈 * @param ids * @return */ boolean cancelWorkstationFeedbacks(final List ids); WorkstationFeedbackDetail latestFeedbackByWorkstationId(final Long workstationId); long toDayHaveFeedbackCount(Long workstationId); List todayFeedback(final Long workstationId); boolean overwriteFeedbackCheck(WorkstationNoImmediateFeedBackDTO noImmediateFeedBackDTO); }