== case=main files=1
task.insert: id=1001 moduleType=DELETE_BRAND status=RUNNING taskMode=IMMEDIATE userId=7 createdBy=user:7 deviceId=dev-1 sourceFileCount=1
task.update: id=1001 status=- sourceFileCount=1 successFileCount=1 failedFileCount=0 errorMessage=-
result.insert: id=2001 taskId=1001 moduleType=DELETE_BRAND sourceFileUrl=uploads/魏振峰.xlsx rowCount=4 success=0 resultFilename=- errorMessage=-
vo: total=1 successCount=1 failedCount=0
item: resultId=2001 fileKey=uploads/魏振峰.xlsx shopName=魏振峰 matched=true matchStatus=MATCHED countryCount=2 totalRows=4 truncated=false success=true error=- taskStatus=RUNNING
  parsed country=美国 asinCount=2
  parsed   asin: row=3 value=b011 1 status=在售
  parsed   asin: row=5 value=B012 status=-
  parsed country=德国 asinCount=2
  parsed   asin: row=3 value=B021 status=-
  parsed   asin: row=5 value=B022 status=在售
  preview: row=3 country=美国 asin=b011 1 status=在售
  preview: row=5 country=美国 asin=B012 status=-
  preview: row=3 country=德国 asin=B021 status=-
  preview: row=5 country=德国 asin=B022 status=在售
payload.files=1
  payload: fileKey=uploads/魏振峰.xlsx shopId=shop-魏振峰 companyName=公司-魏振峰 platform=amazon totalRows=4
    country=美国 asinCount=2
      asin: row=3 value=b011 1 status=在售
      asin: row=5 value=B012 status=-
    country=德国 asinCount=2
      asin: row=3 value=B021 status=-
      asin: row=5 value=B022 status=在售
== case=unmatched files=1
task.insert: id=1001 moduleType=DELETE_BRAND status=FAILED taskMode=IMMEDIATE userId=7 createdBy=user:7 deviceId=dev-1 sourceFileCount=0
task.update: id=1001 status=FAILED sourceFileCount=0 successFileCount=0 failedFileCount=1 errorMessage=全部文件解析或匹配失败
result.insert: id=2001 taskId=1001 moduleType=DELETE_BRAND sourceFileUrl=uploads/魏振峰.xlsx rowCount=4 success=0 resultFilename=- errorMessage=-
vo: total=1 successCount=0 failedCount=1
item: resultId=2001 fileKey=uploads/魏振峰.xlsx shopName=魏振峰 matched=false matchStatus=NOT_FOUND countryCount=2 totalRows=4 truncated=false success=true error=- taskStatus=RUNNING
  parsed country=美国 asinCount=2
  parsed   asin: row=3 value=b011 1 status=在售
  parsed   asin: row=5 value=B012 status=-
  parsed country=德国 asinCount=2
  parsed   asin: row=3 value=B021 status=-
  parsed   asin: row=5 value=B022 status=在售
  preview: row=3 country=美国 asin=b011 1 status=在售
  preview: row=5 country=美国 asin=B012 status=-
  preview: row=3 country=德国 asin=B021 status=-
  preview: row=5 country=德国 asin=B022 status=在售
payload.files=0
== case=headerOnly files=1
task.insert: id=1001 moduleType=DELETE_BRAND status=FAILED taskMode=IMMEDIATE userId=7 createdBy=user:7 deviceId=dev-1 sourceFileCount=0
task.update: id=1001 status=FAILED sourceFileCount=0 successFileCount=0 failedFileCount=1 errorMessage=全部文件解析或匹配失败
result.insert: id=2001 taskId=1001 moduleType=DELETE_BRAND sourceFileUrl=uploads/缺字段行.xlsx rowCount=- success=0 resultFilename=- errorMessage=Excel 表头不完整
vo: total=1 successCount=0 failedCount=1
item: resultId=2001 fileKey=uploads/缺字段行.xlsx shopName=缺字段行 matched=false matchStatus=- countryCount=- totalRows=- truncated=false success=false error=Excel 表头不完整 taskStatus=RUNNING
payload.files=0
== case=shopNameColumnSkipped files=1
task.insert: id=1001 moduleType=DELETE_BRAND status=RUNNING taskMode=IMMEDIATE userId=7 createdBy=user:7 deviceId=dev-1 sourceFileCount=1
task.update: id=1001 status=- sourceFileCount=1 successFileCount=1 failedFileCount=0 errorMessage=-
result.insert: id=2001 taskId=1001 moduleType=DELETE_BRAND sourceFileUrl=uploads/英国.xlsx rowCount=3 success=0 resultFilename=- errorMessage=-
vo: total=1 successCount=1 failedCount=0
item: resultId=2001 fileKey=uploads/英国.xlsx shopName=英国 matched=true matchStatus=MATCHED countryCount=1 totalRows=3 truncated=false success=true error=- taskStatus=RUNNING
  parsed country=英国 asinCount=3
  parsed   asin: row=2 value=ASIN status=状态
  parsed   asin: row=3 value=B031 status=在售
  parsed   asin: row=4 value=B032 status=缺少报价
  preview: row=2 country=英国 asin=ASIN status=状态
  preview: row=3 country=英国 asin=B031 status=在售
  preview: row=4 country=英国 asin=B032 status=缺少报价
payload.files=1
  payload: fileKey=uploads/英国.xlsx shopId=shop-英国 companyName=公司-英国 platform=amazon totalRows=3
    country=英国 asinCount=3
      asin: row=2 value=ASIN status=状态
      asin: row=3 value=B031 status=在售
      asin: row=4 value=B032 status=缺少报价
== case=notExcel files=1
task.insert: id=1001 moduleType=DELETE_BRAND status=FAILED taskMode=IMMEDIATE userId=7 createdBy=user:7 deviceId=dev-1 sourceFileCount=0
task.update: id=1001 status=FAILED sourceFileCount=0 successFileCount=0 failedFileCount=1 errorMessage=全部文件解析或匹配失败
result.insert: id=2001 taskId=1001 moduleType=DELETE_BRAND sourceFileUrl=uploads/伪装.csv.xlsx rowCount=- success=0 resultFilename=- errorMessage=读取删除品牌 Excel 失败
vo: total=1 successCount=0 failedCount=1
item: resultId=2001 fileKey=uploads/伪装.csv.xlsx shopName=伪装.csv matched=false matchStatus=- countryCount=- totalRows=- truncated=false success=false error=读取删除品牌 Excel 失败 taskStatus=RUNNING
payload.files=0
