Commit 780c53f0 by v_vjyjiang

d

parent 7bda6240
...@@ -8,14 +8,14 @@ class CompanyService extends ServiceBase { ...@@ -8,14 +8,14 @@ class CompanyService extends ServiceBase {
async getMyApps (appids, isSuper) { async getMyApps (appids, isSuper) {
let appsrtn = null let appsrtn = null
if (isSuper) { if (isSuper) {
appsrtn = this.db.models.app.findAll({ appsrtn = await this.db.models.app.findAll({
where: where:
{ {
id: { [this.db.Op.ne]: settings.pmappid } id: { [this.db.Op.ne]: settings.pmappid }
} }
}) })
} else { } else {
appsrtn = this.db.models.app.findAll({ appsrtn = await this.db.models.app.findAll({
where: where:
{ {
id: { [this.db.Op.in]: appids } id: { [this.db.Op.in]: appids }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment