From 87841ae4ca81c8a08fcbd5f4080febd1a2e8adc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=AD=E5=87=A1=E5=87=A1?= Date: Wed, 30 Mar 2022 20:30:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/ApiBasicManagementMapper.xml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/src/main/resources/mapper/ApiBasicManagementMapper.xml b/src/main/resources/mapper/ApiBasicManagementMapper.xml index 34e565e..9cc4157 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,'%') -- 2.26.0