zhijiezhao 3 years ago
parent
commit
d82c7e2d4f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/resources/mapper/SubmitMapper.xml

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

@@ -185,7 +185,7 @@
                p.mainImage        AS image,
                p.price1           AS price,
                p.costPrice,
-               p.costCheckFlag,
+               IFNULL(p.costCheckFlag, 1) AS costCheckFlag,
                p.costProportional,
                p.productCategory,
                p.ladderPriceFlag,