|
|
|
@ -76,7 +76,8 @@ FROM
|
|
|
|
|
<if test="materialType != null "> and material_type = #{materialType}</if>
|
|
|
|
|
<if test="classFirst != null "> and class_first = #{classFirst}</if>
|
|
|
|
|
<if test="classSecond != null and classSecond != ''"> and class_second = #{classSecond}</if>
|
|
|
|
|
<if test="materialName != null and materialName != ''"> and material_name like concat('%', #{materialName}, '%')</if>
|
|
|
|
|
<!--<if test="materialName != null and materialName != ''"> and material_name like concat('%', #{materialName}, '%')</if>-->
|
|
|
|
|
<if test="materialName != null and materialName != ''"> and material_name = #{materialName}</if>
|
|
|
|
|
<if test="materialSpecs != null and materialSpecs != ''"> and material_specs = #{materialSpecs}</if>
|
|
|
|
|
<if test="materialQuantity != null and materialQuantity != ''"> and material_quantity = #{materialQuantity}</if>
|
|
|
|
|
<if test="reserveLocation != null and reserveLocation != ''"> and reserve_location like concat('%', #{reserveLocation}, '%')</if>
|
|
|
|
|