|
|
@@ -172,6 +172,12 @@
|
|
|
<if test="saleDetailDto.customerName !=null and saleDetailDto.customerName != ''">
|
|
|
and po.customer_name like concat('%', #{saleDetailDto.customerName}, '%')
|
|
|
</if>
|
|
|
+ <if test="saleDetailDto.code !=null and saleDetailDto.code != ''">
|
|
|
+ and poi.goods_no like concat('%', #{saleDetailDto.code}, '%')
|
|
|
+ </if>
|
|
|
+ <if test="saleDetailDto.brandName !=null and saleDetailDto.brandName != ''">
|
|
|
+ and poi.brand_name like concat('%', #{saleDetailDto.brandName}, '%')
|
|
|
+ </if>
|
|
|
<if test="saleDetailDto.salerName !=null and saleDetailDto.salerName != ''">
|
|
|
and po.saler_name like concat('%', #{saleDetailDto.salerName}, '%')
|
|
|
</if>
|
|
|
@@ -334,6 +340,12 @@
|
|
|
<if test="customerName !=null and customerName != ''">
|
|
|
and po.customer_name like concat('%', #{customerName}, '%')
|
|
|
</if>
|
|
|
+ <if test="code !=null and code != ''">
|
|
|
+ and poi.goods_no like concat('%', #{code}, '%')
|
|
|
+ </if>
|
|
|
+ <if test="brandName !=null and brandName != ''">
|
|
|
+ and poi.brand_name like concat('%', #{brandName}, '%')
|
|
|
+ </if>
|
|
|
<if test="salerName !=null and salerName != ''">
|
|
|
and po.saler_name like concat('%', #{salerName}, '%')
|
|
|
</if>
|