From 51a551a7f8eae7654f973d45cd2fa2952774673d Mon Sep 17 00:00:00 2001
From: linwei <872216696@qq.com>
Date: Fri, 07 Aug 2026 10:56:55 +0800
Subject: [PATCH] perf(task): 优化巡查任务审核性能并添加详细日志记录

---
 drone-service/drone-gd/src/main/java/org/sxkj/gd/flyer/mapper/GdFlyerMapper.xml |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/drone-service/drone-gd/src/main/java/org/sxkj/gd/flyer/mapper/GdFlyerMapper.xml b/drone-service/drone-gd/src/main/java/org/sxkj/gd/flyer/mapper/GdFlyerMapper.xml
index 3ff9c34..2f2a9c5 100644
--- a/drone-service/drone-gd/src/main/java/org/sxkj/gd/flyer/mapper/GdFlyerMapper.xml
+++ b/drone-service/drone-gd/src/main/java/org/sxkj/gd/flyer/mapper/GdFlyerMapper.xml
@@ -11,7 +11,7 @@
         <result column="project_experience" property="projectExperience"/>
         <result column="technical_strength" property="technicalStrength"/>
         <result column="skilled_uav_type" property="skilledUavType"/>
-        <result column="skilled_task_type" property="skilledTaskType"/>
+        <result column="skilled_task_type" property="skilledTaskType" typeHandler="org.sxkj.common.handler.GenericListTypeHandler"/>
         <result column="area_code" property="areaCode"/>
         <result column="flyer_address" property="flyerAddress"/>
         <result column="certification" property="certification" typeHandler="com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler"/>
@@ -33,7 +33,7 @@
         <result column="project_experience" property="projectExperience"/>
         <result column="technical_strength" property="technicalStrength"/>
         <result column="skilled_uav_type" property="skilledUavType"/>
-        <result column="skilled_task_type" property="skilledTaskType"/>
+        <result column="skilled_task_type" property="skilledTaskType" typeHandler="org.sxkj.common.handler.GenericListTypeHandler"/>
         <result column="area_code" property="areaCode"/>
         <result column="flyer_address" property="flyerAddress"/>
         <result column="certification" property="certification" typeHandler="com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler"/>
@@ -65,9 +65,9 @@
             <if test="param2.skilledUavType != null and param2.skilledUavType != ''">
                 and skilled_uav_type = #{param2.skilledUavType}
             </if>
-            <if test="param2.skilledTaskType != null and param2.skilledTaskType != ''">
-                and skilled_task_type = #{param2.skilledTaskType}
-            </if>
+            <!-- <if test="param2.skilledTaskType != null and param2.skilledTaskType != ''"> -->
+            <!--     and skilled_task_type = #{param2.skilledTaskType} -->
+            <!-- </if> -->
             <!-- <if test="param2.deptList != null and param2.deptList.size > 0"> -->
             <!--     AND create_dept in -->
             <!--     <foreach collection="param2.deptList" item="deptId" open="(" separator="," close=")"> -->
@@ -75,7 +75,7 @@
             <!--     </foreach> -->
             <!-- </if> -->
         </where>
-        ORDER BY task_type_match_flag DESC, create_time DESC
+        ORDER BY area_match_flag DESC, create_time DESC
     </select>
 
 

--
Gitblit v1.9.3