|
|
@@ -9,6 +9,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="wiBid" column="wiBid" />
|
|
|
<result property="wcBid" column="wcBid" />
|
|
|
<result property="wdBid" column="wdBid" />
|
|
|
+
|
|
|
+ <result property="wiAddress" column="wiAddress" />
|
|
|
+ <result property="wiCode" column="wiCode" />
|
|
|
+ <result property="wiName" column="wiName" />
|
|
|
+ <result property="wiUnit" column="wiUnit" />
|
|
|
+
|
|
|
<result property="wiExpression" column="wiExpression" />
|
|
|
<result property="wiValue" column="wiValue" />
|
|
|
<result property="wiCreator" column="wiCreator" />
|
|
|
@@ -19,7 +25,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectIotWarnindicatorVo">
|
|
|
- select id, wiBid, wcBid, wdBid, wiExpression, wiValue, wiCreator, wiCreateddate, wiModifieddate, wiModifier, tid from IotWarnindicator
|
|
|
+ select id, wiBid, wcBid, wdBid, wiAddress, wiCode, wiName, wiUnit,wiExpression, wiValue, wiCreator, wiCreateddate, wiModifieddate, wiModifier, tid from IotWarnindicator
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectIotWarnindicatorList" parameterType="IotWarnindicator" resultMap="IotWarnindicatorResult">
|
|
|
@@ -28,6 +34,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="wiBid != null and wiBid != ''"> and wiBid = #{wiBid}</if>
|
|
|
<if test="wcBid != null and wcBid != ''"> and wcBid = #{wcBid}</if>
|
|
|
<if test="wdBid != null and wdBid != ''"> and wdBid = #{wdBid}</if>
|
|
|
+ <if test="wiAddress != null and wiAddress != ''"> and wiAddress = #{wiAddress}</if>
|
|
|
+ <if test="wiCode != null and wiCode != ''"> and wiCode = #{wiCode}</if>
|
|
|
+ <if test="wiName != null and wiName != ''"> and wiName = #{wiName}</if>
|
|
|
+ <if test="wiUnit != null and wiUnit != ''"> and wiUnit = #{wiUnit}</if>
|
|
|
<if test="wiExpression != null and wiExpression != ''"> and wiExpression = #{wiExpression}</if>
|
|
|
<if test="wiValue != null and wiValue != ''"> and wiValue = #{wiValue}</if>
|
|
|
<if test="wiCreator != null and wiCreator != ''"> and wiCreator = #{wiCreator}</if>
|
|
|
@@ -49,6 +59,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="wiBid != null">wiBid,</if>
|
|
|
<if test="wcBid != null">wcBid,</if>
|
|
|
<if test="wdBid != null">wdBid,</if>
|
|
|
+ <if test="wiAddress != null">wiAddress,</if>
|
|
|
+ <if test="wiCode != null">wiCode,</if>
|
|
|
+ <if test="wiName != null">wiName,</if>
|
|
|
+ <if test="wiUnit != null">wiUnit,</if>
|
|
|
<if test="wiExpression != null">wiExpression,</if>
|
|
|
<if test="wiValue != null">wiValue,</if>
|
|
|
<if test="wiCreator != null">wiCreator,</if>
|
|
|
@@ -61,6 +75,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="wiBid != null">#{wiBid},</if>
|
|
|
<if test="wcBid != null">#{wcBid},</if>
|
|
|
<if test="wdBid != null">#{wdBid},</if>
|
|
|
+ <if test="wiAddress != null">#{wiAddress},</if>
|
|
|
+ <if test="wiCode != null">#{wiCode},</if>
|
|
|
+ <if test="wiName != null">#{wiName},</if>
|
|
|
+ <if test="wiUnit != null">#{wiUnit},</if>
|
|
|
<if test="wiExpression != null">#{wiExpression},</if>
|
|
|
<if test="wiValue != null">#{wiValue},</if>
|
|
|
<if test="wiCreator != null">#{wiCreator},</if>
|
|
|
@@ -77,6 +95,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="wiBid != null">wiBid = #{wiBid},</if>
|
|
|
<if test="wcBid != null">wcBid = #{wcBid},</if>
|
|
|
<if test="wdBid != null">wdBid = #{wdBid},</if>
|
|
|
+ <if test="wiAddress != null">wiAddress = #{wiAddress},</if>
|
|
|
+ <if test="wiCode != null">wiCode = #{wiCode},</if>
|
|
|
+ <if test="wiName != null">wiName = #{wiName},</if>
|
|
|
+ <if test="wiUnit != null">wiUnit = #{wiUnit},</if>
|
|
|
<if test="wiExpression != null">wiExpression = #{wiExpression},</if>
|
|
|
<if test="wiValue != null">wiValue = #{wiValue},</if>
|
|
|
<if test="wiCreator != null">wiCreator = #{wiCreator},</if>
|