Commit 20d08579 by 宋毅

tj

parent d24012f2
......@@ -611,7 +611,7 @@ class OrderTmProductService extends ServiceBase {
return system.getResultSuccess(null, "暂无数据");
}
var result = system.getResultSuccess(tmpResult);
result.dataCount = tmpResultCount && tmpResultCount.dataCount ? tmpResultCount.dataCount : 0;
result.dataCount = tmpResultCount && tmpResultCount.length > 0 ? tmpResultCount[0].dataCount : 0;
return result;
}
/**
......
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