zhijiezhao hace 1 año
padre
commit
e10a747000
Se han modificado 1 ficheros con 1 adiciones y 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},