|
@@ -235,13 +235,11 @@ module.exports = app => {
|
|
|
? sp.start_stage_order
|
|
|
: (this.ctx.helper.checkZero(sp.tp) ? null : stage.order),
|
|
|
});
|
|
|
- if (stage.order === 1 || sp.csorder >= stage.order) {
|
|
|
- srUpdate.push({
|
|
|
- id: sp.pid,
|
|
|
- sprice: sp.sprice,
|
|
|
- rprice: sp.rprice,
|
|
|
- });
|
|
|
- }
|
|
|
+ srUpdate.push({
|
|
|
+ id: sp.pid,
|
|
|
+ sprice: sp.sprice,
|
|
|
+ rprice: sp.rprice,
|
|
|
+ });
|
|
|
}
|
|
|
await transaction.updateRows(this.tableName, update);
|
|
|
if (srUpdate.length > 0) {
|