Skip to content

Commit

Permalink
bug: 在工作台删除某个插件后,无法重复创建同名插件 TencentBlueKing#1334
Browse files Browse the repository at this point in the history
  • Loading branch information
carlyin0801 committed Sep 10, 2020
1 parent 1ac8d72 commit 20d4537
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -726,13 +726,13 @@ abstract class MarketAtomServiceImpl @Autowired constructor() : MarketAtomServic
}
dslContext.transaction { t ->
val context = DSL.using(t)
marketAtomDao.deleteByAtomCode(context, atomCode)
storeCommonService.deleteStoreInfo(atomCode, StoreTypeEnum.ATOM.type.toByte())
atomApproveRelDao.deleteByAtomCode(context, atomCode)
marketAtomEnvInfoDao.deleteAtomEnvInfo(context, atomCode)
marketAtomFeatureDao.deleteAtomFeature(context, atomCode)
atomLabelRelDao.deleteByAtomCode(context, atomCode)
marketAtomVersionLogDao.deleteByAtomCode(context, atomCode)
storeCommonService.deleteStoreInfo(atomCode, StoreTypeEnum.ATOM.type.toByte())
marketAtomDao.deleteByAtomCode(context, atomCode)
}
return Result(true)
}
Expand Down

0 comments on commit 20d4537

Please sign in to comment.