From ae04c5d925b0094e1a1ba1f2ce0bf6da0a6fee04 Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期四, 22 一月 2026 17:27:55 +0800
Subject: [PATCH] 2026.1.22 1. 新增台账上传office文档功能; 2. 新增office文档存储原始文档名字功能
---
src/main/resources/mapper/EvaluationMapper.xml | 74 ++++++++++++++++++++++++++++++++++++
1 files changed, 73 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/EvaluationMapper.xml b/src/main/resources/mapper/EvaluationMapper.xml
index 391e492..7c8be3b 100644
--- a/src/main/resources/mapper/EvaluationMapper.xml
+++ b/src/main/resources/mapper/EvaluationMapper.xml
@@ -52,7 +52,10 @@
E_ResultScoreBef, E_PromissedNum, E_ChangedNum, ResultStandardAft, E_ResultScoreAft,
E_CreateDate, E_UpdateDate, E_Extension1, E_Extension2, E_Extension3, E_Remark
</sql>
-
+
+ <resultMap id="CreditInfoVo" type="cn.flightfeather.supervision.lightshare.vo.CreditInfoVo">
+
+ </resultMap>
<select id="getAssessments" resultType="map">
select
b.UI_GUID as userId,
@@ -76,4 +79,73 @@
</if>
order by a.E_UpdateDate desc
</select>
+
+ <select id="searchGradeList" resultMap="CreditInfoVo">
+ SELECT
+ b.UI_GUID AS userId,
+ b.UI_RealName AS name,
+ b.UI_Extension2 AS sceneType,
+ d.CI_Name AS departmentName,
+ d.BI_Management_Company AS managementCompany,
+ a.E_CreateDate AS updateTime,
+ a.E_ResultScoreBef AS score,
+ b.UI_Extension1 AS district,
+ d.BI_Town_Name AS town,
+ b.UI_IsEnable AS status
+ FROM
+ sm_t_userinfo AS b
+ LEFT JOIN ea_t_baseinfo AS d ON b.UI_GUID = d.BI_GUID
+ LEFT JOIN (
+ SELECT <include refid="Base_Column_List" /> FROM ea_t_evaluation AS t_e
+ LEFT JOIN sm_t_evaluationrule AS t_r ON t_e.ST_GUID = t_r.ER_GUID
+ WHERE t_e.E_ScenseName = '${period}' AND t_r.ER_RuleType = 0
+ ) AS a ON a.I_GUID = b.UI_GUID
+ <where>
+ b.UI_IsEnable = 1
+ AND (b.UI_WorkNo != 'test' OR b.UI_WorkNo IS NULL)
+ <if test="provinceCode != null">
+ AND d.BI_Province_Code = #{provinceCode}
+ </if>
+ <if test="provinceName != null">
+ AND d.BI_Province_Name = #{provinceName}
+ </if>
+ <if test="cityCode != null">
+ AND d.BI_City_Code = #{cityCode}
+ </if>
+ <if test="cityName != null">
+ AND d.BI_City_Name = #{cityName}
+ </if>
+ <if test="districtCode != null">
+ AND d.BI_District_Code = #{districtCode}
+ </if>
+ <if test="districtName != null">
+ AND d.BI_District_Name = #{districtName}
+ </if>
+ <if test="townCode != null">
+ AND d.BI_Town_Code = #{townCode}
+ </if>
+ <if test="townName != null">
+ AND d.BI_Town_Name = #{townName}
+ </if>
+ <if test="areaCode != null">
+ AND d.BI_Area_Code = #{areaCode}
+ </if>
+ <if test="area != null">
+ AND d.BI_Area = #{area}
+ </if>
+ <if test="mcId != null">
+ AND d.BI_Management_Company_Id = #{mcId}
+ </if>
+ <if test="mcName != null">
+ AND d.BI_Management_Company = #{mcName}
+ </if>
+ <if test="sceneTypes.size() != 0">
+ AND b.UI_Extension2 in
+ <foreach collection="sceneTypes" item="type" open="(" separator="," close=")">
+ #{type, jdbcType=VARCHAR}
+ </foreach>
+ </if>
+ </where>
+ ORDER BY CONVERT (a.E_ResultScoreBef, signed) ${sorts}
+ </select>
</mapper>
\ No newline at end of file
--
Gitblit v1.9.3