|
@@ -49,6 +49,7 @@
|
|
|
<result column="nodeType" property="nodeType"/>
|
|
|
<result column="evaluate" property="evaluate"/>
|
|
|
<result column="queryType" property="queryType"/>
|
|
|
+ <result column="isExperiment" property="isExperiment"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<resultMap id="queryContractTreeMap" type="org.springblade.manager.vo.WbsTreeContractTreeVOS">
|
|
@@ -285,7 +286,9 @@
|
|
|
and tc.contract_id = wtc.contract_id
|
|
|
and NOT EXISTS (select 1 from u_information_query as q where iq.id = q.id and q.status > iq.status) LIMIT 1
|
|
|
) AS evaluate,
|
|
|
- uiq.type AS queryType
|
|
|
+ uiq.type AS queryType,
|
|
|
+ case WHEN uiq.pdf_trial_url is null then 'false'
|
|
|
+ ELSE 'true' end AS isExperiment
|
|
|
FROM
|
|
|
m_wbs_tree_contract AS wtc
|
|
|
LEFT JOIN u_information_query AS uiq ON wtc.p_key_id = uiq.wbs_id AND uiq.classify = #{classify} and uiq.is_deleted = 0
|
|
@@ -560,7 +563,9 @@
|
|
|
wtc.parent_id AS parentId,
|
|
|
uiq.id AS informationQueryId,
|
|
|
IFNULL(uiq.status,0) AS status,
|
|
|
- uiq.type AS queryType
|
|
|
+ uiq.type AS queryType,
|
|
|
+ case WHEN uiq.pdf_trial_url is null then 'false'
|
|
|
+ ELSE 'true' end AS isExperiment
|
|
|
FROM
|
|
|
m_wbs_tree_contract AS wtc
|
|
|
LEFT JOIN u_information_query AS uiq ON wtc.p_key_id = uiq.wbs_id AND uiq.classify = #{classify} and uiq.is_deleted = 0
|