按日期查询报错;

This commit is contained in:
王奎兴
2026-06-03 09:36:56 +08:00
parent 1382897b22
commit 32dde06899
4 changed files with 12 additions and 0 deletions
@@ -270,6 +270,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="boxPalletNo != null and boxPalletNo != ''">
and a.BOX_PALLET_NO like concat('%', #{boxPalletNo}, '%')
</if>
<if test="expiryDate != null and expiryDate != ''">
AND TO_CHAR(a.expiry_date, 'yyyy-MM-dd') = #{expiryDate}
</if>
<if test="productionDate != null and productionDate != ''">
AND TO_CHAR(a.production_date, 'yyyy-MM-dd') = #{productionDate}
</if>
</sql>
<select id="queryList" parameterType="com.mhd.oms.domain.reservationMaterialInventory.repository.todo.ReservationMaterialInventoryDO" resultMap="MaterialInventoryResult">