ソースを参照

外部爆量素材库——查询 添加板位查询

zhaoxian 3 年 前
コミット
0624f4d932

+ 4 - 4
jeecg-boot-module-system/src/main/java/org/jeecg/modules/fileupload/mapper/xml/ExternalMaterialCollectionMapper.xml

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