瀏覽代碼

修改deshboard数据同步bug

wangPH 2 年之前
父節點
當前提交
0f65a13d78
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      background-user/src/main/resources/mapper/BackgroundConvertDataMapper.xml

+ 1 - 1
background-user/src/main/resources/mapper/BackgroundConvertDataMapper.xml

@@ -25,7 +25,7 @@
     <insert id="insertList">
         insert into background_convert_data(user_id,tenant_id, project_id, tool_id, file_total, file_success_total, file_failed_total,file_convert_time,sync_time) values
         <foreach collection="list" item="item" separator=",">
-            (#{item.tenantId}, #{item.projectId}, #{item.useToolId}, #{item.fileTotal}, #{item.fileSuccessTotal}, #{item.fileFailedTotal}, #{item.fileConvertTime}, #{item.syncTime})
+            (#{item.userId},#{item.tenantId}, #{item.projectId}, #{item.useToolId}, #{item.fileTotal}, #{item.fileSuccessTotal}, #{item.fileFailedTotal}, #{item.fileConvertTime}, #{item.syncTime})
         </foreach>
     </insert>