业务单据类型查询;
This commit is contained in:
+1
-1
@@ -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}
|
||||
|
||||
+1
-1
@@ -350,7 +350,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
and date_format(a.outbound_date,'%Y-%m-%d') <= #{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
|
||||
|
||||
Reference in New Issue
Block a user