瀏覽代碼

查询复运修改状态

ouyj 3 月之前
父節點
當前提交
728706878b
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      ygtx-gxt/src/main/resources/mapper/gxt/GxtRepairOrderMapper.xml

+ 3 - 0
ygtx-gxt/src/main/resources/mapper/gxt/GxtRepairOrderMapper.xml

@@ -1063,6 +1063,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="excludeRepairMethod2 != null and excludeRepairMethod2">
                 and repair_method != '2'
             </if>
+            <if test="orderByField != null and orderByField == 'restartTime'">
+                and work_order_status IN ('completed','archived')
+            </if>
         </where>
         <choose>
             <when test="orderByField != null and orderByField == 'occurTime'">