|
@@ -64,7 +64,7 @@
|
|
|
ctop_external_material_collection
|
|
|
<where>
|
|
|
<if test="materialName != null">
|
|
|
- AND material_name = #{materialName}
|
|
|
+ AND material_name like CONCAT(CONCAT('%',#{materialName}, '%')
|
|
|
</if>
|
|
|
<if test="mediaType != null">
|
|
|
AND media_type =#{mediaType}
|
|
@@ -90,6 +90,9 @@
|
|
|
<if test="materialSource != null">
|
|
|
AND material_source = #{materialSource}
|
|
|
</if>
|
|
|
+ <if test="platePosition != null">
|
|
|
+ AND plate_position LIKE CONCAT(CONCAT('%',#{platePosition}, '%')
|
|
|
+ </if>
|
|
|
</where>
|
|
|
</select>
|
|
|
|
|
@@ -100,7 +103,7 @@
|
|
|
ctop_external_material_collection
|
|
|
<where>
|
|
|
<if test="materialName != null">
|
|
|
- AND material_name = #{materialName}
|
|
|
+ AND material_name like CONCAT(CONCAT('%',#{materialName}, '%')
|
|
|
</if>
|
|
|
<if test="mediaType != null">
|
|
|
AND media_type =#{mediaType}
|
|
@@ -126,6 +129,9 @@
|
|
|
<if test="materialSource != null">
|
|
|
AND material_source = #{materialSource}
|
|
|
</if>
|
|
|
+ <if test="platePosition != null">
|
|
|
+ AND plate_position LIKE CONCAT(CONCAT('%',#{platePosition}, '%')
|
|
|
+ </if>
|
|
|
</where>
|
|
|
ORDER BY create_time DESC
|
|
|
</select>
|