瀏覽代碼

fix lesson search

huodongdong 6 年之前
父節點
當前提交
938ebbaf0c

+ 1 - 1
rankin-product-service/src/main/java/cn/rankin/productservice/controller/cms/LessonController.java

@@ -50,7 +50,7 @@ public class LessonController {
 
         String name = searchDTO.getName();
         if (!StringUtils.isEmpty(name)) {
-            lesson.setTitle(name);
+            lesson.setTitle("%" + name + "%");
         }
 
         lesson.setStatus(searchDTO.getStatus());