| | |
| | | */ |
| | | package org.sxkj.fw.device.mapper; |
| | | |
| | | import org.sxkj.fw.device.dto.FwDeviceMaintainRecordDTO; |
| | | import org.sxkj.fw.device.entity.FwDeviceMaintainRecordEntity; |
| | | import org.sxkj.fw.device.vo.FwDeviceMaintainRecordVO; |
| | | import org.sxkj.fw.device.excel.FwDeviceMaintainRecordExcel; |
| | |
| | | * 设备维护记录表 Mapper 接口 |
| | | * |
| | | * @author lw |
| | | * @since 2026-01-07 |
| | | * @since 2026-01-08 |
| | | */ |
| | | public interface FwDeviceMaintainRecordMapper extends BaseMapper<FwDeviceMaintainRecordEntity> { |
| | | |
| | | /** |
| | | * 查询最新一条维修记录 |
| | | * @param planId 设备维护计划ID |
| | | */ |
| | | FwDeviceMaintainRecordVO selectLastOne(@Param("planId") Long planId); |
| | | |
| | | /** |
| | | * 自定义分页 |
| | |
| | | * @param fwDeviceMaintainRecord |
| | | * @return |
| | | */ |
| | | List<FwDeviceMaintainRecordVO> selectFwDeviceMaintainRecordPage(IPage page, FwDeviceMaintainRecordVO fwDeviceMaintainRecord); |
| | | List<FwDeviceMaintainRecordVO> selectFwDeviceMaintainRecordPage(IPage page, FwDeviceMaintainRecordDTO fwDeviceMaintainRecord); |
| | | |
| | | |
| | | /** |