双重预防项目-国泰新华二开定制版
kongzy
2024-08-14 135a322f44708b1187d37ea4b6859b5d82113e89
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(@Param("preventOverhaulLog") PreventOverhaulLog preventOverhaulLog);
    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);
}