diff --git a/springboot-freemarker/src/main/resources/application.properties b/springboot-freemarker/src/main/resources/application.properties index 48f9adb..ee82891 100644 --- a/springboot-freemarker/src/main/resources/application.properties +++ b/springboot-freemarker/src/main/resources/application.properties @@ -1,7 +1,7 @@ ## 数据源配置 spring.datasource.url=jdbc:mysql://127.0.0.1:3306/springbootdb?useUnicode=true&characterEncoding=utf8 spring.datasource.username=root -spring.datasource.password=XX +spring.datasource.password=123456 spring.datasource.driver-class-name=com.mysql.jdbc.Driver ## Mybatis 配置 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-properties/springboot-properties.iml b/springboot-properties/springboot-properties.iml deleted file mode 100644 index 33f8196..0000000 --- a/springboot-properties/springboot-properties.iml +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file 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