package com.ruoyi.manage.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.ruoyi.manage.domain.DpShipDevice; import org.apache.ibatis.annotations.Mapper; import java.util.List; /** *

* 舰艇设备表 Mapper 接口 *

* * @author sunjiawei * @since 2025-03-12 */ @Mapper public interface DpShipDeviceMapper extends BaseMapper { //新增舰船设备数据 int insertDpShipDevice(DpShipDevice dpShipDevice); //更新舰船设备数据 int updateDpShipDevice(DpShipDevice dpShipDevice); //删除舰船设备数据 int deleteDpShipDevice(String id); //获取舰船设备数据列表 List getDpShipDevices(); //根据舰船编号查询设备列表 List selectDpShipDeviceByShipId(String deviceShipId); //根据ID获取舰船设备数据 DpShipDevice selectDpShipDevice(String id); //根据name获取舰船设备数据 DpShipDevice selectDpShipDeviceByName(String name); List getPageList(DpShipDevice shipDevice); long getTotal(DpShipDevice shipDevice); }