浏览代码

基础数据同步sql修改

xujie 10 月之前
父节点
当前提交
3017c80399
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      soc-modules/soc-modules-host/src/main/resources/mapper/IotDeviceInfoMapper.xml

+ 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}