From 4f3a98f19143865cdc1de4791e8a95d96bd40c65 Mon Sep 17 00:00:00 2001
From: maven <2163098428@qq.com>
Date: 星期五, 01 八月 2025 13:27:59 +0800
Subject: [PATCH] yys 密码已重置

---
 cnas-manage/src/main/resources/mapper/ClientSatisfactionMapper.xml |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 48 insertions(+), 0 deletions(-)

diff --git a/cnas-manage/src/main/resources/mapper/ClientSatisfactionMapper.xml b/cnas-manage/src/main/resources/mapper/ClientSatisfactionMapper.xml
new file mode 100644
index 0000000..ea097e1
--- /dev/null
+++ b/cnas-manage/src/main/resources/mapper/ClientSatisfactionMapper.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
+<mapper namespace="com.ruoyi.manage.mapper.ClientSatisfactionMapper">
+
+    <!-- 瀹㈡埛婊℃剰搴﹁皟鏌� -->
+    <select id="pageClientSatisfaction" resultType="com.ruoyi.manage.pojo.ClientSatisfaction">
+        select *
+        from (select *
+              from cnas_client_satisfaction
+              order by create_time desc
+             ) a
+        <if test="ew.customSqlSegment != null and ew.customSqlSegment != ''">
+            ${ew.customSqlSegment}
+        </if>
+    </select>
+    <select id="exportWordClientSatisfaction" resultType="com.ruoyi.manage.dto.ClientSatisfactionDto">
+        select *,
+               CASE WHEN service_attitude = 0 THEN '鈽�'
+                   ELSE '鈻�' END AS serviceAttitude0,
+               CASE WHEN service_attitude = 1 THEN '鈽�'
+                   ELSE '鈻�' END AS serviceAttitude1,
+               CASE WHEN service_attitude = 2 THEN '鈽�'
+                   ELSE '鈻�' END AS serviceAttitude2,
+               service_attitude_suggestion,
+               CASE WHEN technical_competence = 0 THEN '鈽�'
+                    ELSE '鈻�' END AS technicalCompetence0,
+               CASE WHEN technical_competence = 1 THEN '鈽�'
+                    ELSE '鈻�' END AS technicalCompetence1,
+               CASE WHEN technical_competence = 2 THEN '鈽�'
+                    ELSE '鈻�' END AS technicalCompetence2,
+               technical_competence_suggestion,
+               CASE WHEN inspection_work = 0 THEN '鈽�'
+                    ELSE '鈻�' END AS inspectionWork0,
+               CASE WHEN inspection_work = 1 THEN '鈽�'
+                    ELSE '鈻�' END AS inspectionWork1,
+               CASE WHEN inspection_work = 2 THEN '鈽�'
+                    ELSE '鈻�' END AS inspectionWork2,
+               inspection_work_suggestion,
+               CASE WHEN reasonable_fees = 0 THEN '鈽�'
+                    ELSE '鈻�' END AS reasonableFees0,
+               CASE WHEN reasonable_fees = 1 THEN '鈽�'
+                    ELSE '鈻�' END AS reasonableFees1,
+               CASE WHEN reasonable_fees = 2 THEN '鈽�'
+                    ELSE '鈻�' END AS reasonableFees2
+        from cnas_client_satisfaction
+        where client_satisfaction_id = #{clientSatisfactionId}
+    </select>
+</mapper>

--
Gitblit v1.9.3