luobang 1 年之前
父节点
当前提交
b59882d637
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/main/resources/com/steerinfo/dil/mapper/StatisticalReportMapper.xml

+ 3 - 0
src/main/resources/com/steerinfo/dil/mapper/StatisticalReportMapper.xml

@@ -2383,6 +2383,9 @@
                         AND NVL(ASOM.WARRANTY_NUMBER,0) = 1
                         AND ASOM.PREVIOUS_ORDER_NUMBER IS  NULL)
                     </if>
+                    <if test="saleNo != null">
+                        and aso.sale_number like '%${saleNo}%'
+                    </if>
                     order by ASO.SALE_ORDER_ID DESC, ASOM.SALE_ORDER_MATERIAL_ID DESC,OO.ORDER_ID  DESC
                      )
     </select>