Skip to content

Commit

Permalink
FIXME: duplicate MyBatis mapper fragment
Browse files Browse the repository at this point in the history
  • Loading branch information
pvannierop committed Jan 10, 2024
1 parent 4f55ee3 commit c8de3fa
Showing 1 changed file with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,14 @@
COUNT(CASE WHEN sample_list.STABLE_ID = CONCAT(cancer_study.CANCER_STUDY_IDENTIFIER,'_protein_quantification') THEN 1 ELSE NULL END) AS massSpectrometrySampleCount,
COUNT(CASE WHEN sample_list.STABLE_ID = CONCAT(cancer_study.CANCER_STUDY_IDENTIFIER,'_3way_complete') THEN 1 ELSE NULL END) AS completeSampleCount,
IFNULL(treatment.count, 0 ) as treatmentCount,
<include refid="org.cbioportal.persistence.mybatis.CancerTypeMapper.select">
<property name="prefix" value="typeOfCancer."/>
</include>
type_of_cancer.TYPE_OF_CANCER_ID AS "typeOfCancer.typeOfCancerId"
<if test="projection == 'SUMMARY' || projection == 'DETAILED'">
,
type_of_cancer.NAME AS "typeOfCancer.name",
type_of_cancer.DEDICATED_COLOR AS "typeOfCancer.dedicatedColor",
type_of_cancer.SHORT_NAME AS "typeOfCancer.shortName",
type_of_cancer.PARENT AS "typeOfCancer.parent"
</if>
</sql>

<sql id="from">
Expand Down

0 comments on commit c8de3fa

Please sign in to comment.