业务单据类型查询;

This commit is contained in:
王奎兴
2026-06-04 14:14:02 +08:00
parent fb4da52069
commit d7b2c73a57
2 changed files with 2 additions and 2 deletions
@@ -273,7 +273,7 @@
and a.order_type_code = #{orderTypeCode}
</if>
<if test="orderTypeName != null and orderTypeName != ''">
and a.order_type_name like concat('%', #{orderTypeName}, '%')
and (a.BUSINESS_TYPE like concat('%', #{orderTypeName}, '%') or a.ORDER_TYPE_CODE like concat('%', #{orderTypeName}, '%'))
</if>
<if test="supplierId != null ">
and a.supplier_id = #{supplierId}
@@ -350,7 +350,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
and date_format(a.outbound_date,'%Y-%m-%d') &lt;= #{outboundDateEnd}
</if>
<if test="orderTypeName != null and orderTypeName != ''">
and a.order_type_name like concat('%', #{orderTypeName}, '%')
and (a.BUSINESS_TYPE like concat('%', #{orderTypeName}, '%') or a.ORDER_TYPE_CODE like concat('%', #{orderTypeName}, '%'))
</if>
<if test="xfStatus != null and xfStatus != '' and xfStatus == '已下发'">
and b.out_order_number is not null