Browse Source

模糊查询

zs 1 year ago
parent
commit
bc42b11e23

+ 1 - 1
src/interface/admin.interface.ts

@@ -24,7 +24,7 @@ export class FVO_admin {
 
 export class QDTO_admin extends SearchBase {
   constructor() {
-    const like_prop = [];
+    const like_prop = ['name'];
     const props = ['account', 'name'];
     const mapping = [];
     super({ like_prop, props, mapping });

+ 1 - 1
src/interface/application.interface.ts

@@ -36,7 +36,7 @@ export class FVO_application {
 
 export class QDTO_application extends SearchBase {
   constructor() {
-    const like_prop = [];
+    const like_prop = ['match_name', 'team_name'];
     const props = [
       'match_id',
       'match_name',

+ 1 - 1
src/interface/match.interface.ts

@@ -32,7 +32,7 @@ export class FVO_match {
 
 export class QDTO_match extends SearchBase {
   constructor() {
-    const like_prop = [];
+    const like_prop = ['name'];
     const props = ['name', 'start_time', 'end_time', 'status'];
     const mapping = [];
     super({ like_prop, props, mapping });

+ 1 - 1
src/interface/team.interface.ts

@@ -36,7 +36,7 @@ export class FVO_team {
 
 export class QDTO_team extends SearchBase {
   constructor() {
-    const like_prop = [];
+    const like_prop = ['name'];
     const props = [
       'administrator',
       'name',

+ 1 - 1
src/interface/teamApply.interface.ts

@@ -30,7 +30,7 @@ export class FVO_teamApply {
 
 export class QDTO_teamApply extends SearchBase {
   constructor() {
-    const like_prop = [];
+    const like_prop = ['team_name'];
     const props = ['team_id', 'team_name', 'apply_id', 'apply_name', 'status'];
     const mapping = [];
     super({ like_prop, props, mapping });

+ 1 - 1
src/interface/user.interface.ts

@@ -42,7 +42,7 @@ export class FVO_user {
 
 export class QDTO_user extends SearchBase {
   constructor() {
-    const like_prop = [];
+    const like_prop = ['name'];
     const props = [
       'openid',
       'type',