From 91b70d5ad2ada85cf00b25f7b9ecd9cf980bf138 Mon Sep 17 00:00:00 2001 From: liusuyi <1951119284@qq.com> Date: 星期一, 12 八月 2024 16:42:44 +0800 Subject: [PATCH] 优化:websocket接收消息 --- ard-work/src/main/resources/mapper/sy/ArdTankLockProcessLogMapper.xml | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/ard-work/src/main/resources/mapper/sy/ArdTankLockProcessLogMapper.xml b/ard-work/src/main/resources/mapper/sy/ArdTankLockProcessLogMapper.xml index 0e43b9b..9019f84 100644 --- a/ard-work/src/main/resources/mapper/sy/ArdTankLockProcessLogMapper.xml +++ b/ard-work/src/main/resources/mapper/sy/ArdTankLockProcessLogMapper.xml @@ -105,4 +105,21 @@ #{id} </foreach> </delete> + + <select id="getArdTankLockProcessLogByCarPlate" parameterType="java.lang.String" resultMap="ArdTankLockProcessLogResult"> + select * from ard_tank_lock_process_log where car_plate like #{carPlate} + order by process_time desc + </select> + + <select id="getArdTankLockProcessLogTotalByCarPlate" parameterType="java.lang.String" resultType="java.lang.Long"> + select count(*) from ard_tank_lock_process_log where car_plate like #{carPlate} + </select> + + <select id="getArdTankLockProcessLogAll" parameterType="java.lang.String" resultMap="ArdTankLockProcessLogResult"> + select * from ard_tank_lock_process_log order by process_time desc + </select> + + <select id="getArdTankLockProcessLogTotal" parameterType="java.lang.String" resultType="java.lang.Long"> + select count(*) from ard_tank_lock_process_log + </select> </mapper> \ No newline at end of file -- Gitblit v1.9.3