From 3b90b725cfd8b35497bd1d825016d0835a35eca3 Mon Sep 17 00:00:00 2001 From: cqf <584883665@139.com> Date: Sun, 6 Mar 2022 09:58:07 +0000 Subject: [PATCH] =?UTF-8?q?add=20api-admin/src/main/resources/mybatis/mapp?= =?UTF-8?q?er/auth/AuthLicenseDao.xml.=20=E5=B9=B3=E5=8F=B0=E6=8E=88?= =?UTF-8?q?=E6=9D=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mybatis/mapper/auth/AuthLicenseDao.xml | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 api-admin/src/main/resources/mybatis/mapper/auth/AuthLicenseDao.xml diff --git a/api-admin/src/main/resources/mybatis/mapper/auth/AuthLicenseDao.xml b/api-admin/src/main/resources/mybatis/mapper/auth/AuthLicenseDao.xml new file mode 100644 index 0000000..fa9595e --- /dev/null +++ b/api-admin/src/main/resources/mybatis/mapper/auth/AuthLicenseDao.xml @@ -0,0 +1,32 @@ + + + + + + + INSERT INTO auth_license(id,appid,name,api_key,secret_key,create_date) + values + (#{id},#{appid},#{name,jdbcType=VARCHAR},#{apiKey,jdbcType=VARCHAR},#{secretKey,jdbcType=VARCHAR},#{createDate,jdbcType=TIMESTAMP}) + + + + UPDATE auth_license + + appid=#{appid}, + name=#{name}, + api_Key=#{apiKey}, + secret_Key=#{secretKey}, + create_Date=#{createDate} + + WHERE id=#{id} + + + + delete + from auth_license + where id = #{id} + + \ No newline at end of file