package com.gkhy.safePlatform.specialWork.service.baseService; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.service.IService; import com.gkhy.safePlatform.specialWork.entity.WorkApplyCountDO; import com.gkhy.safePlatform.specialWork.entity.WorkApplyInfo; import com.gkhy.safePlatform.specialWork.entity.WorkApplyReportableDO; import com.gkhy.safePlatform.specialWork.enums.WorkApplyStatusEnum; import com.gkhy.safePlatform.specialWork.model.bo.WorkApplyPendingInfoBO; import com.gkhy.safePlatform.specialWork.model.query.db.AllWorkApplyPageDBQuery; import com.gkhy.safePlatform.specialWork.model.query.db.WorkApplyApplyingPageDBQuery; import com.gkhy.safePlatform.specialWork.model.query.db.WorkApplyPendingPageDBQuery; import com.gkhy.safePlatform.specialWork.model.query.db.WorkProcessWorkApplyDBQuery; import java.util.List; public interface WorkApplyInfoService extends IService { void saveWorkApplyInfo(WorkApplyInfo applyEntity); void updateStatusById(Long workApplyId, WorkApplyStatusEnum statusEnum); List listWorkApplyInfoByPage(Page page, WorkApplyApplyingPageDBQuery dbQuery); List listPendingWorkApplyInfo(Page page, WorkApplyPendingPageDBQuery dbQuery); WorkApplyInfo getWorkApprovalByApprovalUid(Long workApplyId, Long approvalUid); int countWorkApplyInfo(); void updateApprovalStepIdById(Long id, Long nextStepId); WorkApplyInfo getApplyInfoByWorkPermitNo(String workPermitNo); List listReportableWorkApply(WorkProcessWorkApplyDBQuery dbQuery); List listAllWorkApplyByPage(Page page, AllWorkApplyPageDBQuery dbQuery); List getWorkApplyCountByDep(); void finishStepById(Long id); }