|
@@ -16,7 +16,7 @@
|
|
|
where id = #{id}
|
|
|
</select>
|
|
|
<select id="getProjectList" resultType="org.springblade.control.vo.ControlProjectInfoVO">
|
|
|
- select cpi.name,
|
|
|
+ select cpi.id,cpi.name,
|
|
|
(select dict_name from c_dict_info WHERE code = 'project_type' AND dict_value = cpi.project_type) as projectTypeValue,
|
|
|
(select dict_name from c_dict_info WHERE code = 'contract_type' AND dict_value= cci.contract_type) as contractTypeValue
|
|
|
from c_control_project_info cpi left join c_control_contract_info cci on cpi.id = cci.project_id
|