<iftest="materialCode != null and materialCode != ''"> and material_code = #{materialCode}</if>
<iftest="materialCode != null and materialCode != ''"> and material_code like concat('%', #{materialCode}, '%')</if>
<iftest="materialName != null and materialName != ''"> and material_name = #{materialName}</if>
<iftest="materialName != null and materialName != ''"> and material_name like concat('%', #{materialName}, '%')</if>
<iftest="equipCode != null and equipCode != ''"> and equip_code = #{equipCode}</if>
<iftest="equipCode != null and equipCode != ''"> and equip_code like concat('%', #{equipCode}, '%')</if>
<iftest="equipName != null and equipName != ''"> and equip_name = #{equipName}</if>
<iftest="equipName != null and equipName != ''"> and equip_name like concat('%', #{equipName}, '%')</if>
<iftest="equipModel != null and equipModel != ''"> and equip_model = #{equipModel}</if>
<iftest="equipModel != null and equipModel != ''"> and equip_model concat('%', #{equipModel}, '%')</if>
<iftest="params.beginEquipStatus != null and params.beginEquipStatus != '' and params.endEquipStatus != null and params.endEquipStatus != ''"> and equip_status between #{params.beginEquipStatus} and #{params.endEquipStatus}</if>
<iftest="params.beginEquipStatus != null and params.beginEquipStatus != '' and params.endEquipStatus != null and params.endEquipStatus != ''"> and equip_status between #{params.beginEquipStatus} and #{params.endEquipStatus}</if>
<iftest="factoryCode != null and factoryCode != ''"> and factory_code = #{factoryCode}</if>
<iftest="factoryCode != null and factoryCode != ''"> and factory_code = #{factoryCode}</if>
<iftest="equipPrice != null "> and equip_price = #{equipPrice}</if>
<iftest="equipPrice != null "> and equip_price = #{equipPrice}</if>
<iftest="equipStatus != null and equipStatus != ''"> and equip_status = #{equipStatus}</if>
<iftest="manufacturerCode != null and manufacturerCode != ''"> and manufacturer_code = #{manufacturerCode}</if>
<iftest="manufacturerCode != null and manufacturerCode != ''"> and manufacturer_code = #{manufacturerCode}</if>
<iftest="params.beginEquipProductionDate != null and params.beginEquipProductionDate != '' and params.endEquipProductionDate != null and params.endEquipProductionDate != ''"> and equip_production_date between #{params.beginEquipProductionDate} and #{params.endEquipProductionDate}</if>
<iftest="params.beginEquipProductionDate != null and params.beginEquipProductionDate != '' and params.endEquipProductionDate != null and params.endEquipProductionDate != ''"> and equip_production_date between #{params.beginEquipProductionDate} and #{params.endEquipProductionDate}</if>
<iftest="department != null and department != ''"> and department = #{department}</if>
<iftest="department != null and department != ''"> and department = #{department}</if>
@ -106,6 +108,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"