|
@ -34,10 +34,13 @@ async function bindAnxin2pep (ctx) { |
|
|
let lockAppData = [] |
|
|
let lockAppData = [] |
|
|
|
|
|
|
|
|
if (bindId_) { |
|
|
if (bindId_) { |
|
|
|
|
|
// 修改
|
|
|
if (!existRes) { |
|
|
if (!existRes) { |
|
|
throw '尚无已绑定的项企项目' |
|
|
throw '尚无已绑定的项企项目' |
|
|
} |
|
|
} |
|
|
// 修改
|
|
|
if (name) { |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
await models.ProjectCorrelation.update(storageData, { |
|
|
await models.ProjectCorrelation.update(storageData, { |
|
|
where: { |
|
|
where: { |
|
|
pepProjectId: pepProjectId |
|
|
pepProjectId: pepProjectId |
|
|