|
|
@ -127,6 +127,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="deliveryStatus != null and deliveryStatus != ''"> and s.delivery_status = #{deliveryStatus}</if> |
|
|
|
<if test="closeStatus != null and closeStatus != ''"> and s.close_status = #{closeStatus}</if> |
|
|
|
<if test="invoice != null and invoice != ''"> and s.invoice = #{invoice}</if> |
|
|
|
<if test="salesOrderType != null and salesOrderType != ''"> and s.sales_order_type = #{salesOrderType}</if> |
|
|
|
<if test="params.beginCreateTime != null and params.beginCreatTime != '' and params.endCreateTime != null and params.endCreateTime != '' "> |
|
|
|
and s.create_time between #{params.beginCreateTime} and #{params.endCreateTime} |
|
|
|
</if> |
|
|
@ -190,6 +191,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="deliveryStatus != null and deliveryStatus != ''"> and s.delivery_status = #{deliveryStatus}</if> |
|
|
|
<if test="closeStatus != null and closeStatus != ''"> and s.close_status = #{closeStatus}</if> |
|
|
|
<if test="invoice != null and invoice != ''"> and s.invoice = #{invoice}</if> |
|
|
|
<if test="salesOrderType != null and salesOrderType != ''"> and s.sales_order_type = #{salesOrderType}</if> |
|
|
|
<if test="params.beginCreateTime != null and params.beginCreatTime != '' and params.endCreateTime != null and params.endCreateTime != '' "> |
|
|
|
and s.create_time between #{params.beginCreateTime} and #{params.endCreateTime} |
|
|
|
</if> |
|
|
|