@ -66,6 +68,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<iftest="warehouseDeptType != null and warehouseDeptType != ''"> and warehouse_dept_type = #{warehouseDeptType}</if>
<iftest="warehouseEmployee != null and warehouseEmployee != ''"> and warehouse_employee = #{warehouseEmployee}</if>
<iftest="params.beginCreateTime != null and params.beginCreateTime != '' and params.endCreateTime != null and params.endCreateTime != ''"> and Date(create_time) between #{params.beginCreateTime} and #{params.endCreateTime}</if>
<iftest="materialNo != null and materialNo != ''">
and warehouse_storage_code in ( select warehouse_storage_code from warehouse_storage_order_detail where material_no like concat('%', #{materialNo}, '%'))
</if>
<iftest="materialName != null and materialName != ''">
and warehouse_storage_code in ( select warehouse_storage_code from warehouse_storage_order_detail where material_name like concat('%', #{materialName}, '%'))