fuliqi
2024-08-31 f192a6671390a15abb9c4d5561de9f17ef96a34f
ycl-server/src/main/resources/mapper/zgyw/PlatformOnlineMapper.xml
@@ -10,6 +10,7 @@
        <result column="today_outline_sed" property="todayOutlineSed" />
        <result column="update_time" property="updateTime" />
        <result column="create_time" property="createTime" />
        <result column="area" property="area" />
    </resultMap>
    <select id="getById" resultMap="BaseResultMap">
@@ -52,7 +53,7 @@
    <select id="yesterdayData" resultMap="BaseResultMap">
        select * from t_platform_online
        where create_date between #{startDate} and #{endDate}
        select po.*,p.area from t_platform_online po inner join t_platform p on po.platform_id = p.id
        where po.create_date between #{startDate} and #{endDate}
    </select>
</mapper>