guhongwei 4 éve
szülő
commit
c9637d3a88
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      app/service/user.js

+ 1 - 0
app/service/user.js

@@ -155,6 +155,7 @@ class UserService extends CrudService {
   async finduserlist({ skip, limit, ...info }) {
   async finduserlist({ skip, limit, ...info }) {
     const query = {
     const query = {
       ...info,
       ...info,
+      isdel: 0,
       $or: [{ role: '4' }, { role: '5' }, { role: '6' }],
       $or: [{ role: '4' }, { role: '5' }, { role: '6' }],
     };
     };
     const total = await this.model.count(query);
     const total = await this.model.count(query);