package com.gkhy.safePlatform.specialWork.repository; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.gkhy.safePlatform.specialWork.entity.ApprovalRuleItemStand; import com.gkhy.safePlatform.specialWork.entity.ApprovalRuleItemStandDO; import com.gkhy.safePlatform.specialWork.model.query.db.ApprovalRuleStandListDBQuery; import com.gkhy.safePlatform.specialWork.model.update.EntityStatusBatchUO; import com.gkhy.safePlatform.specialWork.model.query.db.ApprovalRuleStandPageDBQuery; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.List; import java.util.Set; @Repository public interface ApprovalRuleItemStandRepository extends BaseMapper { ApprovalRuleItemStandDO getRuleStandDOById(@Param("ruleStandId") Long ruleStandId,@Param("status")Byte status); List listRuleStandDO(@Param("query") ApprovalRuleStandListDBQuery dbQuery); List listRuleStandByPage(Page page, @Param("query") ApprovalRuleStandPageDBQuery dbQuery); int updateStatusBatch(EntityStatusBatchUO batchDeleteObj); List listStandId(Byte status); List listItemStandByIds(Set standIds); }