src/main/resources/mapper/MatMapper.xml
@@ -68,6 +68,12 @@ <if test="maktx != null and maktx != ''"> and mm.maktx like concat('%',#{maktx},'%') </if> <if test="specs != null and specs != ''"> and mm.specs like concat('%',#{specs},'%') </if> <if test="model != null and model != ''"> and mm.model like concat('%',#{model},'%') </if> ORDER BY mm.create_time DESC </select>