From e62ebc3db2a7730da86da35e9fec3ce96ac2b392 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E9=9C=B2=E7=A4=BC?= Date: Wed, 10 Apr 2019 21:18:39 +0800 Subject: [PATCH] replace parameterMap with parameterType --- .../src/main/resources/mapper/CityMapper.xml | 6 ++---- .../src/main/resources/mapper/cluster/CityMapper.xml | 2 -- .../src/main/resources/mapper/master/UserMapper.xml | 2 -- .../src/main/resources/mapper/CityMapper.xml | 6 ++---- springboot-mybatis/src/main/resources/mapper/CityMapper.xml | 2 -- springboot-restful/src/main/resources/mapper/CityMapper.xml | 6 ++---- 6 files changed, 6 insertions(+), 18 deletions(-) diff --git a/springboot-freemarker/src/main/resources/mapper/CityMapper.xml b/springboot-freemarker/src/main/resources/mapper/CityMapper.xml index 1855f82..f720f32 100644 --- a/springboot-freemarker/src/main/resources/mapper/CityMapper.xml +++ b/springboot-freemarker/src/main/resources/mapper/CityMapper.xml @@ -8,8 +8,6 @@ - - id, province_id, city_name, description @@ -27,14 +25,14 @@ from city - + insert into city(id,province_id,city_name,description) values (#{id},#{provinceId},#{cityName},#{description}) - + update city set diff --git a/springboot-mybatis-mutil-datasource/src/main/resources/mapper/cluster/CityMapper.xml b/springboot-mybatis-mutil-datasource/src/main/resources/mapper/cluster/CityMapper.xml index 6b35457..13ce8f3 100644 --- a/springboot-mybatis-mutil-datasource/src/main/resources/mapper/cluster/CityMapper.xml +++ b/springboot-mybatis-mutil-datasource/src/main/resources/mapper/cluster/CityMapper.xml @@ -8,8 +8,6 @@ - - id, province_id, city_name, description diff --git a/springboot-mybatis-mutil-datasource/src/main/resources/mapper/master/UserMapper.xml b/springboot-mybatis-mutil-datasource/src/main/resources/mapper/master/UserMapper.xml index 9f21ced..833ae1a 100644 --- a/springboot-mybatis-mutil-datasource/src/main/resources/mapper/master/UserMapper.xml +++ b/springboot-mybatis-mutil-datasource/src/main/resources/mapper/master/UserMapper.xml @@ -7,8 +7,6 @@ - - id, user_name, description diff --git a/springboot-mybatis-redis/src/main/resources/mapper/CityMapper.xml b/springboot-mybatis-redis/src/main/resources/mapper/CityMapper.xml index 47528bf..13bae45 100644 --- a/springboot-mybatis-redis/src/main/resources/mapper/CityMapper.xml +++ b/springboot-mybatis-redis/src/main/resources/mapper/CityMapper.xml @@ -8,8 +8,6 @@ - - id, province_id, city_name, description @@ -27,14 +25,14 @@ from city - + insert into city(id,province_id,city_name,description) values (#{id},#{provinceId},#{cityName},#{description}) - + update city set diff --git a/springboot-mybatis/src/main/resources/mapper/CityMapper.xml b/springboot-mybatis/src/main/resources/mapper/CityMapper.xml index 82a07d1..8ebf724 100644 --- a/springboot-mybatis/src/main/resources/mapper/CityMapper.xml +++ b/springboot-mybatis/src/main/resources/mapper/CityMapper.xml @@ -8,8 +8,6 @@ - - id, province_id, city_name, description diff --git a/springboot-restful/src/main/resources/mapper/CityMapper.xml b/springboot-restful/src/main/resources/mapper/CityMapper.xml index 1855f82..f720f32 100644 --- a/springboot-restful/src/main/resources/mapper/CityMapper.xml +++ b/springboot-restful/src/main/resources/mapper/CityMapper.xml @@ -8,8 +8,6 @@ - - id, province_id, city_name, description @@ -27,14 +25,14 @@ from city - + insert into city(id,province_id,city_name,description) values (#{id},#{provinceId},#{cityName},#{description}) - + update city set