File tree Expand file tree Collapse file tree 1 file changed +24
-5
lines changed
src/main/resources/mapper Expand file tree Collapse file tree 1 file changed +24
-5
lines changed Original file line number Diff line number Diff line change 110110 </delete >
111111
112112 <select id =" queryAppById" resultType =" io.choerodon.devops.api.vo.host.DevopsHostAppVO" >
113- select dha.*,
114- dh.name as host_name
115- from devops_host_app dha
116- left join devops_host dh ON dh.id = dha.host_id
117- where dha.id = #{id}
113+ SELECT dha.id,
114+ dha.project_id,
115+ dha.host_id,
116+ dha.name,
117+ dha.code,
118+ dha.operation_type,
119+ dha.rdupm_type,
120+ dha.object_version_number,
121+ dha.created_by,
122+ dha.creation_date,
123+ dha.last_updated_by,
124+ dha.last_update_date,
125+ dha.effect_value_id,
126+ dhai.pre_command,
127+ dhai.run_command,
128+ dhai.post_command,
129+ dhai.kill_command,
130+ dhai.health_prob,
131+ dhai.ready,
132+ dh.name AS host_name
133+ FROM devops_host_app dha
134+ JOIN devops_host dh ON dh.id = dha.host_id
135+ LEFT JOIN devops_host_app_instance dhai ON dhai.app_id = dha.id
136+ WHERE dha.id = #{id}
118137 </select >
119138 <select id =" listOwnedByOptions" resultType =" io.choerodon.devops.api.vo.host.DevopsHostAppVO" >
120139 SELECT
You can’t perform that action at this time.
0 commit comments