|
@@ -542,7 +542,7 @@ module.exports = app => {
|
|
|
for (const [i, role] of validRole.entries()) {
|
|
|
if (i < validRole.length - 1) {
|
|
|
const stagePays = this.ctx.helper._.filter(allStagePays, function (x) {
|
|
|
- return x.times === stage.curTimes && x.order === role.dataOrder;
|
|
|
+ return x.stimes === stage.curTimes && x.sorder === role.dataOrder;
|
|
|
});
|
|
|
this.ctx.helper._.pullAll(allStagePays, stagePays);
|
|
|
|
|
@@ -559,7 +559,6 @@ module.exports = app => {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
return dealPay;
|
|
|
}
|
|
|
|