Explorar el Código

【CHG】增加推送消息参数字段

ZhaoMn hace 3 años
padre
commit
6b322e771c

+ 10 - 1
railway-business/src/main/resources/mapper/push/BusPushMsgMapper.xml

@@ -16,6 +16,7 @@
     <result column="push_status" property="pushStatus"/>
     <result column="push_result_desc" property="pushResultDesc"/>
     <result column="push_loop" property="pushLoop"/>
+    <result column="param" property="param"/>
   </resultMap>
 
   <sql id="Base_Column_List">
@@ -30,7 +31,8 @@
     push_time,
     push_status,
     push_result_desc,
-    push_loop
+    push_loop,
+    param
   </sql>
 
   <insert id="insert" parameterType="com.railway.business.push.domain.BusPushMsg">
@@ -72,6 +74,9 @@
       <if test='null != pushLoop'>
         push_loop
       </if>
+      <if test='null != param'>
+        param
+      </if>
     </trim>
     <trim prefix="values (" suffix=")" suffixOverrides=",">
       <if test='null != userId'>
@@ -107,6 +112,9 @@
       <if test='null != pushLoop'>
         #{pushLoop}
       </if>
+      <if test='null != param'>
+        #{param}
+      </if>
     </trim>
   </insert>
 
@@ -129,6 +137,7 @@
       <if test='null != pushStatus'>push_status = #{pushStatus},</if>
       <if test='null != pushResultDesc'>push_result_desc = #{pushResultDesc},</if>
       <if test='null != pushLoop'>push_loop = #{pushLoop}</if>
+      <if test='null != param'>param = #{param}</if>
     </set>
     WHERE id = #{id}
   </update>