package com.gkhy.safePlatform.specialWork.repository; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.gkhy.safePlatform.specialWork.entity.WorkApprovalStepInfo; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.time.LocalDateTime; import java.util.List; @Repository public interface WorkApprovalStepInfoRepository extends BaseMapper { int insertBatch(@Param("list") List ruleStepEntities); List listApprovalRuleStepByWorkApplyId(Long workApplyId); int updateStatusById(Long stepId, Byte result); int updateFinishApprovalTimeById(Long stepId, LocalDateTime finishTime); int updateStartApprovalTimeById(Long stepId, LocalDateTime startTime); }