zoujiajian пре 2 година
родитељ
комит
02d4d56cd2
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      netflix-dao/src/main/resources/mapper/GoodsDonSkuMapper.xml

+ 1 - 1
netflix-dao/src/main/resources/mapper/GoodsDonSkuMapper.xml

@@ -45,7 +45,7 @@
         and status is true
         and (user_owns is null
         <if test="dsUserId != null">
-            or JSONS_CONTAIN(user_owns, '${dsUserId}')
+            or JSON_CONTAINS(user_owns, '${dsUserId}')
         </if>) order by price limit 1
     </select>
 </mapper>