明树Git Lab

Commit 6e9d6834 authored by zfp1's avatar zfp1

1

parent 943135f6
Pipeline #111930 passed with stage
in 3 seconds
...@@ -1627,8 +1627,8 @@ async function updateSnap(req, res, next) { ...@@ -1627,8 +1627,8 @@ async function updateSnap(req, res, next) {
if(juece && juece.id) { if(juece && juece.id) {
await ProjectLixiang.update({juece}, {where: {projectId: juece.id}}); await ProjectLixiang.update({juece}, {where: {projectId: juece.id}});
} }
if(lixiang.id && juece.id) { if(zaijuece && zaijuece.id) {
await ProjectLixiang.update({lixiang, juece}, {where: {projectId: lixiang.id}}); await ProjectLixiang.update({zaijuece}, {where: {projectId: zaijuece.id}});
} }
return res.sendData({}) return res.sendData({})
} catch (error) { } catch (error) {
......
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