package com.gkhy.safePlatform.doublePrevention.repository;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.gkhy.safePlatform.doublePrevention.entity.PreventDangerManageTimeout;
|
import org.springframework.stereotype.Repository;
|
|
@Repository
|
public interface PreventDangerManageTimeoutRepository extends BaseMapper<PreventDangerManageTimeout> {
|
/**
|
* 延期
|
* */
|
int manageTimeout(PreventDangerManageTimeout manageTimeout);
|
/**
|
* 延期状态-根据dangerManagerId查询
|
* */
|
PreventDangerManageTimeout getByManageId(Long dangerManagerId);
|
/**
|
* 延期状态-根据RectifyId查询
|
* */
|
PreventDangerManageTimeout getByRectifyId(Long rectifyId);
|
}
|