liuyaowen пре 10 месеци
родитељ
комит
85666fed1f
1 измењених фајлова са 51 додато и 51 уклоњено
  1. 51 51
      src/main/resources/mapper/IotWarnlogMapper.xml

+ 51 - 51
src/main/resources/mapper/IotWarnlogMapper.xml

@@ -7,43 +7,43 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     <resultMap type="IotWarnlog" id="IotWarnlogResult">
         <result property="id"    column="id"    />
         <result property="wlBid"    column="wlBid"    />
-        <result property="wrName"    column="wrName"    />
-        <result property="wrType"    column="wrType"    />
-        <result property="wrContent"    column="wrContent"    />
-        <result property="wrLevel"    column="wrLevel"    />
+        <result property="wlName"    column="wlName"    />
+        <result property="wlType"    column="wlType"    />
+        <result property="wlContent"    column="wlContent"    />
+        <result property="wlLevel"    column="wlLevel"    />
         <result property="devtypeBid"    column="devtypeBid"    />
         <result property="devBid"    column="devBid"    />
         <result property="status"    column="status"    />
-        <result property="wrDealuserid"    column="wrDealuserid"    />
-        <result property="wrDealresult"    column="wrDealresult"    />
-        <result property="wrDealtime"    column="wrDealtime"    />
-        <result property="wrCreator"    column="wrCreator"    />
-        <result property="wrCreateddate"    column="wrCreateddate"    />
-        <result property="wrData"    column="wrData"    />
+        <result property="wlDealuserid"    column="wlDealuserid"    />
+        <result property="wlDealresult"    column="wlDealresult"    />
+        <result property="wlDealtime"    column="wlDealtime"    />
+        <result property="wlCreator"    column="wlCreator"    />
+        <result property="wlCreateddate"    column="wlCreateddate"    />
+        <result property="wlData"    column="wlData"    />
         <result property="tid"    column="tid"    />
     </resultMap>
 
     <sql id="selectIotWarnlogVo">
-        select id, wlBid, wrName, wrType, wrContent, wrLevel, devtypeBid, devBid, status, wrDealuserid, wrDealresult, wrDealtime, wrCreator, wrCreateddate, wrData, tid from IotWarnlog
+        select id, wlBid, wlName, wlType, wlContent, wlLevel, devtypeBid, devBid, status, wlDealuserid, wlDealresult, wlDealtime, wlCreator, wlCreateddate, wlData, tid from IotWarnlog
     </sql>
 
     <select id="selectIotWarnlogList" parameterType="IotWarnlog" resultMap="IotWarnlogResult">
         <include refid="selectIotWarnlogVo"/>
         <where>  
             <if test="wlBid != null  and wlBid != ''"> and wlBid = #{wlBid}</if>
