Commit 87841ae4 authored by 郭凡凡's avatar 郭凡凡

更新

parent 5acf550b
......@@ -40,12 +40,12 @@
<if test="apiUnit !=null and apiUnit!=''">
and api_unit = #{apiUnit}
</if>
<if test="apiName !=null and apiName!=''">
and api_name = #{apiName}
</if>
<if test="apiCode !=null and apiCode!=''">
and api_code = #{apiCode}
</if>
<!-- <if test="apiName !=null and apiName!=''">-->
<!-- and api_name = #{apiName}-->
<!-- </if>-->
<!-- <if test="apiCode !=null and apiCode!=''">-->
<!-- and api_code = #{apiCode}-->
<!-- </if>-->
<if test="apiPromotion !=null and apiPromotion!=''">
and api_promotion = #{apiPromotion}
</if>
......@@ -59,8 +59,11 @@
and api_ctime <= #{endCTime}
]]>
</if>
<if test="keyword !=null and keyword != '' ">
and api_name like CONCAT('%', #{keyword}::text,'%')
<if test="apiName !=null and apiName != '' ">
and api_name like CONCAT('%', #{apiName}::text,'%')
</if>
<if test="apiCode !=null and apiCode != '' ">
and api_code like CONCAT('%', #{apiCode}::text,'%')
</if>
</where>
</select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment