Browse Source

feat:fix bugs

dev
zhaobing’ 1 year ago
parent
commit
85555daac1
  1. 2
      api/app/lib/schedule/workOrder.js

2
api/app/lib/schedule/workOrder.js

@ -79,7 +79,7 @@ module.exports = function (app, opts,ctx) {
})
const res=await models.Workorder.create({
projectId:parseData.pomsProjectId.value || null,
formname:procinstsVariables.find(item=>item.id===f.procinstId).name||null,
formname:procinstsVariables.body.find(item=>item.id===f.procinstId).name||null,
state: f.state||null,
endTime:f.endTime||null,
startTime:f.createTime||null

Loading…
Cancel
Save