Commit 73a7325b authored by diaoruifeng's avatar diaoruifeng
parents bb37a699 0e3aa836
...@@ -40,12 +40,12 @@ ...@@ -40,12 +40,12 @@
<if test="apiUnit !=null and apiUnit!=''"> <if test="apiUnit !=null and apiUnit!=''">
and api_unit = #{apiUnit} and api_unit = #{apiUnit}
</if> </if>
<if test="apiName !=null and apiName!=''"> <!-- <if test="apiName !=null and apiName!=''">-->
and api_name = #{apiName} <!-- and api_name = #{apiName}-->
</if> <!-- </if>-->
<if test="apiCode !=null and apiCode!=''"> <!-- <if test="apiCode !=null and apiCode!=''">-->
and api_code = #{apiCode} <!-- and api_code = #{apiCode}-->
</if> <!-- </if>-->
<if test="apiPromotion !=null and apiPromotion!=''"> <if test="apiPromotion !=null and apiPromotion!=''">
and api_promotion = #{apiPromotion} and api_promotion = #{apiPromotion}
</if> </if>
...@@ -59,8 +59,11 @@ ...@@ -59,8 +59,11 @@
and api_ctime <= #{endCTime} and api_ctime <= #{endCTime}
]]> ]]>
</if> </if>
<if test="keyword !=null and keyword != '' "> <if test="apiName !=null and apiName != '' ">
and api_name like CONCAT('%', #{keyword}::text,'%') and api_name like CONCAT('%', #{apiName}::text,'%')
</if>
<if test="apiCode !=null and apiCode != '' ">
and api_code like CONCAT('%', #{apiCode}::text,'%')
</if> </if>
</where> </where>
</select> </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