Authored by simba

修改资讯分类资源

... ... @@ -19,32 +19,32 @@
### 对应SQL的操作库表
```
<update id="updateByPrimaryKeySelective" parameterType="com.yohobuy.platform.dal.guang.model.ArticleSort">
update article_sort
<set>
<if test="parentId > 0 or parentId = 0 ">
parent_id = #{parentId,jdbcType=INTEGER},
</if>
<if test="name != null">
name = #{name,jdbcType=VARCHAR},
</if>
<if test="status != null">
status = #{status,jdbcType=TINYINT},
</if>
<if test="orderBy != null">
order_by = #{orderBy,jdbcType=TINYINT},
</if>
<if test="advertCode != null">
advert_code = #{advertCode,jdbcType=VARCHAR},
</if>
<if test="createTime != null">
create_time = #{createTime,jdbcType=INTEGER},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
</update>
```
update article_sort
<set>
<if test="parentId > 0 or parentId = 0 ">
parent_id = #{parentId,jdbcType=INTEGER},
</if>
<if test="name != null">
name = #{name,jdbcType=VARCHAR},
</if>
<if test="status != null">
status = #{status,jdbcType=TINYINT},
</if>
<if test="orderBy != null">
order_by = #{orderBy,jdbcType=TINYINT},
</if>
<if test="advertCode != null">
advert_code = #{advertCode,jdbcType=VARCHAR},
</if>
<if test="createTime != null">
create_time = #{createTime,jdbcType=INTEGER},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
</update>
### 错误编码
... ...