Commit 9e00682b8d9262669b1ca1d693e7d281f636205e
1 parent
d6a93998
feat 修复sql
Showing
1 changed file
with
2 additions
and
2 deletions
etrade-shop/src/main/resources/com/diligrp/etrade/dao/mapper/ProductMapper.xml
... | ... | @@ -164,7 +164,7 @@ |
164 | 164 | category_id_path = #{categoryIdPath}, |
165 | 165 | </if> |
166 | 166 | <if test="categoryIdPathJson != null"> |
167 | - category_id_path_json = #{categoryIdPathJson}, | |
167 | + category_id_path_json = #{categoryIdPathJson,typeHandler=com.diligrp.etrade.core.mybatis.JsonArrayTypeHandler}, | |
168 | 168 | </if> |
169 | 169 | <if test="code != null"> |
170 | 170 | code = #{code}, |
... | ... | @@ -173,7 +173,7 @@ |
173 | 173 | name_path = #{namePath}, |
174 | 174 | </if> |
175 | 175 | <if test="namePathJson != null"> |
176 | - name_path_json = #{namePathJson}, | |
176 | + name_path_json = #{namePathJson,typeHandler=com.diligrp.etrade.core.mybatis.JsonArrayTypeHandler}, | |
177 | 177 | </if> |
178 | 178 | <if test="alias != null and alias != ''"> |
179 | 179 | alias = #{alias}, | ... | ... |