执行单添加发牌状态与日期
This commit is contained in:
@@ -42,6 +42,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="createStartTime != null">
|
||||
and eo.CREATE_TIME >= #{createStartTime}
|
||||
</if>
|
||||
<if test="invoiceStatus != null">
|
||||
and eo.INVOICE_Status = #{invoiceStatus}
|
||||
</if>
|
||||
<if test="createEndTime != null">
|
||||
and eo.CREATE_TIME <= #{createEndTime} + 1 - 1/86400
|
||||
</if>
|
||||
@@ -55,11 +58,19 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
and eo.GOODS_NUMBER like concat('%', #{goodsNumber}, '%')
|
||||
</if>
|
||||
<if test="invoiceStartTime != null">
|
||||
and eo.INVOICE_DATE >= #{invoiceStartTime}
|
||||
and eo.INVOICE_DATE >= #{invoiceStartTime,jdbcType=DATE}
|
||||
</if>
|
||||
<if test="invoiceEndTime != null">
|
||||
and eo.INVOICE_DATE <= #{invoiceEndTime}
|
||||
and eo.INVOICE_DATE <![CDATA[ < ]]> DATEADD(DAY, 1, #{invoiceEndTime,jdbcType=DATE})
|
||||
</if>
|
||||
<!-- <if test="invoiceStartTime != null">-->
|
||||
<!-- and eo.INVOICE_DATE >= #{invoiceStartTime}-->
|
||||
<!-- </if>-->
|
||||
<!-- <if test="invoiceEndTime != null">-->
|
||||
<!-- -- and eo.INVOICE_DATE <= #{invoiceEndTime}-->
|
||||
<!-- and eo.INVOICE_DATE <![CDATA[ < ]]> DATEADD(DAY, 1, #{invoiceEndTime})-->
|
||||
<!-- </if>-->
|
||||
|
||||
<if test="businessUnit != null and businessUnit != ''">
|
||||
and eo.BUSINESS_UNIT like concat('%', #{businessUnit}, '%')
|
||||
</if>
|
||||
@@ -90,9 +101,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="organizationName != null and organizationName != ''">
|
||||
and eo.ORGANIZATION_NAME like concat('%', #{organizationName}, '%')
|
||||
</if>
|
||||
<if test="topOrganizationId != null ">
|
||||
and eo.TOP_ORGANIZATION_ID = #{topOrganizationId}
|
||||
</if>
|
||||
|
||||
</where>
|
||||
</sql>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user