fix【资源库】 修复一个bug

This commit is contained in:
刘华中 2025-06-20 16:34:09 +08:00
parent aa593e1583
commit 7b3023c56e
1 changed files with 1 additions and 1 deletions

View File

@ -371,7 +371,7 @@
<select id="selectProjectInfos" resultType="com.microservices.dms.achievementLibrary.domain.TokenListVo"> <select id="selectProjectInfos" resultType="com.microservices.dms.achievementLibrary.domain.TokenListVo">
select p.id, p.name, created_on createdOn, r.identifier repositoryName, r.id as repositoryId,p.user_id as "userId", select p.id, p.name, created_on createdOn, r.identifier repositoryName, r.id as repositoryId,p.user_id as "userId",
(select IFNULL(users.nickname,login) from users where id = p.user_id) as createBy (select IFNULL(NULLIF(nickname,''),login) from users where id = p.user_id) as createBy
from projects p from projects p
join repositories r on p.id = r.project_id join repositories r on p.id = r.project_id
where p.use_blockchain = 1 where p.use_blockchain = 1