|
|
@@ -519,6 +519,7 @@ module.exports = app => {
|
|
|
*/
|
|
|
async getAllTenderShenpiInfo(tenderIds) {
|
|
|
// const defaultInfo = await this.getDefaultInfo(tenderId);
|
|
|
+ if (!tenderIds || tenderIds.length === 0) return [];
|
|
|
const infos = await this.getAllDataByCondition({ columns: ['tid', 'shenpi'], where: { tid: tenderIds } });
|
|
|
const shenpiInfos = [];
|
|
|
if (!infos || infos.length === 0) return shenpiInfos;
|