双重预防项目-国泰新华二开定制版
heheng
2024-11-15 9015e720487b737743232b0b3aa464c2ac9e8d17
src/main/java/com/ruoyi/doublePrevention/repository/PreventOverhaulLogRepository.java
@@ -1,29 +1,29 @@
package com.ruoyi.doublePrevention.repository;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.doublePrevention.entity.PreventOverhaulLog;
import com.ruoyi.doublePrevention.entity.dto.req.PreventOverhaulLogReqBO;
import com.ruoyi.doublePrevention.entity.dto.req.PreventOverhaulLogUpdateReqBO;
import com.ruoyi.doublePrevention.repository.param.HandlerReportParam;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interface PreventOverhaulLogRepository extends BaseMapper<PreventOverhaulLog> {
    List<PreventOverhaulLog> selectOverhaulLogPage(@Param("overhaulLogReqBO") PreventOverhaulLogReqBO overhaulLogReqBO);
    int savePreventOverhaulLog(PreventOverhaulLog preventOverhaulLog);
    PreventOverhaulLog getOverhaulLogById(Long id);
    int updateOverhaulLog(PreventOverhaulLogUpdateReqBO updateReqBO);
    int deleteOverhaulLogByIds(String[] ids);
    List<PreventOverhaulLog> listReportOverhaulLog();
    int updateOverhaulReportStatus(HandlerReportParam handlerReportParam);
}
package com.ruoyi.doublePrevention.repository;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.doublePrevention.entity.PreventOverhaulLog;
import com.ruoyi.doublePrevention.entity.dto.req.PreventOverhaulLogReqBO;
import com.ruoyi.doublePrevention.entity.dto.req.PreventOverhaulLogUpdateReqBO;
import com.ruoyi.doublePrevention.repository.param.HandlerReportParam;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interface PreventOverhaulLogRepository extends BaseMapper<PreventOverhaulLog> {
    List<PreventOverhaulLog> selectOverhaulLogPage(@Param("overhaulLogReqBO") PreventOverhaulLogReqBO overhaulLogReqBO);
    int savePreventOverhaulLog(PreventOverhaulLog preventOverhaulLog);
    PreventOverhaulLog getOverhaulLogById(Long id);
    int updateOverhaulLog(@Param("preventOverhaulLog") PreventOverhaulLog preventOverhaulLog);
    int deleteOverhaulLogByIds(String[] ids);
    List<PreventOverhaulLog> listReportOverhaulLog();
    int updateOverhaulReportStatus(HandlerReportParam handlerReportParam);
}