dbSession.commit();
String jsonOutput = ws.newGetRequest("api/projects", "provisioned")
- .setParam(Param.TEXT_QUERY, "provisioned-name-2")
+ .setParam(Param.TEXT_QUERY, "PROVISIONED-name-2")
.execute().outputAsString();
assertThat(jsonOutput)
and p.enabled=${_true}
and p.qualifier=#{qualifier}
and p.copy_resource_id is null
- <if test="query!=null">
and (
UPPER(p.name) like #{query}
or UPPER(p.kee) like #{query}
)
- </if>
</sql>
<select id="selectGhostProjects" parameterType="map" resultType="Component">
s2.id is null
and p.qualifier=#{qualifier}
and p.copy_resource_id is null
- <if test="query!=null">
and (
UPPER(p.name) like #{query}
or UPPER(p.kee) like #{query}
)
- </if>
</sql>
</mapper>