From 38f29e38fcc668171dc05c53d40a36b895c86102 Mon Sep 17 00:00:00 2001 From: liusuyi <1951119284@qq.com> Date: 星期四, 10 十月 2024 13:34:28 +0800 Subject: [PATCH] init --- 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