From 70f7f9d6f3a431662722f76e4da93cd3b4823857 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期四, 22 八月 2024 18:51:00 +0800
Subject: [PATCH] 不定期抽检图片和录像完整

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

diff --git a/ycl-server/src/main/resources/mapper/zgyw/WorkOrderMapper.xml b/ycl-server/src/main/resources/mapper/zgyw/WorkOrderMapper.xml
index 5445a93..a8335db 100644
--- a/ycl-server/src/main/resources/mapper/zgyw/WorkOrderMapper.xml
+++ b/ycl-server/src/main/resources/mapper/zgyw/WorkOrderMapper.xml
@@ -14,6 +14,7 @@
         <result column="yw_condition" property="ywCondition"/>
         <result column="yw_check_result" property="ywCheckResult"/>
         <result column="overtime" property="overtime"/>
+        <result column="deduct" property="deduct"/>
     </resultMap>
 
     <select id="page" resultType="com.ycl.platform.domain.vo.WorkOrderVO">
@@ -166,7 +167,7 @@
         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 = 'province' </if>
-        <if test="deptId != null"> AND p.dept_id = #{deptId} </if>
+        <if test="deptId != null"> /*AND p.dept_id = #{deptId}*/ </if>
         GROUP BY d.area, d.dept_id
         ORDER BY d.dept_id
     </select>

--
Gitblit v1.8.0