fix【资源库】 修复一个bug
This commit is contained in:
parent
aa593e1583
commit
7b3023c56e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue