From e2e55ec07ba797a4ae736fce9ede17d921aac79e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?zhaobing=E2=80=99?= Date: Tue, 17 Oct 2023 16:35:02 +0800 Subject: [PATCH] feat:fix bugs --- api/app/lib/controllers/project/bind.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/app/lib/controllers/project/bind.js b/api/app/lib/controllers/project/bind.js index d2f81dd..aad724c 100644 --- a/api/app/lib/controllers/project/bind.js +++ b/api/app/lib/controllers/project/bind.js @@ -19,8 +19,8 @@ async function bindAnxin2pep (ctx) { name, pepProjectId, anxinProjectId, updateTime: now, mappingClass, del: false, - maintenanceEnd:maintenancePeriod&&maintenancePeriod.length?maintenancePeriod[1]:'', - maintenanceStart:maintenancePeriod&&maintenancePeriod.length?maintenancePeriod[0]:'' + maintenanceEnd:maintenancePeriod&&maintenancePeriod.length?maintenancePeriod[1]:NULL, + maintenanceStart:maintenancePeriod&&maintenancePeriod.length?maintenancePeriod[0]:NULL } // 仅限已有 pepProjectId 的项目