Crunchy
2024-07-31 f07557c57e8c67a05b913011cc8df38d4523ee0e
cnas-server/src/main/resources/mapper/StructureItemParameterMapper.xml
@@ -44,6 +44,7 @@
        WHEN INSTR(sample, ',') > 0 THEN
        SUBSTRING_INDEX(SUBSTRING_INDEX(sample, '","', 1), '"', -1)
        when sample = '[""]' then null
        when sample = '[]' then null
        ELSE
        TRIM(BOTH '["]' FROM SUBSTRING_INDEX(REPLACE(sample, '[["', ''), '"]]', 1))
        END AS samples