From d6bc4983c4b435f09f62d978ad3facfa2c337ad1 Mon Sep 17 00:00:00 2001 From: wuzeyu <1223318623@qq.com> Date: 星期四, 09 五月 2024 20:02:21 +0800 Subject: [PATCH] 添加修改绑定记录通过取水口接口 修改添加控制器接口 修改取水口流浪控制器绑定接口 修改根据控制器编号获取绑定记录列表 --- pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaBlockMapper.xml | 17 +++++++++-------- 1 files changed, 9 insertions(+), 8 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaBlockMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaBlockMapper.xml index 1110ae8..93e6e80 100644 --- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaBlockMapper.xml +++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaBlockMapper.xml @@ -31,7 +31,8 @@ <select id="selectAll" resultMap="BaseResultMap"> select - <include refid="part_Column_List" /> +<!-- <include refid="part_Column_List" />--> + <include refid="Base_Column_List" /> from ba_block </select> @@ -47,10 +48,10 @@ header like concat('%', #{header}, '%') and </if> <if test="phone != null and phone != ''"> - phone = '#{phone,jdbcType=VARCHAR}' and + phone = #{phone,jdbcType=VARCHAR} and </if> <if test="area != null"> - area = #{area,jdbcType=INTEGER} and + area = ${area} and </if> </trim> </select> @@ -64,13 +65,13 @@ name like concat('%', #{name}, '%') and </if> <if test="header != null and header != ''"> - header = '#{header,jdbcType=VARCHAR}' and + header = #{header,jdbcType=VARCHAR} and </if> <if test="phone != null and phone != ''"> - phone = '#{phone,jdbcType=VARCHAR}' and + phone = #{phone,jdbcType=VARCHAR} and </if> <if test="area != null"> - area = #{area,jdbcType=INTEGER} and + area = ${area} and </if> </trim> order by id DESC @@ -169,10 +170,10 @@ color = #{color,jdbcType=VARCHAR}, </if> <if test="remark != null"> - color = #{remark,jdbcType=VARCHAR}, + remark = #{remark,jdbcType=VARCHAR}, </if> <if test="deleted != null"> - color = #{deleted,typeHandler=com.dy.common.mybatis.envm.EnumCodeTypeHandler, jdbcType=TINYINT}, + deleted = #{deleted,typeHandler=com.dy.common.mybatis.envm.EnumCodeTypeHandler, jdbcType=TINYINT}, </if> </set> where id = #{id,jdbcType=BIGINT} -- Gitblit v1.8.0