package com.ruoyi.doublePrevention.repository; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.ruoyi.doublePrevention.entity.PreventRiskUnitUuid; import org.springframework.stereotype.Repository; @Repository public interface PreventRiskUnitUuidRepository{ /** * 为设施设备清单附属表添加uuid * */ int insertUuid(PreventRiskUnitUuid riskUnitUuid); /** * 通过id获取uuid * */ PreventRiskUnitUuid getRiskUnitUuidById(Long id); /** * 修改 * */ int updateRiskUnitUuid(PreventRiskUnitUuid riskUnitUuid); /** * 删除附属表信息 */ int deleteRiskUnit(String[] riskListIds); }