13693261870
2025-07-02 6708810c4de34dfb9513061432d656f91d56ee3a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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;
 
/**
 * <p>
 * 舰艇设备表 Mapper 接口
 * </p>
 *
 * @author sunjiawei
 * @since 2025-03-12
 */
@Mapper
public interface DpShipDeviceMapper extends BaseMapper<DpShipDevice> {
    //新增舰船设备数据
    int insertDpShipDevice(DpShipDevice dpShipDevice);
    //更新舰船设备数据
    int updateDpShipDevice(DpShipDevice dpShipDevice);
    //删除舰船设备数据
    int deleteDpShipDevice(String id);
    //获取舰船设备数据列表
    List<DpShipDevice> getDpShipDevices();
    //根据舰船编号查询设备列表
    List<DpShipDevice> selectDpShipDeviceByShipId(String deviceShipId);
 
    //根据ID获取舰船设备数据
    DpShipDevice selectDpShipDevice(String id);
 
    //根据name获取舰船设备数据
    DpShipDevice selectDpShipDeviceByName(String name);
 
    List<DpShipDevice> getPageList(DpShipDevice shipDevice);
 
    long getTotal(DpShipDevice shipDevice);
}