Browse Source

修改标题模糊查询

zs 11 tháng trước cách đây
mục cha
commit
c47679edb5

+ 2 - 2
src/interface/core/course.interface.ts

@@ -40,8 +40,8 @@ export class FVO_course {
 
 export class QDTO_course extends SearchBase {
   constructor() {
-    const like_prop = [];
-    const props = ['year', 'title', 'type', 'brand', 'time', 'is_use', 'status'];
+    const like_prop = ['title'];
+    const props = ['year', 'type', 'brand', 'title', 'time', 'is_use', 'status'];
     const mapping = [];
     super({ like_prop, props, mapping });
   }

+ 2 - 2
src/interface/core/video.interface.ts

@@ -44,8 +44,8 @@ export class FVO_video {
 
 export class QDTO_video extends SearchBase {
   constructor() {
-    const like_prop = [];
-    const props = ['course', 'title', 'type', 'time', 'number', 'is_use'];
+    const like_prop = ['title'];
+    const props = ['course', 'type', 'title', 'time', 'number', 'is_use'];
     const mapping = [];
     super({ like_prop, props, mapping });
   }