<iftest="purchaseDeptId != null "> and purchase_dept_id = #{purchaseDeptId}</if>
<iftest="handledByUserId != null "> and handled_by_user_id = #{handledByUserId}</if>
<iftest="purchaseName != null and purchaseName != ''"> and purchase_name like concat('%', #{purchaseName}, '%')</if>
<iftest="specifications != null and specifications != ''"> and specifications = #{specifications}</if>
<iftest="modelType != null and modelType != ''"> and model_type = #{modelType}</if>
<iftest="applicationDescription != null and applicationDescription != ''"> and application_description = #{applicationDescription}</if>
<iftest="applicationDescription != null and applicationDescription != ''"> and application_description like concat('%', #{applicationDescription}, '%')</if>
<iftest="userId != null "> and user_id = #{userId}</if>
<iftest="price != null "> and price = #{price}</if>
<iftest="count != null "> and count = #{count}</if>
...
...
@@ -90,6 +93,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"