zoujiajian 2 years ago
parent
commit
02d4d56cd2
1 changed files with 1 additions and 1 deletions
  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 status is true
         and (user_owns is null
         and (user_owns is null
         <if test="dsUserId != null">
         <if test="dsUserId != null">
-            or JSONS_CONTAIN(user_owns, '${dsUserId}')
+            or JSON_CONTAINS(user_owns, '${dsUserId}')
         </if>) order by price limit 1
         </if>) order by price limit 1
     </select>
     </select>
 </mapper>
 </mapper>