Jelajahi Sumber

基础数据同步sql修改

xujie 10 bulan lalu
induk
melakukan
3017c80399

+ 3 - 3
soc-modules/soc-modules-host/src/main/resources/mapper/IotDeviceInfoMapper.xml

@@ -66,13 +66,13 @@
                     create_by = #{item.createBy},
                 </if>
                 <if test="item.updateBy != null">
-                    update_by = #{item.updateBy}
+                    update_by = #{item.updateBy},
                 </if>
                 <if test="item.enable != null">
-                    `enable` = #{item.updateBy}
+                    `enable` = #{item.enable},
                 </if>
                 <if test="item.syncStatus != null">
-                    sync_status = #{item.syncStatus}
+                    sync_status = #{item.syncStatus},
                 </if>
             </set>
             WHERE id = #{item.id}