From 811b14aa5cd2bd6d4313b43dc38ce87cd938f3b0 Mon Sep 17 00:00:00 2001 From: liusuyi <1951119284@qq.com> Date: 星期二, 23 七月 2024 17:12:42 +0800 Subject: [PATCH] 优化:通道同步任务 增加:根据用户统计未读总数 --- ard-work/src/main/resources/mapper/sy/ArdTankWallMapper.xml | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/ard-work/src/main/resources/mapper/sy/ArdTankWallMapper.xml b/ard-work/src/main/resources/mapper/sy/ArdTankWallMapper.xml index 74a49be..125528f 100644 --- a/ard-work/src/main/resources/mapper/sy/ArdTankWallMapper.xml +++ b/ard-work/src/main/resources/mapper/sy/ArdTankWallMapper.xml @@ -98,4 +98,11 @@ inner join ard_tank_wall atw on atwl.wall_id = atw.id where atwl.lock_id = #{lockId} and atwl.process_type != '0' </select> + + <select id="getDistinctArdTankWallByCarId" resultMap="ArdTankWallResult" parameterType="java.lang.String"> + select distinct atw.* from ard_tank_lock atl + inner join ard_tank_wall_lock atwl on atl.id = atwl.lock_id + inner join ard_tank_wall atw on atwl.wall_id = atw.id + where atl.car_id = #{carId} + </select> </mapper> \ No newline at end of file -- Gitblit v1.9.3