فهرست منبع

查询复运修改状态

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'">