wanglt před 3 měsíci
rodič
revize
b1ab1e3367

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

@@ -823,6 +823,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
                         </otherwise>
                     </choose>
                 </if>
+                <if test="repairOrderNum != null and repairOrderNum == 1 and (restartNum == null or restartNum != 1)">
+                    AND wo.repair_method!='2'
+                </if>
+                <if test="restartNum != null and restartNum == 1 and (repairOrderNum == null or repairOrderNum != 1)">
+                    AND wo.repair_method='2'
+                </if>
                 <if test="pcsId != null "> AND wo.pcs_station_pid = #{pcsId}</if>
                 <if test="centerId != null "> AND wo.gxt_center_id = #{centerId}</if>
                 <if test="remark != null and remark != '' ">