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 | 158 | update product |
159 | 159 | SET modifier_id = #{modifierId}, |
160 | 160 | <if test="categoryId != null"> |
161 | - categoryId = #{categoryId}, | |
161 | + category_id = #{categoryId}, | |
162 | 162 | </if> |
163 | 163 | <if test="categoryIdPath != null"> |
164 | 164 | category_id_path = #{categoryIdPath}, | ... | ... |