-            <if test="wrName != null  and wrName != ''"> and wrName like concat('%', #{wrName}, '%')</if>
-            <if test="wrType != null  and wrType != ''"> and wrType = #{wrType}</if>
-            <if test="wrContent != null  and wrContent != ''"> and wrContent = #{wrContent}</if>
-            <if test="wrLevel != null  and wrLevel != ''"> and wrLevel = #{wrLevel}</if>
+            <if test="wlName != null  and wlName != ''"> and wlName like concat('%', #{wlName}, '%')</if>
+            <if test="wlType != null  and wlType != ''"> and wlType = #{wlType}</if>
+            <if test="wlContent != null  and wlContent != ''"> and wlContent = #{wlContent}</if>
+            <if test="wlLevel != null  and wlLevel != ''"> and wlLevel = #{wlLevel}</if>
             <if test="devtypeBid != null  and devtypeBid != ''"> and devtypeBid = #{devtypeBid}</if>
             <if test="devBid != null  and devBid != ''"> and devBid = #{devBid}</if>
             <if test="status != null  and status != ''"> and status = #{status}</if>
-            <if test="wrDealuserid != null  and wrDealuserid != ''"> and wrDealuserid = #{wrDealuserid}</if>
-            <if test="wrDealresult != null  and wrDealresult != ''"> and wrDealresult = #{wrDealresult}</if>
-            <if test="wrDealtime != null  and wrDealtime != ''"> and wrDealtime = #{wrDealtime}</if>
-            <if test="wrCreator != null  and wrCreator != ''"> and wrCreator = #{wrCreator}</if>
-            <if test="wrCreateddate != null  and wrCreateddate != ''"> and wrCreateddate = #{wrCreateddate}</if>
-            <if test="wrData != null  and wrData != ''"> and wrData = #{wrData}</if>
+            <if test="wlDealuserid != null  and wlDealuserid != ''"> and wlDealuserid = #{wlDealuserid}</if>
+            <if test="wlDealresult != null  and wlDealresult != ''"> and wlDealresult = #{wlDealresult}</if>
+            <if test="wlDealtime != null  and wlDealtime != ''"> and wlDealtime = #{wlDealtime}</if>
+            <if test="wlCreator != null  and wlCreator != ''"> and wlCreator = #{wlCreator}</if>
+            <if test="wlCreateddate != null  and wlCreateddate != ''"> and wlCreateddate = #{wlCreateddate}</if>
+            <if test="wlData != null  and wlData != ''"> and wlData = #{wlData}</if>
             <if test="tid != null  and tid != ''"> and tid = #{tid}</if>
         </where>
     </select>
@@ -57,36 +57,36 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         insert into IotWarnlog
         <trim prefix="(" suffix=")" suffixOverrides=",">
             <if test="wlBid != null">wlBid,</if>
-            <if test="wrName != null">wrName,</if>
-            <if test="wrType != null">wrType,</if>
-            <if test="wrContent != null">wrContent,</if>
-            <if test="wrLevel != null">wrLevel,</if>
+            <if test="wlName != null">wlName,</if>
+            <if test="wlType != null">wlType,</if>
+            <if test="wlContent != null">wlContent,</if>
+            <if test="wlLevel != null">wlLevel,</if>
             <if test="devtypeBid != null">devtypeBid,</if>
             <if test="devBid != null">devBid,</if>
             <if test="status != null">status,</if>
-            <if test="wrDealuserid != null">wrDealuserid,</if>
-            <if test="wrDealresult != null">wrDealresult,</if>
-            <if test="wrDealtime != null">wrDealtime,</if>
-            <if test="wrCreator != null">wrCreator,</if>
-            <if test="wrCreateddate != null">wrCreateddate,</if>
-            <if test="wrData != null">wrData,</if>
+            <if test="wlDealuserid != null">wlDealuserid,</if>
+            <if test="wlDealresult != null">wlDealresult,</if>
+            <if test="wlDealtime != null">wlDealtime,</if>
+            <if test="wlCreator != null">wlCreator,</if>
+            <if test="wlCreateddate != null">wlCreateddate,</if>
+            <if test="wlData != null">wlData,</if>
             <if test="tid != null and tid != ''">tid,</if>
          </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="wlBid != null">#{wlBid},</if>
-            <if test="wrName != null">#{wrName},</if>
-            <if test="wrType != null">#{wrType},</if>
-            <if test="wrContent != null">#{wrContent},</if>
-            <if test="wrLevel != null">#{wrLevel},</if>
+            <if test="wlName != null">#{wlName},</if>
+            <if test="wlType != null">#{wlType},</if>
+            <if test="wlContent != null">#{wlContent},</if>
+            <if test="wlLevel != null">#{wlLevel},</if>
             <if test="devtypeBid != null">#{devtypeBid},</if>
             <if test="devBid != null">#{devBid},</if>
             <if test="status != null">#{status},</if>
-            <if test="wrDealuserid != null">#{wrDealuserid},</if>
-            <if test="wrDealresult != null">#{wrDealresult},</if>
-            <if test="wrDealtime != null">#{wrDealtime},</if>
-            <if test="wrCreator != null">#{wrCreator},</if>
-            <if test="wrCreateddate != null">#{wrCreateddate},</if>
-            <if test="wrData != null">#{wrData},</if>
+            <if test="wlDealuserid != null">#{wlDealuserid},</if>
+            <if test="wlDealresult != null">#{wlDealresult},</if>
+            <if test="wlDealtime != null">#{wlDealtime},</if>
+            <if test="wlCreator != null">#{wlCreator},</if>
+            <if test="wlCreateddate != null">#{wlCreateddate},</if>
+            <if test="wlData != null">#{wlData},</if>
             <if test="tid != null and tid != ''">#{tid},</if>
          </trim>
     </insert>
@@ -95,19 +95,19 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         update IotWarnlog
         <trim prefix="SET" suffixOverrides=",">
             <if test="wlBid != null">wlBid = #{wlBid},</if>
-            <if test="wrName != null">wrName = #{wrName},</if>
-            <if test="wrType != null">wrType = #{wrType},</if>
-            <if test="wrContent != null">wrContent = #{wrContent},</if>
-            <if test="wrLevel != null">wrLevel = #{wrLevel},</if>
+            <if test="wlName != null">wlName = #{wlName},</if>
+            <if test="wlType != null">wlType = #{wlType},</if>
+            <if test="wlContent != null">wlContent = #{wlContent},</if>
+            <if test="wlLevel != null">wlLevel = #{wlLevel},</if>
             <if test="devtypeBid != null">devtypeBid = #{devtypeBid},</if>
             <if test="devBid != null">devBid = #{devBid},</if>
             <if test="status != null">status = #{status},</if>
-            <if test="wrDealuserid != null">wrDealuserid = #{wrDealuserid},</if>
-            <if test="wrDealresult != null">wrDealresult = #{wrDealresult},</if>
-            <if test="wrDealtime != null">wrDealtime = #{wrDealtime},</if>
-            <if test="wrCreator != null">wrCreator = #{wrCreator},</if>
-            <if test="wrCreateddate != null">wrCreateddate = #{wrCreateddate},</if>
-            <if test="wrData != null">wrData = #{wrData},</if>
+            <if test="wlDealuserid != null">wlDealuserid = #{wlDealuserid},</if>
+            <if test="wlDealresult != null">wlDealresult = #{wlDealresult},</if>
+            <if test="wlDealtime != null">wlDealtime = #{wlDealtime},</if>
+            <if test="wlCreator != null">wlCreator = #{wlCreator},</if>
+            <if test="wlCreateddate != null">wlCreateddate = #{wlCreateddate},</if>
+            <if test="wlData != null">wlData = #{wlData},</if>
             <if test="tid != null and tid != ''">tid = #{tid},</if>
         </trim>
         where wlBid = #{wlBid}