Authored by simba

增加作者

... ... @@ -18,45 +18,44 @@
### 对应SQL的操作库表
```
<insert id="insertSelective" parameterType="com.yohobuy.platform.dal.guang.model.Author" >
insert into author
<trim prefix="(" suffix=")" suffixOverrides="," >
<if test="uid != null" >
uid,
</if>
<if test="username != null" >
username,
</if>
<if test="avatar != null" >
avatar,
</if>
<if test="authorDesc != null" >
author_desc,
</if>
<if test="createTime != null" >
create_time,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides="," >
<if test="uid != null" >
#{uid,jdbcType=INTEGER},
</if>
<if test="username != null" >
#{username,jdbcType=VARCHAR},
</if>
<if test="avatar != null" >
#{avatar,jdbcType=VARCHAR},
</if>
<if test="authorDesc != null" >
#{authorDesc,jdbcType=VARCHAR},
</if>
<if test="createTime != null" >
#{createTime,jdbcType=INTEGER},
</if>
</trim>
</insert>
```
insert into author
<trim prefix="(" suffix=")" suffixOverrides="," >
<if test="uid != null" >
uid,
</if>
<if test="username != null" >
username,
</if>
<if test="avatar != null" >
avatar,
</if>
<if test="authorDesc != null" >
author_desc,
</if>
<if test="createTime != null" >
create_time,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides="," >
<if test="uid != null" >
#{uid,jdbcType=INTEGER},
</if>
<if test="username != null" >
#{username,jdbcType=VARCHAR},
</if>
<if test="avatar != null" >
#{avatar,jdbcType=VARCHAR},
</if>
<if test="authorDesc != null" >
#{authorDesc,jdbcType=VARCHAR},
</if>
<if test="createTime != null" >
#{createTime,jdbcType=INTEGER},
</if>
</trim>
</insert>
### 错误编码
... ...