是否下发查询;
This commit is contained in:
+8
-8
@@ -337,20 +337,20 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
and a.create_by_name like concat('%', #{createByName}, '%')
|
||||
</if>
|
||||
<if test="createTimeStart != null and createTimeStart != ''">
|
||||
and date_format(a.create_time,'%Y-%m-%d') >= #{createTimeStart}
|
||||
and a.create_time >= #{createTimeStart}
|
||||
</if>
|
||||
<if test="createTimeEnd != null and createTimeEnd != ''">
|
||||
and date_format(a.create_time,'%Y-%m-%d') <= #{createTimeEnd}
|
||||
and a.create_time <![CDATA[ < ]]> date_add(#{createTimeEnd}, interval 1 day)
|
||||
</if>
|
||||
<if test="outboundDateStart != null and outboundDateStart != ''">
|
||||
and a.outbound_date >= #{outboundDateStart}
|
||||
</if>
|
||||
<if test="outboundDateEnd != null and outboundDateEnd != ''">
|
||||
and a.outbound_date <![CDATA[ < ]]> date_add(#{outboundDateEnd}, interval 1 day)
|
||||
</if>
|
||||
<if test="organizationId != null ">
|
||||
and a.organization_id = #{organizationId}
|
||||
</if>
|
||||
<if test="outboundDateStart != null and outboundDateStart != ''">
|
||||
and date_format(a.outbound_date,'%Y-%m-%d') >= #{outboundDateStart}
|
||||
</if>
|
||||
<if test="outboundDateEnd != null and outboundDateEnd != ''">
|
||||
and date_format(a.outbound_date,'%Y-%m-%d') <= #{outboundDateEnd}
|
||||
</if>
|
||||
<if test="orderTypeName != null and orderTypeName != ''">
|
||||
and (a.BUSINESS_TYPE like concat('%', #{orderTypeName}, '%') or a.ORDER_TYPE_CODE like concat('%', #{orderTypeName}, '%'))
|
||||
</if>
|
||||
|
||||
Reference in New Issue
Block a user