| | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.doublePrevention.entity.PreventRiskControlMeasure; |
| | | import com.ruoyi.doublePrevention.repository.param.HandlerReportParam; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.util.List; |
| | | |
| | | public interface PreventRiskControlMeasureService extends IService<PreventRiskControlMeasure> { |
| | | public interface PreventRiskControlMeasureService { |
| | | |
| | | |
| | | /** |
| | | * @description 新增风险控制措施 |
| | | */ |
| | | int savePreventRiskControlMeasure(PreventRiskControlMeasure preventRiskControlMeasure); |
| | | |
| | | /** |
| | | * @description 根据主键id查询风险控制措施 |
| | | */ |
| | | PreventRiskControlMeasure getPreventRiskControlMeasureById(Long id); |
| | | |
| | | /** |
| | | * @description 根据主键id删除风险控制措施 |
| | | */ |
| | | int deletePreventRiskControlMeasureById(PreventRiskControlMeasure preventRiskControlMeasure); |
| | | |
| | | /** |
| | | * @description 根据主键id对风险控制措施进行修改 |
| | | */ |
| | | int updatePreventRiskControlMeasureById(PreventRiskControlMeasure preventRiskControlMeasure); |
| | | |
| | | /** |
| | | * @description 根据控制措施编号查询风险控制措施 |
| | | */ |
| | | PreventRiskControlMeasure getPreventRiskControlMeasureByControlMeasureCode(String controlMeasureCode); |
| | | |
| | | /** |
| | | * @description 分页获取风险管控措施 |
| | | */ |
| | | List<PreventRiskControlMeasure> listRiskControlMeasureByCondition(Byte controlType, Long riskEventId); |
| | | |
| | | |
| | | |
| | | /** |
| | | * 检索需要上报的风险管控措施 |
| | | */ |
| | | List<PreventRiskControlMeasure> listReportMeasure(); |
| | | /** |
| | | * 修改上报的风险管控措施状态 |
| | | */ |
| | | void updateMeasureReportStatus(HandlerReportParam handlerReportParam); |
| | | |
| | | /** |
| | | * 管控措施-不分页查询 |
| | | */ |
| | | List<PreventRiskControlMeasure> listRiskControlMeasure(); |
| | | |
| | | PreventRiskControlMeasure getPreventRiskControlMeasureByUuid(String riskMeasureId); |
| | | } |