TASK:mixi;

This commit is contained in:
shahaibo
2024-08-30 17:23:58 +08:00
parent 98d9b46290
commit c91ae46707
2 changed files with 2 additions and 2 deletions

View File

@@ -801,6 +801,7 @@ public class MiTuExportScheduledTask {
for (WeeklyHeavyStock weeklyHeavyStock : weeklyHeavyStockList) {
String currentPluCode = weeklyHeavyStock.getPLU_CODE();
if (!currentPluCode.equals(previousPluCode)) {
imagePath = getImagePath(currentPluCode);
if (startRow < rowNum - 1) {
mergeCells(sheet, startRow, rowNum - 1);
if (imagePath != null && !imagePath.isEmpty()) {
@@ -809,7 +810,6 @@ public class MiTuExportScheduledTask {
}
startRow = rowNum;
previousPluCode = currentPluCode;
imagePath = getImagePath(currentPluCode);
}
Row row = sheet.createRow(rowNum);

View File

@@ -594,7 +594,7 @@ public class PythonService {
RequestBody body = RequestBody.create(mediaType, JSON.toJSONString(content));
Request request = new Request.Builder()
// .url(accessPythonIp + ":9993/api/similar_matchsimilar_match")
.url("127.0.0.1:5001/chat")
.url("http://127.0.0.1:5001/chat")
.method("POST", body)
// .addHeader("Authorization", "Basic YWlkbGFiOjEyMw==")
.addHeader("Content-Type", "application/json")