diff --git a/src/main/resources/mapper/ApiBasicManagementMapper.xml b/src/main/resources/mapper/ApiBasicManagementMapper.xml index 34e565ed5da7be7135d3d379da7434a7a51a7b6b..9cc41577aeb87e0fa003d36e7f4d07de2eefc69c 100644 --- a/src/main/resources/mapper/ApiBasicManagementMapper.xml +++ b/src/main/resources/mapper/ApiBasicManagementMapper.xml @@ -40,12 +40,12 @@ and api_unit = #{apiUnit} - - and api_name = #{apiName} - - - and api_code = #{apiCode} - + + + + + + and api_promotion = #{apiPromotion} @@ -59,8 +59,11 @@ and api_ctime <= #{endCTime} ]]> - - and api_name like CONCAT('%', #{keyword}::text,'%') + + and api_name like CONCAT('%', #{apiName}::text,'%') + + + and api_code like CONCAT('%', #{apiCode}::text,'%')