From 52952d6feed8a9df738c652cda6c7d1ca50d2921 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期四, 23 十一月 2023 17:20:23 +0800
Subject: [PATCH] 1、修改rtuAddr注释 2、实现开关阀自报协议 3、实现开阀工作报 4、《编码设计》
---
pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaBlockMapper.xml | 16 ++++++++++++++--
1 files changed, 14 insertions(+), 2 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 0fee717..4182d95 100644
--- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaBlockMapper.xml
+++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/BaBlockMapper.xml
@@ -10,11 +10,12 @@
<result column="phone" jdbcType="VARCHAR" property="phone" />
<result column="area" jdbcType="INTEGER" property="area" />
<result column="color" jdbcType="VARCHAR" property="color" />
+ <result column="remark" jdbcType="VARCHAR" property="remark" />
<result property="deleted" column="deleted" typeHandler="com.dy.common.mybatis.envm.EnumCodeTypeHandler" javaType="com.dy.common.mybatis.envm.Deleted"/>
</resultMap>
<sql id="Base_Column_List">
<!--@mbg.generated-->
- id, `name`, `header`, phone, area, color,deleted
+ id, `name`, `header`, phone, area, color, remark, deleted
</sql>
<sql id="part_Column_List">
<!--@mbg.generated-->
@@ -82,13 +83,14 @@
<insert id="insert" parameterType="com.dy.pipIrrGlobal.pojoBa.BaBlock">
<!--@mbg.generated-->
- insert into ba_block (id, `name`, `header`, phone, area, color, deleted)
+ insert into ba_block (id, `name`, `header`, phone, area, color, remark, deleted)
values (#{id,jdbcType=BIGINT},
#{name,jdbcType=VARCHAR},
#{header,jdbcType=VARCHAR},
#{phone,jdbcType=VARCHAR},
#{area,jdbcType=INTEGER},
#{color,jdbcType=VARCHAR},
+ #{remark,jdbcType=VARCHAR},
#{deleted,typeHandler=com.dy.common.mybatis.envm.EnumCodeTypeHandler, jdbcType=TINYINT})
</insert>
<insert id="insertSelective" parameterType="com.dy.pipIrrGlobal.pojoBa.BaBlock">
@@ -113,6 +115,9 @@
<if test="color != null">
color,
</if>
+ <if test="remark != null">
+ remark,
+ </if>
<if test="deleted != null">
deleted,
</if>
@@ -135,6 +140,9 @@
</if>
<if test="color != null">
#{color,jdbcType=VARCHAR},
+ </if>
+ <if test="remark != null">
+ #{remark,jdbcType=VARCHAR},
</if>
<if test="deleted != null">
#{deleted,typeHandler=com.dy.common.mybatis.envm.EnumCodeTypeHandler, jdbcType=TINYINT},
@@ -160,6 +168,9 @@
<if test="color != null">
color = #{color,jdbcType=VARCHAR},
</if>
+ <if test="remark != null">
+ color = #{remark,jdbcType=VARCHAR},
+ </if>
<if test="deleted != null">
color = #{deleted,typeHandler=com.dy.common.mybatis.envm.EnumCodeTypeHandler, jdbcType=TINYINT},
</if>
@@ -174,6 +185,7 @@
phone = #{phone,jdbcType=VARCHAR},
area = #{area,jdbcType=INTEGER},
color = #{color,jdbcType=VARCHAR},
+ remark = #{remark,jdbcType=VARCHAR},
deleted = #{deleted,typeHandler=com.dy.common.mybatis.envm.EnumCodeTypeHandler, jdbcType=TINYINT}
where id = #{id,jdbcType=BIGINT}
</update>
--
Gitblit v1.8.0