From ad0ebbcb77e1927a5cce4d36879a60aa0bb07be7 Mon Sep 17 00:00:00 2001
From: jjLv <1981429112@qq.com>
Date: Thu, 13 Nov 2025 13:10:52 +0800
Subject: [PATCH 1/2] =?UTF-8?q?=E7=95=99=E6=A0=B7=E4=BB=AA=E5=9B=BE?=
=?UTF-8?q?=E7=89=87=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../mapper/kitchen/KitchenSampleDishesRecordMapper.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/kitchen/KitchenSampleDishesRecordMapper.xml b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/kitchen/KitchenSampleDishesRecordMapper.xml
index 25fa1cb..62004c7 100644
--- a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/kitchen/KitchenSampleDishesRecordMapper.xml
+++ b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/kitchen/KitchenSampleDishesRecordMapper.xml
@@ -143,7 +143,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
#{stallId},
#{canteenId},
#{dishesId},
- #{photoUrl},
+ #{imageUrl},
#{machineNo},
#{machineSn},
#{sampleWeight},
From 3fc528065adacd729bd23980492a4d3f0f304d83 Mon Sep 17 00:00:00 2001
From: jjLv <1981429112@qq.com>
Date: Thu, 13 Nov 2025 16:31:36 +0800
Subject: [PATCH 2/2] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E7=8A=B6=E6=80=81?=
=?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../canteen/core/healthmachine/service/TCPMonitorService.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/healthmachine/service/TCPMonitorService.java b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/healthmachine/service/TCPMonitorService.java
index c5bded9..79b0dc9 100644
--- a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/healthmachine/service/TCPMonitorService.java
+++ b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/healthmachine/service/TCPMonitorService.java
@@ -52,7 +52,7 @@ public class TCPMonitorService {
try {
List initialDevices = mapper.selectDeviceList();
initialDevices.forEach(device -> {
- if (device.getPort().equals("8080")){
+ if (device.getPort() == 8080){
devices.put(device.getId(), device);
}else{
pingDevices.put(device.getId(), device);