Commit 9ab878d1 by linboxuan

update receiveSolutionPayInfo

parent 11977b6a
......@@ -484,7 +484,6 @@ class NeedsolutionService extends ServiceBase {
if (ab.orderPrice) {
// solutionContent = JSON.parse(solutionContent);
solutionContent["totalSum"] = Number(ab.orderPrice || "0");
needsolutioninfo.solutionContent = JSON.stringify(solutionContent);
}
if (ab.status) {
needsolutioninfo.status = "ywc";
......@@ -492,6 +491,7 @@ class NeedsolutionService extends ServiceBase {
if (ab.orderNo) {
needsolutioninfo.orderNo = ab.orderNo;
}
needsolutioninfo.solutionContent = JSON.stringify(solutionContent);
await this.dao.update(needsolutioninfo);
var ns = await this.dao.model.findOne({
where: { id: needsolutioninfo.id }, raw: true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment