浏览代码

修改标题模糊查询

zs 11 月之前
父节点
当前提交
c47679edb5
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 2 2
      src/interface/core/course.interface.ts
  2. 2 2
      src/interface/core/video.interface.ts

+ 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 });
   }