hejiahui 3 лет назад
Родитель
Сommit
489c60a078
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/main/resources/com/steerinfo/dil/mapper/AmstruckInwardPlanMapper.xml

+ 1 - 1
src/main/resources/com/steerinfo/dil/mapper/AmstruckInwardPlanMapper.xml

@@ -656,7 +656,7 @@
             and to_date(#{newTime}, 'yyyy-mm-dd hh24:mi:ss') <= AIR.DUE_DATE
             and to_date(#{newTime}, 'yyyy-mm-dd hh24:mi:ss') <= AIR.DUE_DATE
         </if>
         </if>
         <if test="con != null">
         <if test="con != null">
-            and rm.material_name like #{con}
+            and rm.material_name like #{con}  or AIP.PLAN_NUMBER like #{con} or  AIR.REQUIREMENT_NUMBER like #{con}
         </if>
         </if>
         )
         )
         <where>
         <where>