|
@@ -2109,7 +2109,7 @@ module.exports = app => {
|
|
|
const nullList = this._.filter(changeList, function(item) {
|
|
|
return !item.name;
|
|
|
});
|
|
|
- if (nullList.length > 0) continue;
|
|
|
+ if (changeList.length === 0 || nullList.length > 0) continue;
|
|
|
// 判断是否需要更新auditList
|
|
|
const auditList = await this.ctx.service.changeAudit.getAllDataByCondition({ where: { cid: l.cid, times: l.times }, orders: [['usite', 'asc']] });
|
|
|
auditList.shift();
|