正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -28,7 +28,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | @@ -28,7 +28,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | ||
| 28 | AND phone like concat('%', #{phone}, '%') | 28 | AND phone like concat('%', #{phone}, '%') |
| 29 | </if> | 29 | </if> |
| 30 | </where> | 30 | </where> |
| 31 | - order by `sort` desc | 31 | + order by `sort` desc,create_time desc |
| 32 | </select> | 32 | </select> |
| 33 | 33 | ||
| 34 | <select id="selectContentGroupManagementById" parameterType="Integer" resultMap="ContentGroupManagementResult"> | 34 | <select id="selectContentGroupManagementById" parameterType="Integer" resultMap="ContentGroupManagementResult"> |
| @@ -36,7 +36,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | @@ -36,7 +36,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | ||
| 36 | where id = #{id} | 36 | where id = #{id} |
| 37 | </select> | 37 | </select> |
| 38 | 38 | ||
| 39 | - <insert id="insertContentGroupManagement" parameterType="ContentGroupManagement" useGeneratedKeys="true" keyProperty="id"> | 39 | + <insert id="insertContentGtroupManagement" parameterType="ContentGroupManagement" useGeneratedKeys="true" keyProperty="id"> |
| 40 | insert into content_group_management | 40 | insert into content_group_management |
| 41 | <trim prefix="(" suffix=")" suffixOverrides=","> | 41 | <trim prefix="(" suffix=")" suffixOverrides=","> |
| 42 | <if test="content != null and content != ''">content,</if> | 42 | <if test="content != null and content != ''">content,</if> |
-
请 注册 或 登录 后发表评论