bug修改
This commit is contained in:
parent
c8c6afd53b
commit
25dde05710
|
|
@ -97,12 +97,18 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<if test="ifTotalIntoInventory != null ">
|
||||
and iog.total_num <![CDATA[ > ]]> iog.totalIntoNum
|
||||
</if>
|
||||
<if test="startDateTime != null">
|
||||
<if test="startTime != null">
|
||||
and iog.request_arrival_time <![CDATA[ >= ]]> #{startTime}
|
||||
</if>
|
||||
<if test="endDateTime != null">
|
||||
<if test="endTime != null">
|
||||
and iog.request_arrival_time <![CDATA[ <= ]]> #{endTime}
|
||||
</if>
|
||||
<if test="startDateTime != null">
|
||||
and iog.request_arrival_time <![CDATA[ >= ]]> Date_format(#{startDateTime},'%Y-%m-%d')
|
||||
</if>
|
||||
<if test="endDateTime != null">
|
||||
and iog.request_arrival_time <![CDATA[ <= ]]> Date_format(#{endDateTime},'%Y-%m-%d')
|
||||
</if>
|
||||
<if test="orderGoodsCodeList != null and orderGoodsCodeList.size() > 0">
|
||||
and iog.order_goods_code in
|
||||
<foreach collection="orderGoodsCodeList" item="planCode" separator="," open="(" close=")">
|
||||
|
|
|
|||
Loading…
Reference in New Issue