Commit f816852ee91936e6d7152d3015b780d9f5405858
1 parent
9e00682b
feat 修复SQL
Showing
1 changed file
with
1 additions
and
1 deletions
etrade-shop/src/main/resources/com/diligrp/etrade/dao/mapper/ProductMapper.xml
@@ -158,7 +158,7 @@ | @@ -158,7 +158,7 @@ | ||
158 | update product | 158 | update product |
159 | SET modifier_id = #{modifierId}, | 159 | SET modifier_id = #{modifierId}, |
160 | <if test="categoryId != null"> | 160 | <if test="categoryId != null"> |
161 | - categoryId = #{categoryId}, | 161 | + category_id = #{categoryId}, |
162 | </if> | 162 | </if> |
163 | <if test="categoryIdPath != null"> | 163 | <if test="categoryIdPath != null"> |
164 | category_id_path = #{categoryIdPath}, | 164 | category_id_path = #{categoryIdPath}, |