From 5bc349b0321d6058ea859780de6d1bd5a0ffdb35 Mon Sep 17 00:00:00 2001
From: liujie <1793218484@qq.com>
Date: 星期二, 21 七月 2026 14:09:43 +0800
Subject: [PATCH] Merge branch '2.2' of http://120.76.84.145:10101/gitblit/r/java/mx_charging_pile into 2.2
---
ruoyi-modules/ruoyi-system/src/main/resources/mapper/system/SysFaqMapper.xml | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/ruoyi-modules/ruoyi-system/src/main/resources/mapper/system/SysFaqMapper.xml b/ruoyi-modules/ruoyi-system/src/main/resources/mapper/system/SysFaqMapper.xml
index 22415cc..e27869a 100644
--- a/ruoyi-modules/ruoyi-system/src/main/resources/mapper/system/SysFaqMapper.xml
+++ b/ruoyi-modules/ruoyi-system/src/main/resources/mapper/system/SysFaqMapper.xml
@@ -23,6 +23,14 @@
from sys_faq
</sql>
+ <insert id="ensureFaultPullTutorial">
+ insert into sys_faq (question, answer, sort_order, status, create_by, create_time, del_flag)
+ select '故障拔枪教程', '', 0, '0', 'system', now(), '0'
+ where not exists (
+ select 1 from sys_faq where question = '故障拔枪教程' and del_flag = '0'
+ )
+ </insert>
+
<select id="selectSysFaqList" parameterType="com.ruoyi.system.domain.SysFaq" resultMap="SysFaqResult">
<include refid="selectSysFaqVo"/>
<where>
--
Gitblit v1.7.1