Authored by qinchao

pch5 az2 自动切换环境准备

... ... @@ -65,7 +65,7 @@
from build_process_history
where currentStatus=2 and currentProject= #{currentProject}
<if test="environment != null &amp;&amp; environment != ''" >
and environment like concat(#{environment},'%')
and environment like concat('%',#{environment},'%')
</if>
order by create_time desc,id desc
limit 1
... ...