|
@@ -159,7 +159,7 @@ class PayCalculate {
|
|
yfPay.tp = 0;
|
|
yfPay.tp = 0;
|
|
for (const p of pays) {
|
|
for (const p of pays) {
|
|
if (p.ptype === payType.normal || p.ptype === payType.wc) {
|
|
if (p.ptype === payType.normal || p.ptype === payType.wc) {
|
|
- if (!p.pause && (!p.sprice || addRela.gather_tp > p.sprice)) {
|
|
|
|
|
|
+ if (!p.pause && (!p.sprice || addRela.gather_tp >= p.sprice)) {
|
|
if (p.expr && p.expr !== '') {
|
|
if (p.expr && p.expr !== '') {
|
|
const value = this.ctx.helper.round(this.calculateTpExpr(p, addRela), this.decimal);
|
|
const value = this.ctx.helper.round(this.calculateTpExpr(p, addRela), this.decimal);
|
|
if (p.rprice) {
|
|
if (p.rprice) {
|