From 86d0558a3b81c12d03a2d90113490e7c5e147c54 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期二, 24 九月 2024 15:27:13 +0800
Subject: [PATCH] 大屏公安部考核数据

---
 ycl-server/src/main/resources/mapper/zgyw/WorkOrderMapper.xml |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ycl-server/src/main/resources/mapper/zgyw/WorkOrderMapper.xml b/ycl-server/src/main/resources/mapper/zgyw/WorkOrderMapper.xml
index 3be2778..57d8df7 100644
--- a/ycl-server/src/main/resources/mapper/zgyw/WorkOrderMapper.xml
+++ b/ycl-server/src/main/resources/mapper/zgyw/WorkOrderMapper.xml
@@ -209,7 +209,7 @@
         LEFT JOIN t_yw_point p ON w.serial_number = p.serial_number AND p.deleted = 0
         WHERE w.deleted = 0
         <if test="dataScope == 1"> AND p.province_tag = 1 </if>
-        <if test="dataScope == 3"> AND p.important_tag = 1 </if>
+        <if test="dataScope == 3"> AND p.dept_tag = 1 </if>
         <if test="deptId != null"> AND p.dept_id = #{deptId} </if>
     </select>
 
@@ -224,10 +224,10 @@
         LEFT JOIN t_work_order w ON w.serial_number = p.serial_number AND w.deleted = 0
         WHERE d.del_flag = 0 AND d.area IS NOT NULL
         <if test="dataScope == 1"> AND p.province_tag = 1 </if>
-        <if test="dataScope == 3"> AND p.important_tag = 1 </if>
+        <if test="dataScope == 3"> AND p.dept_tag = 1 </if>
         <!-- <if test="deptId != null"> AND p.dept_id = #{deptId} </if> -->
         GROUP BY d.area, d.dept_id
-        ORDER BY d.dept_id
+        ORDER BY d.area_code
     </select>
 
     <select id="hasErrorWorkOrderList" resultType="com.ycl.platform.domain.vo.DeviceInfoVO">

--
Gitblit v1.8.0