Explorar el Código

告警配置添加重复字段

liuyaowen hace 9 meses
padre
commit
4e5031918f
Se han modificado 1 ficheros con 6 adiciones y 1 borrados
  1. 6 1
      src/main/resources/mapper/IotWarnconfigMapper.xml

+ 6 - 1
src/main/resources/mapper/IotWarnconfigMapper.xml

@@ -13,6 +13,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <result property="wcLevel"    column="wcLevel"    />
         <result property="wcTouchtype"    column="wcTouchtype"    />
         <result property="wcCondition"    column="wcCondition"    />
+        <result property="wcRepeatnum"    column="wcRepeatnum"    />
         <result property="wcCreator"    column="wcCreator"    />
         <result property="wcCreateddate"    column="wcCreateddate"    />
         <result property="wcModifieddate"    column="wcModifieddate"    />
@@ -21,7 +22,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     </resultMap>
 
     <sql id="selectIotWarnconfigVo">
-        select id, wcBid, wcName, wcDesc, wcStatus, wcLevel, wcTouchtype, wcCondition, wcCreator, wcCreateddate, wcModifieddate, wcModifier, tid from IotWarnconfig
+        select id, wcBid, wcName, wcDesc, wcStatus, wcLevel, wcTouchtype, wcCondition,wcRepeatnum, wcCreator, wcCreateddate, wcModifieddate, wcModifier, tid from IotWarnconfig
     </sql>
 
     <select id="selectIotWarnconfigList" parameterType="IotWarnconfig" resultMap="IotWarnconfigResult">
@@ -34,6 +35,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="wcLevel != null  and wcLevel != ''"> and wcLevel = #{wcLevel}</if>
             <if test="wcTouchtype != null  and wcTouchtype != ''"> and wcTouchtype = #{wcTouchtype}</if>
             <if test="wcCondition != null  and wcCondition != ''"> and wcCondition = #{wcCondition}</if>
+            <if test="wcRepeatnum != null  and wcRepeatnum != ''"> and wcRepeatnum = #{wcRepeatnum}</if>
             <if test="wcCreator != null  and wcCreator != ''"> and wcCreator = #{wcCreator}</if>
             <if test="wcCreateddate != null  and wcCreateddate != ''"> and wcCreateddate = #{wcCreateddate}</if>
             <if test="wcModifieddate != null  and wcModifieddate != ''"> and wcModifieddate = #{wcModifieddate}</if>
@@ -57,6 +59,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="wcLevel != null">wcLevel,</if>
             <if test="wcTouchtype != null">wcTouchtype,</if>
             <if test="wcCondition != null">wcCondition,</if>
+            <if test="wcRepeatnum != null">wcRepeatnum,</if>
             <if test="wcCreator != null">wcCreator,</if>
             <if test="wcCreateddate != null">wcCreateddate,</if>
             <if test="wcModifieddate != null">wcModifieddate,</if>
@@ -71,6 +74,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="wcLevel != null">#{wcLevel},</if>
             <if test="wcTouchtype != null">#{wcTouchtype},</if>
             <if test="wcCondition != null">#{wcCondition},</if>
+            <if test="wcRepeatnum != null">#{wcRepeatnum},</if>
             <if test="wcCreator != null">#{wcCreator},</if>
             <if test="wcCreateddate != null">#{wcCreateddate},</if>
             <if test="wcModifieddate != null">#{wcModifieddate},</if>
@@ -89,6 +93,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="wcLevel != null">wcLevel = #{wcLevel},</if>
             <if test="wcTouchtype != null">wcTouchtype = #{wcTouchtype},</if>
             <if test="wcCondition != null">wcCondition = #{wcCondition},</if>
+            <if test="wcRepeatnum != null">wcRepeatnum = #{wcRepeatnum},</if>
             <if test="wcCreator != null">wcCreator = #{wcCreator},</if>
             <if test="wcCreateddate != null">wcCreateddate = #{wcCreateddate},</if>
             <if test="wcModifieddate != null">wcModifieddate = #{wcModifieddate},</if>