Browse Source

驾驶舱-样式优化

wanglt 3 months ago
parent
commit
7a7a06571d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      ygtx-gxt/src/main/resources/mapper/gxt/GxtWorkOrderMapper.xml

+ 2 - 2
ygtx-gxt/src/main/resources/mapper/gxt/GxtWorkOrderMapper.xml

@@ -745,7 +745,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
                     </foreach>
                     </foreach>
                 </if>
                 </if>
                 <if test="dataPermission != null and dataPermission != ''">${dataPermission}</if>
                 <if test="dataPermission != null and dataPermission != ''">${dataPermission}</if>
-                AND p.dept_name IS NOT NULL AND wo.work_order_status IS NOT NULL AND wo.work_order_status='archived'
+                AND p.dept_name IS NOT NULL AND wo.work_order_status IS NOT NULL AND wo.work_order_status IN ('completed','archived')
             </where>
             </where>
 
 
             UNION ALL
             UNION ALL
@@ -812,7 +812,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
                     </foreach>
                     </foreach>
                 </if>
                 </if>
                 <if test="dataPermission != null and dataPermission != ''">${dataPermission}</if>
                 <if test="dataPermission != null and dataPermission != ''">${dataPermission}</if>
-                AND p.dept_name IS NOT NULL AND wo.work_order_status IS NOT NULL AND wo.work_order_status='archived'
+                AND p.dept_name IS NOT NULL AND wo.work_order_status IS NOT NULL AND wo.work_order_status IN ('completed','archived')
             </where>
             </where>
             ) o
             ) o
         <where>
         <where>