zoujiajian преди 3 години
родител
ревизия
232f6a7434
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      netflix-dao/src/main/resources/mapper/CouponUserMapper.xml

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

@@ -196,6 +196,6 @@
               where channel = #{channel}
                 and user_id = #{userId}
                 and valid_end_time > #{now} limit 1) cu
-                 inner join coupon cp on cp.id = cu.coupon_id
+                 inner join coupon c on c.id = cu.coupon_id
     </select>
 </mapper>