Commit a58ae16a authored by yaobaizheng's avatar yaobaizheng

添加redis,修改功能行错误

parent 57a867f3
...@@ -3,7 +3,7 @@ spring: ...@@ -3,7 +3,7 @@ spring:
redis: redis:
host: r-2zekq6swp5wr808a3lpd.redis.rds.aliyuncs.com host: r-2zekq6swp5wr808a3lpd.redis.rds.aliyuncs.com
port: 6379 port: 6379
password: "techbook4redis#&20190909" password: techbook4redis#&20190909
timeout: 20000 timeout: 20000
database: 3 database: 3
datasource: datasource:
......
...@@ -221,8 +221,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -221,8 +221,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="fireResistant != null">fire_resistant = #{fireResistant},</if> <if test="fireResistant != null">fire_resistant = #{fireResistant},</if>
<if test="imgUrl != null">img_url = #{imgUrl},</if> <if test="imgUrl != null">img_url = #{imgUrl},</if>
<if test="weight != null">weight = #{weight},</if> <if test="weight != null">weight = #{weight},</if>
<if test="sort != null">sort = #{sort},</if> sort = #{sort},
<if test="sortPark != null">sort_park = #{sortPark},</if> sort_park = #{sortPark}
</trim> </trim>
where id = #{id} where id = #{id}
</update> </update>
......
...@@ -607,7 +607,7 @@ ...@@ -607,7 +607,7 @@
<if test="isSuper != null">is_super = #{isSuper},</if> <if test="isSuper != null">is_super = #{isSuper},</if>
<if test="longitude != null">longitude = #{longitude},</if> <if test="longitude != null">longitude = #{longitude},</if>
<if test="latitude != null">latitude = #{latitude},</if> <if test="latitude != null">latitude = #{latitude},</if>
<if test="sort != null">sort = #{sort},</if> sort = #{sort}
</trim> </trim>
where id = #{id} where id = #{id}
</update> </update>
......
...@@ -219,8 +219,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -219,8 +219,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="createTime != null">create_time = #{createTime},</if> <if test="createTime != null">create_time = #{createTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if> <if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if> <if test="updateTime != null">update_time = #{updateTime},</if>
<if test="sortDevelopment != null">sort_development = #{sortDevelopment},</if> sort_development = #{sortDevelopment},
<if test="sort != null">sort = #{sort},</if> sort = #{sort}
</trim> </trim>
where id = #{id} where id = #{id}
</update> </update>
......
...@@ -74,7 +74,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -74,7 +74,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="content != null">content = #{content},</if> <if test="content != null">content = #{content},</if>
<if test="url != null">url = #{url},</if> <if test="url != null">url = #{url},</if>
<if test="status != null">status = #{status},</if> <if test="status != null">status = #{status},</if>
<if test="type != null">status = #{type},</if> <if test="type != null"> type = #{type},</if>
<if test="createTime != null">create_time = #{createTime},</if> <if test="createTime != null">create_time = #{createTime},</if>
<if test="createBy != null">create_by = #{createBy},</if> <if test="createBy != null">create_by = #{createBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if> <if test="updateTime != null">update_time = #{updateTime},</if>
......
...@@ -523,8 +523,8 @@ ...@@ -523,8 +523,8 @@
<if test="reason != null">reason = #{reason},</if> <if test="reason != null">reason = #{reason},</if>
<if test="longitude != null">longitude = #{longitude},</if> <if test="longitude != null">longitude = #{longitude},</if>
<if test="latitude != null">latitude = #{latitude},</if> <if test="latitude != null">latitude = #{latitude},</if>
<if test="sort != null">sort = #{sort},</if> sort = #{sort},
<if test="sortDevelopment != null">sort_development = #{sortDevelopment},</if> sort_development = #{sortDevelopment}
</trim> </trim>
where id = #{id} where id = #{id}
</update> </update>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment