From 57c673aa3e83677bcf5d30b4b45d06bae6609db8 Mon Sep 17 00:00:00 2001 From: liusuyi <1951119284@qq.com> Date: 星期四, 08 八月 2024 16:14:40 +0800 Subject: [PATCH] 优化:获取会话 --- 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