From 73f48531b40f1d9febf7ca8cd6dc971e055fa853 Mon Sep 17 00:00:00 2001 From: liusuyi <1951119284@qq.com> Date: 星期四, 25 七月 2024 11:17:47 +0800 Subject: [PATCH] 优化websocke接收消息tbug --- ard-work/src/main/resources/mapper/sy/ArdTankLoadLogMapper.xml | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/ard-work/src/main/resources/mapper/sy/ArdTankLoadLogMapper.xml b/ard-work/src/main/resources/mapper/sy/ArdTankLoadLogMapper.xml index 0a44fbb..9741ff3 100644 --- a/ard-work/src/main/resources/mapper/sy/ArdTankLoadLogMapper.xml +++ b/ard-work/src/main/resources/mapper/sy/ArdTankLoadLogMapper.xml @@ -87,4 +87,8 @@ <select id="selectArdTankLoadLogByCarIdAndEndTimeIsNotNull" parameterType="java.lang.String" resultMap="ArdTankLoadLogResult"> select * from ard_tank_load_log atll where atll.car_id = #{carId} and atll.end_time is not null </select> + + <delete id="deleteArdTankLoadLogByEndTime" > + delete from ard_tank_load_log atll where atll.end_time is not null + </delete> </mapper> \ No newline at end of file -- Gitblit v1.9.3