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
<?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.DpUnitSupplyTimeMapper">
 
    <!-- 通用查询映射结果 -->
    <resultMap id="BaseResultMap" type="com.ruoyi.manage.domain.DpUnitSupplyTime">
        <id column="ID" property="id" />
        <result column="UNIT" property="unit" />
        <result column="CATEGORY" property="category" />
        <result column="SUPPLY_TIME" property="supplyTime" />
        <result column="SHIP_DESIGN" property="shipDesign" />
    </resultMap>
 
    <!-- 通用查询结果列 -->
    <sql id="Base_Column_List">
        ID, UNIT, CATEGORY, SUPPLY_TIME, SHIP_DESIGN
    </sql>
 
    <select id="getTotal" resultType="java.lang.Integer">
        select count(1) from DP_UNIT_SUPPLY_TIME
    </select>
 
    <select id="getPageList" resultType="com.ruoyi.manage.domain.DpUnitSupplyTime">
        select * from DP_UNIT_SUPPLY_TIME
        order by ID DESC limit #{pageSize} offset #{offset}
    </select>
 
</mapper>