zhijiezhao hai 1 ano
pai
achega
e10a747000
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/main/resources/mapper/ShopMapper.xml

+ 1 - 1
src/main/resources/mapper/ShopMapper.xml

@@ -332,7 +332,7 @@
          organizePercent,
          cmPercent)
         values (#{productId},
-                #{organizeId},
+                ifnull(#{organizeId},0),
                 #{normalPrice},
                 #{price},
                 #{costPrice},