Commit 6a097230982f982718eb8818eff0aeda21ceb18c
1 parent
a79c5a75
Exists in
master
bug 修复
Showing
2 changed files
with
4 additions
and
0 deletions
 
Show diff stats
src/main/resources/mapper/UniversityConsultMapper.xml
| @@ -153,6 +153,9 @@ | @@ -153,6 +153,9 @@ | ||
| 153 | <if test="sort != null"> | 153 | <if test="sort != null"> | 
| 154 | sort = #{sort,jdbcType=INTEGER}, | 154 | sort = #{sort,jdbcType=INTEGER}, | 
| 155 | </if> | 155 | </if> | 
| 156 | + <if test="status != null"> | ||
| 157 | + status = #{status}, | ||
| 158 | + </if> | ||
| 156 | </set> | 159 | </set> | 
| 157 | where id = #{id,jdbcType=INTEGER} | 160 | where id = #{id,jdbcType=INTEGER} | 
| 158 | </update> | 161 | </update> | 
src/main/resources/mapper/VideoMapper.xml
| @@ -15,6 +15,7 @@ | @@ -15,6 +15,7 @@ | ||
| 15 | <result column="logo_url" property="imgUrl" /> | 15 | <result column="logo_url" property="imgUrl" /> | 
| 16 | <result column="duration" property="duration" /> | 16 | <result column="duration" property="duration" /> | 
| 17 | <result column="cover_url" property="coverUrl" /> | 17 | <result column="cover_url" property="coverUrl" /> | 
| 18 | + <result column="video_name" property="videoName" /> | ||
| 18 | </resultMap> | 19 | </resultMap> | 
| 19 | 20 | ||
| 20 | <select id="getById" parameterType="java.lang.Integer" resultMap="VideoMap"> | 21 | <select id="getById" parameterType="java.lang.Integer" resultMap="VideoMap"> |