bug修改

This commit is contained in:
jjLv 2025-09-10 09:03:06 +08:00
parent c8c6afd53b
commit 25dde05710
1 changed files with 8 additions and 2 deletions

View File

@ -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=")">