From 61ab3cc7c2fc0b5e8b9fa78f47e427761e1ad61e Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期三, 18 六月 2025 15:28:26 +0800 Subject: [PATCH] 水肥站、气象站、墒情站web后端程序框架 --- pipIrr-platform/pipIrr-global/src/main/resources/mapper/PrStWeatherMapper.xml | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/PrStWeatherMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/PrStWeatherMapper.xml index 1738c70..a4fdc45 100644 --- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/PrStWeatherMapper.xml +++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/PrStWeatherMapper.xml @@ -20,6 +20,10 @@ <!--@mbg.generated--> id, `no`, `name`, lng, lat, remark </sql> + <sql id="simple_Column_List"> + <!--@mbg.generated--> + id, `no`, `name` + </sql> <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> <!--@mbg.generated--> select @@ -27,6 +31,13 @@ from pr_st_weather where id = #{id,jdbcType=BIGINT} </select> + <select id="selectAllSimple" resultType="com.dy.pipIrrGlobal.voPr.VoMqttSimple"> + <!--@mbg.generated--> + select + <include refid="simple_Column_List" /> + from pr_st_weather + where deleted != 1 ; + </select> <delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> <!--@mbg.generated--> delete from pr_st_weather -- Gitblit v1.8.0