Skip to content

Commit

Permalink
Fix latest registration information of auto analysis result
Browse files Browse the repository at this point in the history
  • Loading branch information
FOSSLight-dev committed Oct 6, 2023
1 parent 005eb14 commit 01f8122
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/resources/oss/fosslight/repository/OssMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2005,6 +2005,7 @@
<select id="getNewestOssInfo" parameterType="oss.fosslight.domain.OssAnalysis" resultType="oss.fosslight.domain.OssAnalysis">
SELECT #{groupId} AS GROUP_ID
, A.OSS_NAME
, A.OSS_VERSION
, (SELECT GROUP_CONCAT(OSS_NICKNAME) FROM OSS_NICKNAME WHERE A.OSS_NAME = OSS_NAME) AS OSS_NICK_NAME
, (SELECT TRIM(GROUP_CONCAT(CONCAT(OSS_LICENSE_COMB, ' ', IF(SHORT_IDENTIFIER = '' OR SHORT_IDENTIFIER IS NULL, LICENSE_NAME, SHORT_IDENTIFIER), ' ') ORDER BY OSS_LICENSE_IDX ASC SEPARATOR ''))
FROM OSS_LICENSE_DECLARED OL
Expand Down

0 comments on commit 01f8122

Please sign in to comment.