Commit 771ad335 by linboxuan

ucommune-back operate api

parent 121f7e85
...@@ -87,7 +87,7 @@ class OrderInfoService extends ServiceBase { ...@@ -87,7 +87,7 @@ class OrderInfoService extends ServiceBase {
// 需求量 // 需求量
var needsCountList = await this.needInfoDao.customQuery(needsCountSql,paramWhere); var needsCountList = await this.needInfoDao.customQuery(needsCountSql,paramWhere);
var needsCount = needsCountList[0]["count"]; var needsCount = needsCountList[0]["count"];
if(needsCountList.length != 0) { if(needsCountList.length != 1) {
needsCount = 0; needsCount = 0;
} }
......
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