result not null
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
320ceb3e2c
commit
292898708b
|
@ -78,7 +78,7 @@ module.exports = Self => {
|
||||||
const [result] = await Self.rawSql(`SELECT vn.priceFixed_getRate2(?, ?) as rate2`,
|
const [result] = await Self.rawSql(`SELECT vn.priceFixed_getRate2(?, ?) as rate2`,
|
||||||
[args.id, args.rate3], myOptions);
|
[args.id, args.rate3], myOptions);
|
||||||
|
|
||||||
if (beforeFixedPrice.rate3 != args.rate3 && result.rate2)
|
if (beforeFixedPrice.rate3 != args.rate3 && result && result.rate2)
|
||||||
args.rate2 = result.rate2;
|
args.rate2 = result.rate2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue