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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.manage.mapper.DpShipTypeMapper">
 
<!--    &lt;!&ndash; 通用查询映射结果 &ndash;&gt;-->
<!--    <resultMap id="BaseResultMap" type="com.ruoyi.manage.domain.DpShipType">-->
<!--        <id column="ID" property="id" />-->
<!--        <result column="TYPE_NAME" property="typeName" />-->
<!--        <result column="SHIP_OVERVIEW" property="shipOverview" />-->
<!--        <result column="SHIP_PARAMETERS" property="shipParameters" />-->
<!--        <result column="SHIP_MODEL" property="shipModel" />-->
<!--    </resultMap>-->
 
<!--    &lt;!&ndash; 通用查询结果列 &ndash;&gt;-->
<!--    <sql id="Base_Column_List">-->
<!--        ID, TYPE_NAME, SHIP_OVERVIEW, SHIP_PARAMETERS, SHIP_MODEL-->
<!--    </sql>-->
 
    <select id="getTotal" resultType="java.lang.Integer">
        select count(1) from DP_SHIP_TYPE
    </select>
 
    <select id="getPageList" resultType="com.ruoyi.manage.domain.DpShipType">
        select * from DP_SHIP_TYPE
        order by ID DESC limit #{pageSize} offset #{offset}
    </select>
 
 
</mapper>