xiangpei
2024-08-31 a5a5da73dec49c5cd23761edad8be98cde8a3b74
ycl-server/src/main/resources/mapper/zgyw/PlatformOnlineMapper.xml
@@ -14,8 +14,9 @@
    <select id="getById" resultMap="BaseResultMap">
        SELECT
            TPO.platform_name,
            TPO.platform_ip,
            TP.platform_name,
            TP.platform_ip,
            TP.area,
            TPO.create_date,
            TPO.today_outline_sed,
            TPO.update_time,
@@ -23,6 +24,7 @@
            TPO.id
        FROM
            t_platform_online TPO
                INNER JOIN t_platform TP ON TP.id = TPO.platform_id
        WHERE
            TPO.id = #{id} AND TPO.deleted = 0
    </select>
@@ -30,8 +32,9 @@
    <select id="getPage" resultMap="BaseResultMap">
        SELECT
            TPO.platform_name,
            TPO.platform_ip,
            TP.platform_name,
            TP.platform_ip,
            TP.area,
            TPO.create_date,
            TPO.today_outline_sed,
            TPO.update_time,
@@ -39,6 +42,7 @@
            TPO.id
        FROM
            t_platform_online TPO
                INNER JOIN t_platform TP ON TP.id = TPO.platform_id
        WHERE
            TPO.deleted = 0
            <if test="query.startTime != null and query.endTime != null">