From cfce3204ba71687c07e8e3a172e6964c6ecdcc87 Mon Sep 17 00:00:00 2001 From: sxu <1539530615@qq.com> Date: Sat, 9 Dec 2023 22:42:05 +0800 Subject: [PATCH] fix --- .../src/main/resources/mapper/DevInfoMapper.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/zlpt-modules/zlpt-equip/src/main/resources/mapper/DevInfoMapper.xml b/zlpt-modules/zlpt-equip/src/main/resources/mapper/DevInfoMapper.xml index d0c373a..ab3eae9 100644 --- a/zlpt-modules/zlpt-equip/src/main/resources/mapper/DevInfoMapper.xml +++ b/zlpt-modules/zlpt-equip/src/main/resources/mapper/DevInfoMapper.xml @@ -408,6 +408,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" where user_id = #{userId} + + + + INSERT INTO ma_hot_search (ma_id, search_num) + VALUES (#{maId}, 1) + + update ma_hot_search set search_num = search_num + 1