From 43b27bce46ae28422c7fe57bd5fe9eef93624b56 Mon Sep 17 00:00:00 2001 From: jjLv <1981429112@qq.com> Date: Thu, 28 Aug 2025 13:29:49 +0800 Subject: [PATCH] =?UTF-8?q?=E7=95=99=E6=A0=B7=E6=9F=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/kitchen/KitchenSampleCabinetRecordMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/kitchen/KitchenSampleCabinetRecordMapper.xml b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/kitchen/KitchenSampleCabinetRecordMapper.xml index 890af10..cc45252 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/kitchen/KitchenSampleCabinetRecordMapper.xml +++ b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/kitchen/KitchenSampleCabinetRecordMapper.xml @@ -159,7 +159,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" cabinet_no = #{deviceId}, save_status = '3', valid_duration = TIMESTAMPDIFF(HOUR , enter_cabinet_time, now()), - duration_standard = if(TIMESTAMPDIFF(HOUR, enter_cabinet_time, now()), 1, 2), + duration_standard = if(TIMESTAMPDIFF(HOUR, enter_cabinet_time, now()) > 48, 1, 2), sample_take_staff_id = #{staffId} where record_id = #{sampleId};